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

feat(2793): permission UI requirements from figma, avatar groups and other stuff #11827

Conversation

EtherWizard33
Copy link
Contributor

@EtherWizard33 EtherWizard33 commented Oct 16, 2024

Description

This PR connects the avatar group used for account addresses:

  • in the initial connect to the dapp where these avatars represent the accounts the user is granting permission for the dapp to use
  • in the connected flow, where the dapp is already connected and those avatar represents accounts the user has already granted permission for the dapp to use

Related issues

Contributes to solve issue: https://github.com/MetaMask/MetaMask-planning/issues/2796

Manual testing steps

I have added screenshot below to see how it looks.

  1. Go to the in-app brower on the mobile wallet, connect to a dapp like uniswap
  2. Switch netowrk to a network for which permission was not added before
  3. A modal will show up and show have the same margin width on the right side as on the left side.

Screenshots/Recordings

Initial Connection Before Initial Connection After
Screenshot 2024-04-18 at 3 56 43 PM Screenshot 2024-04-18s at 3 56 43 PM
Already Connected Dapp Before Already Connected Dapp After
Screenshot 2024-04-18 at 3 56 43 PM Screenshot 2024-04-18s at 3 56 43 PM

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

… back are feature complete, feature flag removed, dead code removed, and ready to write new tests
…y, this is the case where the user is on the connectMore screen
…playing, and hide irrelevant text or select all checkbox
…er than closing the bottom sheet.

On initial connect, clicking the confirm button navs back to summary without submiting, the summary has a button to submit. On connected flow, in this case it submits before naviging back to summary, a toast is also shown as usual.
…e abilty for the user to see avatar for his connected accounts in the permission summary
… avatar group.

Use the account address prop added in previous commit to add the abilty for the user to see avatar for the accounts he is requesting permissions for.
@EtherWizard33 EtherWizard33 added the No QA Needed Apply this label when your PR does not need any QA effort. label Oct 16, 2024
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@EtherWizard33 EtherWizard33 added Run Smoke E2E Triggers smoke e2e on Bitrise and removed No QA Needed Apply this label when your PR does not need any QA effort. labels Oct 18, 2024
Copy link
Contributor

github-actions bot commented Oct 18, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: fe7e9db
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/6dc53df6-5cbb-4f1f-96f8-eb8af7647120

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@EtherWizard33 EtherWizard33 changed the title feat(2793): permission UI requirements from figma avatar groups and other stuff feat(2793): permission UI requirements from figma, avatar groups and other stuff Oct 18, 2024
@EtherWizard33 EtherWizard33 marked this pull request as ready for review October 18, 2024 15:00
@EtherWizard33 EtherWizard33 requested a review from a team as a code owner October 18, 2024 15:00
@EtherWizard33 EtherWizard33 added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 21, 2024
Copy link
Contributor

github-actions bot commented Oct 21, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 49312a8
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/ebecce3a-1235-471b-9737-450ec600fb9b

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@EtherWizard33 EtherWizard33 added this pull request to the merge queue Oct 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 21, 2024
@EtherWizard33 EtherWizard33 added this pull request to the merge queue Oct 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 21, 2024
@EtherWizard33 EtherWizard33 added this pull request to the merge queue Oct 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 21, 2024
@EtherWizard33 EtherWizard33 added this pull request to the merge queue Oct 21, 2024
@EtherWizard33 EtherWizard33 removed this pull request from the merge queue due to a manual request Oct 21, 2024
@EtherWizard33 EtherWizard33 added this pull request to the merge queue Oct 21, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 21, 2024
Copy link

sonarcloud bot commented Oct 22, 2024

@EtherWizard33 EtherWizard33 added this pull request to the merge queue Oct 22, 2024
Merged via the queue into main with commit 4e3ffee Oct 22, 2024
37 checks passed
@EtherWizard33 EtherWizard33 deleted the feat-2793-permission-ui-requirements-from-figma-avatar-groups-and-other-stuff branch October 22, 2024 18:57
@github-actions github-actions bot locked and limited conversation to collaborators Oct 22, 2024
@metamaskbot metamaskbot added the release-7.35.0 Issue or pull request that will be included in release 7.35.0 label Oct 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.35.0 Issue or pull request that will be included in release 7.35.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-wallet-ux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants