Repository navigation
feat(accounts): restyle Add wallet screen to match design - #47780
Merged
Merged
Conversation
Restyle the Add wallet screen to the new design: flat full-width rows with AvatarIcon, an end chevron, and an Add wallet title. Update the Import a wallet copy and drop the unused addAWallet locale key. The Import a wallet back button navigated to the home route, which exited the whole add-wallet flow. It now goes to the previous page, and the close button still returns home. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
✨ Files requiring CODEOWNER review ✨🔑 @MetaMask/accounts-engineers (2 files, +21 -19)
|
Contributor
Builds ready [5969688]
⚡ Performance Benchmarks (Total: 🟢 10 pass · 🟡 0 warn · 🔴 3 fail)
Bundle Size Diffs
|
|
NidhiKJha
enabled auto-merge
November 10, 2026 09:15
ameliejyc
approved these changes
Nov 10, 2026
montelaidev
approved these changes
Nov 10, 2026
Contributor
|
No release label on PR. Adding release label release-13.58.0 on PR, as PR was added to branch 13.58.0 when release was cut. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Restyles the Add wallet screen (
choose-new-wallet-type) to match the Figma design (node 801:5647).AvatarIcon(large, neutral) and ends with a right chevron.addWalletkey. The unusedaddAWalletkey is removed from all locales.Also fixes the back button on the Import a wallet screen (
import-srp.tsx). It navigated to the home route, which exited the whole add-wallet flow. It now usesPREVIOUS_ROUTE, matching Import an account. The close button still returns home.Reason for the change: align the Add wallet screen with the design and stop the back button from ending the flow.
Changelog
CHANGELOG entry: Updated the Add wallet screen design and fixed the back button on the Import a wallet screen, which closed the whole flow.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
UI copy and styling plus navigation routing in onboarding flows; no auth, vault, or payment logic changes.
Overview
Restyles the Add wallet chooser to match Figma: flat full-width rows with
AvatarIcon, right chevrons, hover/pressed states, and the header string switched fromaddAWallettoaddWallet. The unusedaddAWalletlocale key is removed across languages, and related option copy is tightened (Secret Recovery Phrase, private key, USB or QR code).On Import Secret Recovery Phrase, the back control now routes to
PREVIOUS_ROUTEso users return to Add wallet instead of exiting the flow; close still goes home. Tests and snapshots cover the newdata-testidhooks and navigation behavior.Reviewed by Cursor Bugbot for commit 5969688. Bugbot is set up for automated code reviews on this repo. Configure here.