-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: custom names for snap accounts (Flask only) #12198
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. |
1e6000f
to
d4172c9
Compare
Bitrise❌❌❌ Commit hash: d4172c9 Note
Tip
|
d4172c9
to
1954f47
Compare
Bitrise❌❌❌ Commit hash: 1954f47 Note
Tip
|
1954f47
to
202684f
Compare
Bitrise❌❌❌ Commit hash: 202684f Note
Tip
|
app/components/Approvals/SnapAccountCustomNameApproval/SnapAccountCustomNameApproval.tsx
Outdated
Show resolved
Hide resolved
app/components/Approvals/SnapAccountCustomNameApproval/SnapAccountCustomNameApproval.tsx
Outdated
Show resolved
Hide resolved
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.
Just a couple of comments around the usage of some optimisation hooks and an intense useEffect
. Looking good though!
e292014
to
dce728b
Compare
0e3c1c7
to
dd8c2fa
Compare
Bitrise✅✅✅ Commit hash: dd8c2fa Note
|
confirmed it is working on the latest commit. Screen.Recording.2024-11-15.at.3.40.24.PM.mov |
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.
one last observation
app/components/Approvals/SnapAccountCustomNameApproval/SnapAccountCustomNameApproval.tsx
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Description
This PR allows enables the following...
This will be used to create Bitcoin accounts in the future.
Equivalent extension PR: MetaMask/metamask-extension#25191
Related issues
Fixes: https://github.com/MetaMask/accounts-planning/issues/604
Manual testing steps
.js.env
in your editor and setexport METAMASK_BUILD_TYPE="flask"
SSK Account
Add account
SSK Account
should be added to the account list in the wallet view and be the currently selected account.SSK Account 1
1
fromSSK Account 1
you should see a an error popup on the screen sayingThis account name already exists
AND theAdd account
button should be disabled.Add account
Testing Add account denial
.js.env
in your editor and setexport METAMASK_BUILD_TYPE="flask"
Screenshots/Recordings
Extension version
Mobile:
Before
Untitled.mov
After
Screen.Recording.2024-11-08.at.6.00.03.PM.mov
Pre-merge author checklist
Pre-merge reviewer checklist