-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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(btc): use new snap account flow for Bitcoin accounts #26183
feat(btc): use new snap account flow for Bitcoin accounts #26183
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. |
37da73f
to
653f678
Compare
94a1c1c
to
e79f7a2
Compare
e79f7a2
to
4860aa9
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #26183 +/- ##
===========================================
- Coverage 69.95% 69.95% -0.00%
===========================================
Files 1411 1410 -1
Lines 49963 49956 -7
Branches 13800 13799 -1
===========================================
- Hits 34948 34942 -6
+ Misses 15015 15014 -1 ☔ View full report in Codecov by Sentry. |
Builds ready [4860aa9]
Page Load Metrics (333 ± 323 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
ui/pages/confirmations/confirmation/templates/create-named-snap-account.js
Show resolved
Hide resolved
…unt confirmation template
fdce80c
to
e5a7ec0
Compare
Builds ready [e5a7ec0]
Page Load Metrics (407 ± 329 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
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!
Manual testing
Create Bitcoin mainnet account
https://github.com/user-attachments/assets/52349099-7207-4855-89ad-779dd5d2b328
Create Bitcoin testnet account
https://github.com/user-attachments/assets/fbf71c59-4afc-4848-97c1-625e0fa767a6
Quality Gate passedIssues Measures |
Builds ready [2c25cd9]
Page Load Metrics (419 ± 341 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Behaves as epected on Chrome version 128.0.6613.138 ✅ Screen.Recording.2024-09-17.at.10.20.59.AM.movBehaves as expect on Firefox version 130.0 ✅ Screen.Recording.2024-09-17.at.10.24.22.AM.mov |
Description
This removes the old flow of creating Bitcoin accounts in favor of the new generic Snap account creation flow (that includes account renaming).
This PR does require the Bitcoin Snap to emit the suggested names, otherwise name accounts will be named as follow:
Snap Account N
(whereN
is the number of created Snap accounts + 1).Related issues
Relates to:
Fixes:
Manual testing steps
Note
Since we have updated the Bitcoin Snap version to
0.4.0
, you no longer need to manually install the Snap, it's being prebundled with the right version that supports account name suggestionScreenshots/Recordings
Before
After
Screen.Recording.2024-07-29.at.11.59.25.mov
Pre-merge author checklist
Pre-merge reviewer checklist