-
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
fix: remove the ability to send to btc accounts in send page #26271
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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #26271 +/- ##
===========================================
+ Coverage 70.00% 70.01% +0.01%
===========================================
Files 1410 1410
Lines 49964 49978 +14
Branches 13801 13803 +2
===========================================
+ Hits 34974 34990 +16
+ Misses 14990 14988 -2 ☔ View full report in Codecov by Sentry. |
Builds ready [2e1acac]
Page Load Metrics (154 ± 170 ms)
Bundle size diffs
|
ui/components/multichain/account-list-menu/account-list-menu.test.tsx
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-menu/account-list-menu.test.tsx
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-menu/account-list-menu.tsx
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-menu/account-list-menu.tsx
Outdated
Show resolved
Hide resolved
ui/components/multichain/account-list-menu/account-list-menu.tsx
Outdated
Show resolved
Hide resolved
ui/components/multichain/pages/send/components/your-accounts.tsx
Outdated
Show resolved
Hide resolved
ui/components/multichain/pages/send/components/your-accounts.tsx
Outdated
Show resolved
Hide resolved
ui/components/multichain/pages/send/components/account-picker.test.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Charly Chevalier <[email protected]>
// eslint-disable-next-line import/no-duplicates | ||
import { BtcAccountType, EthAccountType } from '@metamask/keyring-api'; | ||
///: BEGIN:ONLY_INCLUDE_IF(build-flask) | ||
import { KeyringClient } from '@metamask/keyring-api'; | ||
import { | ||
InternalAccount, | ||
KeyringAccountType, | ||
KeyringClient, | ||
// eslint-disable-next-line import/no-duplicates | ||
} from '@metamask/keyring-api'; |
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.
Re-posting this one, cause he was not appearing (was outdated). Maybe we can do it like this:
import {
EthAccountType
///: BEGIN:ONLY_INCLUDE_IF(build-flask)
InternalAccount,
KeyringAccountType,
KeyringClient,
///: END:ONLY_INCLUDE_IF
} from '@metamask/keyring-api';
///: BEGIN:ONLY_INCLUDE_IF(build-flask)
import { Caip2ChainId } from '@metamask/snaps-utils';
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.
Builds ready [cf67b29]
Page Load Metrics (234 ± 238 ms)
Bundle size diffs
|
Quality Gate passedIssues Measures |
Builds ready [f494669]
Page Load Metrics (678 ± 453 ms)
Bundle size diffs
|
Missing release label release-12.2.0 on PR. Adding release label release-12.2.0 on PR and removing other release labels(release-12.4.0), as PR was cherry-picked in branch 12.2.0. |
Description
This PR removes BTC accounts from the account picker and
Your Accounts
list in the send flow.Related issues
Fixes: https://github.com/MetaMask/accounts-planning/issues/546
Manual testing steps
Your Accounts
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist