-
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
feat(btc): add BTC account creation menu entry #25625
feat(btc): add BTC account creation menu entry #25625
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. |
68f81e7
to
2ab28e7
Compare
91b06a0
to
f2ffffe
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #25625 +/- ##
===========================================
- Coverage 69.77% 69.77% -0.01%
===========================================
Files 1376 1378 +2
Lines 48403 48534 +131
Branches 13348 13383 +35
===========================================
+ Hits 33773 33860 +87
- Misses 14630 14674 +44 ☔ View full report in Codecov by Sentry. |
Builds ready [f2ffffe]
Page Load Metrics (241 ± 231 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
e9d3e26
to
7b0b10b
Compare
fa1bc6d
to
93d5ee5
Compare
Builds ready [93d5ee5]
Page Load Metrics (167 ± 168 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ui/components/multichain/create-btc-account/create-btc-account.tsx
Outdated
Show resolved
Hide resolved
6765647
to
fa37320
Compare
Builds ready [ed06ecc]
Page Load Metrics (73 ± 9 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
@montelaidev Yes the asset icon is not showing during balance's loading (same behavior than for eth actually) |
@ccharly - If the account was already created, the button "Add new Bitcoin account" should be disabled. Once the account is deleted/removed, the button should be enabled again |
Co-authored-by: Daniel Rocha <[email protected]>
@gantunesr yup, just implemented it here: 5a196a0 But I had to wait for other PRs to be merged! :) |
Quality Gate passedIssues Measures |
Builds ready [716861e]
Page Load Metrics (63 ± 9 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [716861e]
Page Load Metrics (63 ± 9 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Tested again, and the menu entry is now disabled after the account creation. |
Description
This adds a new menu entry "Create a new Bitcoin account" to create a Bitcoin account using the Bitcoin Manager Snap.
Note
This new feature is only available on Flask for now.
Warning
Some code logic of this PR might change depending if we are able to reduce the e2e test flakiness from this PR:
Related issues
Fixes: https://github.com/MetaMask/accounts-planning/issues/451
Manual testing steps
Main build
yarn start
Flask build
yarn start
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist