-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fix (cherry-pick): Don't show AccountListMenu back button by default #27152
fix (cherry-pick): Don't show AccountListMenu back button by default #27152
Conversation
## **Description** A recent change (#26271) made it such that the "<" (back button) in the `AccountListMenu` component always shows. We do *not* want this when the `AccountListMenu` first opens, so this PR ensures that. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26940?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Open the `AccountListMenu` 2. Don't see the `<` 3. Click the "Add account" button 4. See the `<` 5. Click the `<`, go back to main menu ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <img width="891" alt="SCR-20240904-pens" src="https://github.com/user-attachments/assets/ee4b9cdc-503d-4d97-99a0-f7045ba1d503"> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **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.
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. |
Making sure it looks as expected: backButton.mov |
Yep! |
Builds ready [35ef8d0]
Page Load Metrics (1825 ± 69 ms)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No release label on PR. Adding release label release-12.3.0 on PR, as PR was cherry-picked in branch 12.3.0. |
Description
A recent change (#26271) made it such that the "<" (back button) in the
AccountListMenu
component always shows. We do not want this when theAccountListMenu
first opens, so this PR ensures that.Related issues
Fixes:
Manual testing steps
AccountListMenu
<
<
<
, go back to main menuScreenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist