-
Notifications
You must be signed in to change notification settings - Fork 5.3k
fix: bridge token address gets copied when Max button is clicked #33965
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
Merged
+71
−111
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✨ Files requiring CODEOWNER review ✨🔄 @MetaMask/swaps-engineers (3 files, +71 -111)
|
Builds ready [1d98033]
UI Startup Metrics (1172 ± 52 ms)
Benchmark value 2546 exceeds gate value 2454 for chrome webpack home p95 uiStartup Benchmark value 405 exceeds gate value 370 for chrome webpack home p95 firstReactRender Benchmark value 1476 exceeds gate value 1405 for firefox browserify home mean uiStartup Benchmark value 1282 exceeds gate value 1245 for firefox browserify home mean load Benchmark value 1282 exceeds gate value 1239 for firefox browserify home mean domContentLoaded Benchmark value 134 exceeds gate value 110 for firefox browserify home mean domInteractive Benchmark value 28 exceeds gate value 25 for firefox browserify home mean backgroundConnect Benchmark value 26 exceeds gate value 25 for firefox browserify home mean firstReactRender Benchmark value 16 exceeds gate value 11 for firefox browserify home mean getState Benchmark value 1258 exceeds gate value 1230 for firefox browserify home mean loadScripts Benchmark value 15 exceeds gate value 9 for firefox browserify home mean setupStore Benchmark value 1797 exceeds gate value 1660 for firefox browserify home p95 uiStartup Benchmark value 337 exceeds gate value 195 for firefox browserify home p95 domInteractive Benchmark value 76 exceeds gate value 70 for firefox browserify home p95 backgroundConnect Benchmark value 54 exceeds gate value 24 for firefox browserify home p95 getState Benchmark value 66 exceeds gate value 27 for firefox browserify home p95 setupStore Benchmark value 101 exceeds gate value 100 for firefox webpack home mean domInteractive Benchmark value 42 exceeds gate value 38 for firefox webpack home mean firstReactRender Benchmark value 17 exceeds gate value 15 for firefox webpack home mean getState Benchmark value 2089 exceeds gate value 1935 for firefox webpack home p95 uiStartup Benchmark value 1787 exceeds gate value 1660 for firefox webpack home p95 load Benchmark value 1787 exceeds gate value 1660 for firefox webpack home p95 domContentLoaded Benchmark value 275 exceeds gate value 156 for firefox webpack home p95 domInteractive Benchmark value 33 exceeds gate value 32 for firefox webpack home p95 getState Benchmark value 1765 exceeds gate value 1630 for firefox webpack home p95 loadScripts Sum of mean exceeds: 225ms | Sum of p95 exceeds: 1150ms Sum of all benchmark exceeds: 1375ms Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [79f442b]
UI Startup Metrics (1190 ± 65 ms)
Benchmark value 2243 exceeds gate value 2192 for chrome webpack home mean uiStartup Benchmark value 246 exceeds gate value 235 for chrome webpack home mean firstReactRender Benchmark value 2667 exceeds gate value 2454 for chrome webpack home p95 uiStartup Benchmark value 65 exceeds gate value 57 for chrome webpack home p95 domInteractive Benchmark value 335 exceeds gate value 334 for chrome webpack home p95 firstPaint Benchmark value 406 exceeds gate value 370 for chrome webpack home p95 firstReactRender Benchmark value 1980 exceeds gate value 1970 for chrome webpack home p95 loadScripts Benchmark value 114 exceeds gate value 110 for firefox browserify home mean domInteractive Benchmark value 10 exceeds gate value 9 for firefox browserify home mean setupStore Benchmark value 315 exceeds gate value 195 for firefox browserify home p95 domInteractive Benchmark value 33 exceeds gate value 24 for firefox browserify home p95 getState Benchmark value 101 exceeds gate value 100 for firefox webpack home mean domInteractive Benchmark value 27 exceeds gate value 26 for firefox webpack home mean backgroundConnect Benchmark value 42 exceeds gate value 38 for firefox webpack home mean firstReactRender Benchmark value 17 exceeds gate value 15 for firefox webpack home mean getState Benchmark value 2032 exceeds gate value 1935 for firefox webpack home p95 uiStartup Benchmark value 1682 exceeds gate value 1660 for firefox webpack home p95 load Benchmark value 1681 exceeds gate value 1660 for firefox webpack home p95 domContentLoaded Benchmark value 287 exceeds gate value 156 for firefox webpack home p95 domInteractive Benchmark value 39 exceeds gate value 32 for firefox webpack home p95 getState Benchmark value 1662 exceeds gate value 1630 for firefox webpack home p95 loadScripts Benchmark value 32 exceeds gate value 28 for firefox webpack home p95 setupStore Sum of mean exceeds: 76ms | Sum of p95 exceeds: 711ms Sum of all benchmark exceeds: 787ms Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [ad3e6c0]
UI Startup Metrics (1192 ± 74 ms)
Benchmark value 1200 exceeds gate value 1190 for chrome browserify home p95 load Benchmark value 1192 exceeds gate value 1180 for chrome browserify home p95 domContentLoaded Benchmark value 983 exceeds gate value 940 for chrome browserify home p95 loadScripts Benchmark value 2273 exceeds gate value 2192 for chrome webpack home mean uiStartup Benchmark value 1742 exceeds gate value 1711 for chrome webpack home mean load Benchmark value 1735 exceeds gate value 1704 for chrome webpack home mean domContentLoaded Benchmark value 1732 exceeds gate value 1699 for chrome webpack home mean loadScripts Benchmark value 2755 exceeds gate value 2454 for chrome webpack home p95 uiStartup Benchmark value 2041 exceeds gate value 2030 for chrome webpack home p95 load Benchmark value 2029 exceeds gate value 2005 for chrome webpack home p95 domContentLoaded Benchmark value 60 exceeds gate value 57 for chrome webpack home p95 domInteractive Benchmark value 347 exceeds gate value 334 for chrome webpack home p95 firstPaint Benchmark value 405 exceeds gate value 370 for chrome webpack home p95 firstReactRender Benchmark value 2017 exceeds gate value 1970 for chrome webpack home p95 loadScripts Benchmark value 120 exceeds gate value 110 for firefox browserify home mean domInteractive Benchmark value 12 exceeds gate value 9 for firefox browserify home mean setupStore Benchmark value 1665 exceeds gate value 1660 for firefox browserify home p95 uiStartup Benchmark value 251 exceeds gate value 195 for firefox browserify home p95 domInteractive Benchmark value 27 exceeds gate value 24 for firefox browserify home p95 getState Benchmark value 1653 exceeds gate value 1615 for firefox webpack home mean uiStartup Benchmark value 1432 exceeds gate value 1380 for firefox webpack home mean load Benchmark value 1432 exceeds gate value 1380 for firefox webpack home mean domContentLoaded Benchmark value 106 exceeds gate value 100 for firefox webpack home mean domInteractive Benchmark value 41 exceeds gate value 38 for firefox webpack home mean firstReactRender Benchmark value 16 exceeds gate value 15 for firefox webpack home mean getState Benchmark value 1413 exceeds gate value 1360 for firefox webpack home mean loadScripts Benchmark value 2128 exceeds gate value 1935 for firefox webpack home p95 uiStartup Benchmark value 1719 exceeds gate value 1660 for firefox webpack home p95 load Benchmark value 1718 exceeds gate value 1660 for firefox webpack home p95 domContentLoaded Benchmark value 314 exceeds gate value 156 for firefox webpack home p95 domInteractive Benchmark value 42 exceeds gate value 32 for firefox webpack home p95 getState Benchmark value 1701 exceeds gate value 1630 for firefox webpack home p95 loadScripts Benchmark value 31 exceeds gate value 28 for firefox webpack home p95 setupStore Sum of mean exceeds: 394ms | Sum of p95 exceeds: 1125ms Sum of all benchmark exceeds: 1519ms Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ghgoodreau
approved these changes
Jun 27, 2025
SteP-n-s
approved these changes
Jun 30, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
release-12.23.0
Issue or pull request that will be included in release 12.23.0
team-swaps-and-bridge
Swaps and Bridge team
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixing a bug where the src token address gets copied to clipboard when the Max button is clicked. Also setting a fixed height for the balance row so it doesn't flicker when user changes the token or loads the page
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/SWAPS-2523
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist