Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(platform): Add multi-wallet selection support to authz screen #2322

Merged

Conversation

poolsar42
Copy link
Collaborator

Description

Injects "Dropdown" component into Authz screen with generic dropdown for sc_wallets emails and connected accounts.
Updates the same component for email selection in console

Related Issues

Testing

Manually going to all mentioned routes (authz screen, teams in console)

Checklist

  • I have read the CONTRIBUTING guidelines
  • I have tested my code (manually and/or automated if applicable)
  • I have updated the documentation (if necessary)

@poolsar42 poolsar42 self-assigned this May 24, 2023
@poolsar42 poolsar42 force-pushed the chore/2218-platform-multiselect-authz-screen-support branch from e4b5a61 to 04adc1c Compare May 25, 2023 18:50
@poolsar42 poolsar42 marked this pull request as ready for review May 26, 2023 17:22

}

export const modifyType = (string: string) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name this something a lot more descriptive. Seems like it's doing a very small thing, yet it has a very generic name.

@@ -88,7 +85,11 @@ export const getDataForScopes = async (
const addressClient = getAddressClient(ca.baseUrn, env, traceSpan)
return addressClient.getAddressProfile.query()
})
)
)).map(address => ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this code is very similar to getNormalizedSmartContractWallet(). Can we make this a generic function? If not, refactor this code and move it into utils like the others, and call it from here.

Copy link
Contributor

@maurerbot maurerbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolve conflicts first please

@poolsar42 poolsar42 force-pushed the chore/2218-platform-multiselect-authz-screen-support branch from 584dd31 to f60c3f9 Compare May 29, 2023 15:18
@poolsar42 poolsar42 force-pushed the chore/2218-platform-multiselect-authz-screen-support branch from f60c3f9 to 0b2f5f9 Compare May 31, 2023 13:22
@poolsar42 poolsar42 force-pushed the chore/2218-platform-multiselect-authz-screen-support branch from 0b2f5f9 to e7cd408 Compare May 31, 2023 15:10
@betimshahini betimshahini dismissed maurerbot’s stale review June 1, 2023 07:39

Conflicts resolved.

@betimshahini betimshahini merged commit 1ebe5dd into main Jun 1, 2023
16 of 18 checks passed
@betimshahini betimshahini deleted the chore/2218-platform-multiselect-authz-screen-support branch June 1, 2023 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore(platform): Add multi-wallet selection support to authz screen
3 participants