-
Notifications
You must be signed in to change notification settings - Fork 5.2k
fix: import srp error handling and style #31662
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
Conversation
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. |
✨ Files requiring CODEOWNER review ✨🖥️ @MetaMask/wallet-ux
|
Builds ready [59fba05]
UI Startup Metrics (1217 ± 58 ms)
|
width={BlockSize.Full} | ||
marginTop={4} | ||
paddingBottom={6} | ||
backgroundColor={ |
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.
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
Builds ready [dbae5ab]
UI Startup Metrics (1250 ± 61 ms)
|
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** This PR fixes the following: 1. The import button is now floating 2. Importing a 12 word srp when 24 word is selected is now blocked. 3. Add 12 word srp option. <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 4. What is the improvement/solution? --> [](https://codespaces.new/MetaMask/metamask-extension/pull/31662?quickstart=1) ## **Related issues** Fixes: https://consensyssoftware.atlassian.net/browse/MMMULTISRP-151?atlOrigin=eyJpIjoiY2E4MzA0ZTg4NjlkNDExY2IyZDAyODFjNzIzNTk5MjYiLCJwIjoiaiJ9 Fixes: https://consensyssoftware.atlassian.net/browse/MMMULTISRP-147?atlOrigin=eyJpIjoiMjFhOWYxOTc1MTM5NGMwMmE0ZjBiYTk5YTQxNjAyNDEiLCJwIjoiaiJ9 Fixes:https://consensyssoftware.atlassian.net/browse/MMMULTISRP-146?atlOrigin=eyJpIjoiYjQyNDdhYjRmODgxNGQwMjhkNzRiOTgwNzAyY2U1Y2IiLCJwIjoiaiJ9 ## **Manual testing steps** 1. Go to account menu 2. Click on `Secret Recovery Phrase` 3. See that the import button is always visible 4. Click on 24 word option 5. Fill in a 12 word srp and see that the import button is still disabled 6. See that there is a button to change back to 12 word srp. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.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.
Description
This PR fixes the following:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MMMULTISRP-151?atlOrigin=eyJpIjoiY2E4MzA0ZTg4NjlkNDExY2IyZDAyODFjNzIzNTk5MjYiLCJwIjoiaiJ9
Fixes: https://consensyssoftware.atlassian.net/browse/MMMULTISRP-147?atlOrigin=eyJpIjoiMjFhOWYxOTc1MTM5NGMwMmE0ZjBiYTk5YTQxNjAyNDEiLCJwIjoiaiJ9
Fixes:https://consensyssoftware.atlassian.net/browse/MMMULTISRP-146?atlOrigin=eyJpIjoiYjQyNDdhYjRmODgxNGQwMjhkNzRiOTgwNzAyY2U1Y2IiLCJwIjoiaiJ9
Manual testing steps
Secret Recovery Phrase
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist