Skip to content
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: prevent non-current network tokens from being hidden incorrectly #28674

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

salimtb
Copy link
Contributor

@salimtb salimtb commented Nov 24, 2024

Description

fix to prevent non current network tokens from being hidden incorrecly

core PR: MetaMask/core#4967

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. add different network accros different chains
  2. choose ethereum as current chain
  3. try to hide token of polygon for instance

Screenshots/Recordings

Before

bug.mov

After

fixed.mov

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

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.

@salimtb salimtb added the needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. label Nov 24, 2024
@salimtb salimtb force-pushed the salim/ignore-tokens-non-current-network branch from 809e914 to 7735b05 Compare November 24, 2024 19:03
@salimtb salimtb marked this pull request as ready for review November 24, 2024 19:09
@salimtb salimtb requested a review from a team as a code owner November 24, 2024 19:09
@salimtb salimtb force-pushed the salim/ignore-tokens-non-current-network branch from 7735b05 to 9787615 Compare November 24, 2024 19:15
@metamaskbot
Copy link
Collaborator

Builds ready [9787615]
Page Load Metrics (1862 ± 86 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint34523911802381183
domContentLoaded16502251183216479
load16712377186217986
domInteractive21154402914
backgroundConnect10113322411
firstReactRender561331002010
getState579212110
initialActions01000
loadScripts11741666133713565
setupStore66019209
uiStartup185527432068216104
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 181 Bytes (0.00%)

Copy link
Contributor

@gambinish gambinish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled down and ran, LGTM.

I'll hit you up on Slack with a non-blocking question.

@metamaskbot
Copy link
Collaborator

Builds ready [a45a34a]
Page Load Metrics (1669 ± 93 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14282114167318790
domContentLoaded14082061162717584
load14302142166919393
domInteractive246436136
backgroundConnect14102432411
firstReactRender1699442713
getState578192110
initialActions01000
loadScripts10281492119414369
setupStore683172311
uiStartup158425851938254122
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 181 Bytes (0.00%)

@salimtb salimtb added this pull request to the merge queue Nov 25, 2024
Merged via the queue into develop with commit 9c4d1b4 Nov 25, 2024
75 checks passed
@salimtb salimtb deleted the salim/ignore-tokens-non-current-network branch November 25, 2024 18:32
@github-actions github-actions bot locked and limited conversation to collaborators Nov 25, 2024
@metamaskbot metamaskbot added the release-12.9.0 Issue or pull request that will be included in release 12.9.0 label Nov 25, 2024
@Unik0rnMaggie
Copy link
Contributor

Not present in qa-8 build

Hide.token.mov

@salimtb salimtb added the portfolio-view Used for PRs and issues related to Q4 2024 portfolio view label Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-assets-ux-review A shared label between the Assets and UX team to flag PRs ready for consolidated team review. portfolio-view Used for PRs and issues related to Q4 2024 portfolio view release-12.9.0 Issue or pull request that will be included in release 12.9.0 team-assets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants