-
Notifications
You must be signed in to change notification settings - Fork 5.4k
fix: when Network manager selection is Solana and a new popular network is added, the defi and NFTs tabs are missing #38419
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: when Network manager selection is Solana and a new popular network is added, the defi and NFTs tabs are missing #38419
Conversation
…rk is added, the DeFi and NFTs tabs are missing
|
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/accounts-engineers (2 files, +138 -16)
👨🔧 @MetaMask/core-extension-ux (2 files, +138 -16)
|
Builds ready [1ad6e12]
UI Startup Metrics (1211 ± 96 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
…on-is-solana-and-a-new-popular-network-is-added-the-de-fi-and-nf-ts-tabs-are-missing
Builds ready [f468f23]
UI Startup Metrics (1181 ± 112 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ccharly
left a comment
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 (not tested)
Description
when Network manager selection is Solana and a new popular network is added, the defi and NFTs tabs are missing
Changelog
CHANGELOG entry: when Network manager selection is Solana and a new popular network is added, the defi and NFTs tabs are missing
Related issues
Fixes: #36845
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2025-12-01.at.12.49.02.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Non‑EVM account overview now shows NFTs and DeFi tabs only when any EVM network is enabled (and DeFi flag), powered by a new selector and comprehensive tests.
AccountOverviewNonEvmusesgetHasAnyEvmNetworkEnabledandgetIsDefiPositionsEnabledto setshowNftsandshowDefiinAccountOverviewLayout.getHasAnyEvmNetworkEnabledto detect if any EVM network is enabled viaenabledNetworkMap.account-overview-non-evm.test.tsxto cover cases with no EVM networks, with EVM networks (DeFi on/off), single EVM network, and switching to non‑EVM (Solana).getHasAnyEvmNetworkEnabledinselectors.test.js.Written by Cursor Bugbot for commit f468f23. This will update automatically on new commits. Configure here.