Skip to content

refactor: migrate bridge switch tokens button to MMDS - #47597

Merged
georgewrmarshall merged 9 commits into
mainfrom
cursor/bridge-switch-tokens-mmds-d1f4
Nov 11, 2026
Merged

georgewrmarshall merged 9 commits into
mainfrom
cursor/bridge-switch-tokens-mmds-d1f4

Conversation

@georgewrmarshall

@georgewrmarshall georgewrmarshall commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Description

Part of the MMDS migration epic: https://consensyssoftware.atlassian.net/browse/TMCU-1741

Stack: #47558 (Bridge Grotzec large number input) is merged to main. This PR is stacked on #47596 (bridge input group to MMDS).

This PR migrates the switch-tokens button in ui/pages/bridge/prepare/prepare-bridge-page.tsx from the legacy ButtonIcon/IconName to MMDS ButtonIcon, ButtonIconSize and IconName. The goal is no visual change.

  • size={ButtonIconSize.Lg} is set explicitly, because MMDS defaults to Md. Lg gives the same 40px button and 32px (Xl) icon as the legacy default.
  • color={IconColor.iconAlternative} moves to iconProps.color (IconColor.IconAlternative), next to the existing icon classes.
  • disabled → isDisabled. The disabled opacity is the same (legacy --opacity-disabled is 0.5; MMDS uses opacity-50).
  • data-testid="switch-tokens" and ariaLabel are unchanged. The test ID is used by test/e2e/page-objects/pages/bridge/quote-page.ts.
  • className="min-w-10" keeps the legacy .mm-button-icon min-width: 40px. Under global border-box, the button's inline width/height: 100% resolves to 36px inside the 40px wrapper with a 2px border. Legacy's min-width therefore made the hover/pressed fill 40×36. Without the class, the fill would shrink to a 36×36 circle.
  • The Tailwind hover, pressed and spin classes from refactor: migrate bridge input group to MMDS components #47596 carry over unchanged. They target the button and icon directly (group-hover variants on the icon), so they work the same on the MMDS inline SVG icon.
  • The wrapper Box and the surrounding Column (BackgroundColor, BlockSize, JustifyContent) are unchanged.

Possible visual differences to check: The icon now renders as an inline SVG instead of a legacy CSS-mask span. It's the same glyph and size, but anti-aliasing may differ by a sub-pixel.

Changelog

CHANGELOG entry: null

Related issues

Fixes:

Manual testing steps

  1. Run the extension and open Swap/Bridge.
  2. With no valid quote request, verify the circular switch button between the source and destination fields is dimmed and does nothing on hover or press.
  3. Select source and destination tokens and enter an amount. Hover the switch button: the fill turns muted-hover and the icon darkens. Press it: the fill turns muted-pressed.
  4. Click the switch button. Verify the icon spins 360° and the source and destination tokens swap. Click again and verify it spins back.

Screenshots/Recordings

Swap page, DAI → mUSD (getBridgeFixtures + enableFiatToggle), captured at 2x in the side panel (360×768) and the popup (400×600). Before = #47558 at 9048d3d0. After = this PR at 138b2aecf6 (stacked on #47596 at 8923f5293e; fresh stills, 2026-11-05). Pixel diffs were run on every screen (rest, hover, pressed, disabled, empty, amount entered) in light and dark.

Before

Legacy ButtonIcon for switch tokens (this PR) and legacy Text/ButtonLink in the input group (#47596).

  • Max link hover keeps the resting colour: light #4459FF, dark #8B99FF.
  • Switch-tokens pressed fill is the same as hover: light #E4E4E5, dark #36363D.

After

MMDS ButtonIcon (this PR) and MMDS Text/TextButton (#47596). Only two differences show up, both in interaction states:

  • Max link hover (refactor: migrate bridge input group to MMDS components #47596): MMDS TextButton uses primary-default-hover, so the text and underline go to light #384DF5, dark #9EAAFF. Underline position, thickness, glyphs and spacing are unchanged.
  • Switch-tokens pressed (this PR): the button now has its own pressed tone, light #DFDFE0, dark #3E3E46. Size and position are unchanged.

Both are subtle in static shots (one or two shades), so compare the Max link and the switch circle in those rows. Everything else is pixel-identical apart from about 3 px of sub-pixel anti-aliasing on the switch arrow tips.

Screen Before After
Default, empty (light, side panel) before-default-empty-light-sidepanel360 after-default-empty-light-sidepanel360
Default, empty (dark, side panel) before-default-empty-dark-sidepanel360 after-default-empty-dark-sidepanel360
Amount entered (light, popup) before-amount-entered-light-popup400 after-amount-entered-light-popup400
Amount entered (dark, popup) before-amount-entered-dark-popup400 after-amount-entered-dark-popup400
Max link hover (light, side panel) before-max-hover-light-sidepanel360 after-max-hover-light-sidepanel360
Max link hover (dark, side panel) before-max-hover-dark-sidepanel360 after-max-hover-dark-sidepanel360
Switch tokens pressed (light, side panel) before-switch-pressed-light-sidepanel360 after-switch-pressed-light-sidepanel360
Switch tokens pressed (dark, side panel) before-switch-pressed-dark-sidepanel360 after-switch-pressed-dark-sidepanel360
Switch tokens disabled (dark, popup) before-switch-disabled-dark-popup400 after-switch-disabled-dark-popup400

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.
Open in Web Open in Cursor 

Note

Low Risk
UI-only design-system swap on a single bridge control; behavior and test IDs are preserved, with only minor possible differences in pressed styling or icon rendering.

Reviewed by Cursor Bugbot for commit 9d651c5. Bugbot is set up for automated code reviews on this repo. Configure here.

@metamask-ci

metamask-ci Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

✨ Files requiring CODEOWNER review ✨

🔄 @MetaMask/swaps-engineers (3 files, +54 -36)
  • 📁 ui/
    • 📁 pages/
      • 📁 bridge/
        • 📁 __snapshots__/
          • 📄 index.test.tsx.snap +12 -6
        • 📁 prepare/
          • 📁 __snapshots__/
            • 📄 prepare-bridge-page.test.tsx.snap +24 -12
            • 📄 prepare-bridge-page.tsx +18 -18

@metamask-ci metamask-ci Bot added the team-design-system All issues relating to design system in Extension label Nov 3, 2026
@cursor
cursor Bot force-pushed the cursor/bridge-switch-tokens-mmds-d1f4 branch from 1bee916 to e3c18cf Compare November 3, 2026 20:12
@metamask-ci

metamask-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor
Builds ready [1bee916]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 4 warn · 🔴 3 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 41708222628 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]

Regressions (🔴 3 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟡 [CI log]🟡 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟡 [CI log]🟡 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +182%
  • ↑ loadNewAccount/total: +182%
  • ↓ loadNewAccount/inp: -10%
  • ↑ loadNewAccount/fcp: +10%
  • ↑ loadNewAccount/cls: +282%
  • ↑ confirmTx/longTaskTotalDuration: +52%
  • ↑ confirmTx/longTaskMaxDuration: +68%
  • ↑ confirmTx/tbt: +88%
  • ↓ confirmTx/inp: -13%
  • ↑ confirmTx/fcp: +13%
  • ↑ confirmTx/lcp: +11%
  • ↑ bridgeUserActions/bridge_load_page: +88%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +110%
  • ↑ bridgeUserActions/longTaskCount: +82%
  • ↑ bridgeUserActions/longTaskTotalDuration: +63%
  • ↑ bridgeUserActions/longTaskMaxDuration: +26%
  • ↑ bridgeUserActions/tbt: +117%
  • ↑ bridgeUserActions/total: +21%
  • ↑ bridgeUserActions/inp: +18%
  • ↑ bridgeUserActions/fcp: +11%
  • ↑ bridgeUserActions/lcp: +13%
  • ↑ bridgeUserActions/cls: +281%
  • ↑ loadNewAccount/load_new_account: +183%
  • ↑ loadNewAccount/total: +183%
  • ↓ loadNewAccount/inp: -18%
  • ↑ loadNewAccount/fcp: +30%
  • ↑ loadNewAccount/lcp: +1340%
  • ↑ confirmTx/confirm_tx: +10%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↑ confirmTx/total: +10%
  • ↓ confirmTx/fcp: -35%
  • ↑ confirmTx/lcp: +1441%
  • ↑ bridgeUserActions/bridge_load_page: +330%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +130%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +63%
  • ↑ bridgeUserActions/inp: +69%
  • ↑ bridgeUserActions/fcp: +30%
  • ↑ bridgeUserActions/lcp: +1352%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 1.9s
  • 🟡 confirmTx/FCP: p75 1.9s
  • 🟡 bridgeUserActions/FCP: p75 1.9s
  • 🟡 loadNewAccount/FCP: p75 2.2s
  • 🟡 loadNewAccount/LCP: p75 2.5s
  • 🟡 confirmTx/LCP: p75 2.6s
  • 🟡 bridgeUserActions/FCP: p75 2.3s
  • 🟡 bridgeUserActions/LCP: p75 2.6s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/uiStartup: +12%
  • ↑ startupStandardHome/domContentLoaded: +10%
  • ↑ startupStandardHome/domInteractive: +22%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -29%
  • ↑ startupStandardHome/setupStore: +88%
  • ↓ startupStandardHome/longTaskCount: -29%
  • ↑ startupStandardHome/tbt: +14%
  • ↑ startupStandardHome/lcp: +10%
  • ↑ startupStandardHome/cls: +400%
  • ↓ startupStandardHome/uiStartup: -38%
  • ↓ startupStandardHome/load: -34%
  • ↓ startupStandardHome/domContentLoaded: -36%
  • ↓ startupStandardHome/domInteractive: -53%
  • ↓ startupStandardHome/backgroundConnect: -31%
  • ↓ startupStandardHome/firstReactRender: -99%
  • ↓ startupStandardHome/initialActions: -50%
  • ↓ startupStandardHome/loadScripts: -35%
  • ↑ startupStandardHome/setupStore: +30%
  • ↓ startupStandardHome/fcp: -46%
  • ↓ startupStandardHome/lcp: -32%
User Journey Benchmarks · Samples: 5 · mock API 🔴 1
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]
🔴 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/metricsToWalletReadyScreen: +14%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -92%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -74%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -85%
  • ↑ onboardingNewWallet/srpButtonToPwForm: +33%
  • ↑ onboardingNewWallet/createPwToRecoveryScreen: +18%
  • ↑ onboardingNewWallet/skipBackupToMetricsScreen: +19%
  • ↑ onboardingNewWallet/agreeButtonToOnboardingSuccess: +17%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -70%
  • ↓ onboardingNewWallet/longTaskCount: -62%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -74%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -38%
  • ↓ onboardingNewWallet/tbt: -99%
  • ↓ onboardingNewWallet/total: -66%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -50%
  • ↓ dappPageLoad/firstPaint: -33%
  • ↓ dappPageLoad/firstContentfulPaint: -33%
Bundle Size Diffs [🚨 Warning! Bundle size has increased!]
Status Bundle Total Diff Change
✅ background 15.26 MiB +137 Bytes 0.00%
🚨 ui 19.33 MiB +1.53 KiB +0.01%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.44 MiB +7 Bytes 0.00%
✅ content scripts 3.23 MiB +14 Bytes 0.00%
🚨 unzipped 79.89 MiB +1.59 KiB 0.00%
✅ zip 24.07 MiB +706 Bytes 0.00%

@cursor
cursor Bot force-pushed the cursor/bridge-switch-tokens-mmds-d1f4 branch from e3c18cf to 93963aa Compare November 3, 2026 20:21
@metamask-ci

metamask-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor
Builds ready [93963aa]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 4 warn · 🔴 2 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 41711769099 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]

Regressions (🔴 2 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟡 [CI log]🟡 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +181%
  • ↑ loadNewAccount/total: +181%
  • ↑ loadNewAccount/lcp: +10%
  • ↑ loadNewAccount/cls: +282%
  • ↑ confirmTx/longTaskTotalDuration: +47%
  • ↑ confirmTx/longTaskMaxDuration: +67%
  • ↑ confirmTx/tbt: +80%
  • ↓ confirmTx/inp: -21%
  • ↑ bridgeUserActions/bridge_load_page: +60%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +124%
  • ↑ bridgeUserActions/longTaskCount: +36%
  • ↑ bridgeUserActions/longTaskTotalDuration: +68%
  • ↑ bridgeUserActions/tbt: +54%
  • ↑ bridgeUserActions/total: +15%
  • ↑ bridgeUserActions/inp: +10%
  • ↑ bridgeUserActions/lcp: +16%
  • ↑ bridgeUserActions/cls: +281%
  • ↑ loadNewAccount/load_new_account: +183%
  • ↑ loadNewAccount/total: +183%
  • ↓ loadNewAccount/inp: -10%
  • ↓ loadNewAccount/fcp: -32%
  • ↑ loadNewAccount/lcp: +1383%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↑ confirmTx/fcp: +25%
  • ↑ confirmTx/lcp: +1398%
  • ↑ bridgeUserActions/bridge_load_page: +308%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +85%
  • ↑ bridgeUserActions/bridge_search_token: +48%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +76%
  • ↑ bridgeUserActions/inp: +54%
  • ↓ bridgeUserActions/fcp: -33%
  • ↑ bridgeUserActions/lcp: +1312%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 1.9s
  • 🟡 confirmTx/FCP: p75 1.9s
  • 🟡 bridgeUserActions/FCP: p75 1.9s
  • 🟡 loadNewAccount/LCP: p75 2.6s
  • 🟡 confirmTx/FCP: p75 2.1s
  • 🟡 confirmTx/LCP: p75 2.6s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/uiStartup: +14%
  • ↑ startupStandardHome/load: +10%
  • ↑ startupStandardHome/domContentLoaded: +10%
  • ↑ startupStandardHome/domInteractive: +24%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -29%
  • ↑ startupStandardHome/setupStore: +140%
  • ↑ startupStandardHome/tbt: +13%
  • ↑ startupStandardHome/fcp: +10%
  • ↑ startupStandardHome/cls: +400%
  • ↓ startupStandardHome/uiStartup: -35%
  • ↓ startupStandardHome/load: -29%
  • ↓ startupStandardHome/domContentLoaded: -31%
  • ↓ startupStandardHome/domInteractive: -18%
  • ↓ startupStandardHome/backgroundConnect: -28%
  • ↓ startupStandardHome/firstReactRender: -99%
  • ↓ startupStandardHome/initialActions: -50%
  • ↓ startupStandardHome/loadScripts: -30%
  • ↑ startupStandardHome/setupStore: +46%
  • ↓ startupStandardHome/fcp: -11%
  • ↓ startupStandardHome/lcp: -28%
User Journey Benchmarks · Samples: 5 · mock API
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/srpButtonToSrpForm: +29%
  • ↑ onboardingImportWallet/confirmSrpToPwForm: +29%
  • ↑ onboardingImportWallet/pwFormToMetricsScreen: +28%
  • ↑ onboardingImportWallet/metricsToWalletReadyScreen: +16%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -91%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -74%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -85%
  • ↑ onboardingNewWallet/srpButtonToPwForm: +31%
  • ↑ onboardingNewWallet/createPwToRecoveryScreen: +17%
  • ↑ onboardingNewWallet/skipBackupToMetricsScreen: +13%
  • ↑ onboardingNewWallet/agreeButtonToOnboardingSuccess: +16%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -77%
  • ↓ onboardingNewWallet/longTaskCount: -62%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -74%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -38%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -72%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -50%
  • ↓ dappPageLoad/firstPaint: -33%
  • ↓ dappPageLoad/firstContentfulPaint: -33%
Bundle Size Diffs [🚨 Warning! Bundle size has increased!]
Status Bundle Total Diff Change
✅ background 15.26 MiB +137 Bytes 0.00%
🚨 ui 19.33 MiB +1.56 KiB +0.01%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.44 MiB +7 Bytes 0.00%
✅ content scripts 3.23 MiB +14 Bytes 0.00%
🚨 unzipped 79.89 MiB +1.62 KiB 0.00%
✅ zip 24.07 MiB +725 Bytes 0.00%

@cursor
cursor Bot force-pushed the cursor/bridge-switch-tokens-mmds-d1f4 branch from 93963aa to 1ae3db2 Compare November 3, 2026 20:39
@metamask-ci

metamask-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor
Builds ready [1ae3db2]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 5 warn · 🔴 1 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 41714649893 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🟢 [CI log]

Regressions (🔴 1 failure)

Interaction Benchmarks · Samples: 5 🔴 1
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🟢 [CI log]
confirmTx
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +182%
  • ↑ loadNewAccount/total: +182%
  • ↓ loadNewAccount/inp: -18%
  • ↑ loadNewAccount/cls: +282%
  • ↑ confirmTx/longTaskTotalDuration: +53%
  • ↑ confirmTx/longTaskMaxDuration: +70%
  • ↑ confirmTx/tbt: +90%
  • ↑ confirmTx/fcp: +11%
  • ↑ confirmTx/lcp: +17%
  • ↑ confirmTx/cls: +11%
  • ↑ bridgeUserActions/bridge_load_page: +58%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +137%
  • ↑ bridgeUserActions/longTaskCount: +36%
  • ↑ bridgeUserActions/longTaskTotalDuration: +38%
  • ↑ bridgeUserActions/tbt: +44%
  • ↑ bridgeUserActions/total: +23%
  • ↑ bridgeUserActions/fcp: +10%
  • ↑ bridgeUserActions/lcp: +14%
  • ↑ bridgeUserActions/cls: +281%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 1.9s
  • 🟡 confirmTx/FCP: p75 1.9s
  • 🟡 bridgeUserActions/FCP: p75 1.9s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 loadScripts

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/uiStartup: +14%
  • ↑ startupStandardHome/load: +11%
  • ↑ startupStandardHome/domContentLoaded: +12%
  • ↑ startupStandardHome/domInteractive: +23%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -29%
  • ↑ startupStandardHome/loadScripts: +11%
  • ↑ startupStandardHome/setupStore: +114%
  • ↓ startupStandardHome/longTaskCount: -29%
  • ↑ startupStandardHome/longTaskMaxDuration: +11%
  • ↑ startupStandardHome/tbt: +14%
  • ↑ startupStandardHome/fcp: +11%
  • ↑ startupStandardHome/lcp: +13%
  • ↑ startupStandardHome/cls: +400%
  • ↑ startupStandardHome/domInteractive: +16%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -50%
  • ↑ startupStandardHome/setupStore: +149%
User Journey Benchmarks · Samples: 5 · mock API
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total

📈 Results compared to the previous 5 runs on main

  • ↓ onboardingImportWallet/srpButtonToSrpForm: -17%
  • ↓ onboardingImportWallet/pwFormToMetricsScreen: -13%
  • ↓ onboardingImportWallet/metricsToWalletReadyScreen: -35%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -92%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -74%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -86%
  • ↓ onboardingNewWallet/srpButtonToPwForm: -19%
  • ↓ onboardingNewWallet/createPwToRecoveryScreen: -22%
  • ↓ onboardingNewWallet/skipBackupToMetricsScreen: -17%
  • ↓ onboardingNewWallet/agreeButtonToOnboardingSuccess: -47%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -75%
  • ↓ onboardingNewWallet/longTaskCount: -100%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -100%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -100%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -72%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -49%
  • ↓ dappPageLoad/firstPaint: -33%
  • ↓ dappPageLoad/firstContentfulPaint: -33%
Bundle Size Diffs [🚨 Warning! Bundle size has increased!]
Status Bundle Total Diff Change
✅ background 15.26 MiB +137 Bytes 0.00%
🚨 ui 19.33 MiB +1.58 KiB +0.01%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.44 MiB +7 Bytes 0.00%
✅ content scripts 3.23 MiB +14 Bytes 0.00%
🚨 unzipped 79.89 MiB +1.64 KiB 0.00%
✅ zip 24.07 MiB +730 Bytes 0.00%

@metamask-ci

metamask-ci Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor
Builds ready [b741c48]
⚡ Performance Benchmarks (Total: 🟢 6 pass · 🟡 3 warn · 🔴 3 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 41728672435 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]

Regressions (🔴 3 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +182%
  • ↑ loadNewAccount/total: +182%
  • ↓ loadNewAccount/inp: -10%
  • ↑ loadNewAccount/cls: +282%
  • ↑ confirmTx/longTaskTotalDuration: +49%
  • ↑ confirmTx/longTaskMaxDuration: +69%
  • ↑ confirmTx/tbt: +82%
  • ↓ confirmTx/inp: -13%
  • ↑ confirmTx/fcp: +11%
  • ↑ confirmTx/lcp: +11%
  • ↑ bridgeUserActions/bridge_load_page: +62%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +98%
  • ↑ bridgeUserActions/longTaskCount: +82%
  • ↑ bridgeUserActions/longTaskTotalDuration: +79%
  • ↑ bridgeUserActions/longTaskMaxDuration: +16%
  • ↑ bridgeUserActions/tbt: +141%
  • ↑ bridgeUserActions/total: +18%
  • ↑ bridgeUserActions/cls: +281%
  • ↑ loadNewAccount/load_new_account: +182%
  • ↑ loadNewAccount/total: +182%
  • ↓ loadNewAccount/inp: -33%
  • ↑ loadNewAccount/lcp: +980%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↓ confirmTx/inp: -37%
  • ↓ confirmTx/fcp: -58%
  • ↑ confirmTx/lcp: +1067%
  • ↑ bridgeUserActions/bridge_load_page: +224%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +156%
  • ↓ bridgeUserActions/bridge_search_token: -11%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +30%
  • ↑ bridgeUserActions/inp: +47%
  • ↓ bridgeUserActions/fcp: -54%
  • ↑ bridgeUserActions/lcp: +975%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 1.9s
  • 🟡 confirmTx/FCP: p75 1.9s
  • 🟡 bridgeUserActions/FCP: p75 1.9s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/uiStartup: +10%
  • ↑ startupStandardHome/domInteractive: +18%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -29%
  • ↑ startupStandardHome/setupStore: +166%
  • ↓ startupStandardHome/longTaskCount: -29%
  • ↑ startupStandardHome/lcp: +14%
  • ↑ startupStandardHome/cls: +400%
User Journey Benchmarks · Samples: 5 · mock API 🔴 1
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]
🔴 total

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/srpButtonToSrpForm: +65%
  • ↑ onboardingImportWallet/confirmSrpToPwForm: +70%
  • ↑ onboardingImportWallet/pwFormToMetricsScreen: +58%
  • ↑ onboardingImportWallet/metricsToWalletReadyScreen: +33%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -92%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -73%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -91%
  • ↓ onboardingImportWallet/tbt: -99%
  • ↓ onboardingImportWallet/total: -84%
  • ↑ onboardingNewWallet/srpButtonToPwForm: +39%
  • ↑ onboardingNewWallet/createPwToRecoveryScreen: +17%
  • ↑ onboardingNewWallet/skipBackupToMetricsScreen: +13%
  • ↑ onboardingNewWallet/agreeButtonToOnboardingSuccess: +18%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -80%
  • ↓ onboardingNewWallet/longTaskCount: -62%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -73%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -36%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -76%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -52%
  • ↓ dappPageLoad/firstPaint: -28%
  • ↓ dappPageLoad/firstContentfulPaint: -28%
Bundle Size Diffs [🚨 Warning! Bundle size has increased!]
Status Bundle Total Diff Change
✅ background 15.26 MiB +144 Bytes 0.00%
🚨 ui 19.33 MiB +3.06 KiB +0.02%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.44 MiB +14 Bytes 0.00%
✅ content scripts 3.23 MiB +28 Bytes 0.00%
🚨 unzipped 79.89 MiB +3.15 KiB 0.00%
🚨 zip 24.07 MiB +1.13 KiB 0.00%

@cursor
cursor Bot force-pushed the cursor/bridge-switch-tokens-mmds-d1f4 branch from b741c48 to 95146ce Compare November 5, 2026 20:47
@georgewrmarshall
georgewrmarshall marked this pull request as ready for review November 5, 2026 20:48
@metamask-ci

metamask-ci Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor
Builds ready [a768ba4]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 3 warn · 🔴 3 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 42285408620 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]

Regressions (🔴 3 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +185%
  • ↑ loadNewAccount/total: +185%
  • ↓ loadNewAccount/inp: -18%
  • ↑ loadNewAccount/fcp: +12%
  • ↑ loadNewAccount/lcp: +997%
  • ↑ loadNewAccount/cls: +597%
  • ↑ confirmTx/longTaskCount: +33%
  • ↑ confirmTx/longTaskTotalDuration: +59%
  • ↑ confirmTx/longTaskMaxDuration: +56%
  • ↑ confirmTx/tbt: +78%
  • ↓ confirmTx/inp: -21%
  • ↑ confirmTx/fcp: +11%
  • ↑ confirmTx/lcp: +1013%
  • ↓ confirmTx/cls: -14%
  • ↑ bridgeUserActions/bridge_load_page: +159%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +135%
  • ↑ bridgeUserActions/longTaskCount: +82%
  • ↑ bridgeUserActions/longTaskTotalDuration: +76%
  • ↑ bridgeUserActions/longTaskMaxDuration: +41%
  • ↑ bridgeUserActions/tbt: +73%
  • ↑ bridgeUserActions/total: +32%
  • ↑ bridgeUserActions/inp: +18%
  • ↑ bridgeUserActions/lcp: +977%
  • ↑ bridgeUserActions/cls: +636%
  • ↑ loadNewAccount/load_new_account: +182%
  • ↑ loadNewAccount/total: +182%
  • ↓ loadNewAccount/inp: -33%
  • ↑ loadNewAccount/lcp: +985%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↓ confirmTx/inp: -37%
  • ↓ confirmTx/fcp: -63%
  • ↑ confirmTx/lcp: +1045%
  • ↑ bridgeUserActions/bridge_load_page: +129%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +152%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +27%
  • ↑ bridgeUserActions/inp: +18%
  • ↓ bridgeUserActions/fcp: -60%
  • ↑ bridgeUserActions/lcp: +989%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 1.9s
  • 🟡 confirmTx/FCP: p75 1.9s
  • 🟡 bridgeUserActions/FCP: p75 1.9s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/uiStartup: +90%
  • ↑ startupStandardHome/load: +125%
  • ↑ startupStandardHome/domContentLoaded: +126%
  • ↑ startupStandardHome/domInteractive: +24%
  • ↓ startupStandardHome/firstPaint: -55%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -29%
  • ↑ startupStandardHome/loadScripts: +124%
  • ↑ startupStandardHome/setupStore: +108%
  • ↑ startupStandardHome/longTaskCount: +43%
  • ↑ startupStandardHome/longTaskTotalDuration: +123%
  • ↑ startupStandardHome/longTaskMaxDuration: +135%
  • ↑ startupStandardHome/tbt: +147%
  • ↓ startupStandardHome/fcp: -52%
  • ↑ startupStandardHome/lcp: +116%
  • ↓ startupStandardHome/cls: -72%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -50%
User Journey Benchmarks · Samples: 5 · mock API 🔴 1
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🔴 [CI log]
🔴 total

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/confirmSrpToPwForm: +24%
  • ↑ onboardingImportWallet/pwFormToMetricsScreen: +34%
  • ↑ onboardingImportWallet/metricsToWalletReadyScreen: +19%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -92%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -74%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -85%
  • ↓ onboardingNewWallet/createWalletToSocialScreen: -11%
  • ↓ onboardingNewWallet/srpButtonToPwForm: -26%
  • ↓ onboardingNewWallet/createPwToRecoveryScreen: -14%
  • ↓ onboardingNewWallet/agreeButtonToOnboardingSuccess: -46%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -77%
  • ↓ onboardingNewWallet/longTaskCount: -100%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -100%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -100%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -73%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -49%
  • ↓ dappPageLoad/firstPaint: -28%
  • ↓ dappPageLoad/firstContentfulPaint: -28%
Bundle Size Diffs
Status Bundle Total Diff Change
✅ background 15.26 MiB +130 Bytes 0.00%
✅ ui 19.42 MiB -205 Bytes 0.00%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.46 MiB 0 Bytes 0.00%
✅ content scripts 3.23 MiB 0 Bytes 0.00%
✅ unzipped 79.76 MiB -1.3 KiB 0.00%
✅ zip 23.86 MiB -230 Bytes 0.00%

@georgewrmarshall georgewrmarshall self-assigned this Nov 6, 2026
cursoragent and others added 2 commits November 10, 2026 01:07
…roup-mmds-d1f4

Resolve the conflicts with the swap input card layout from main (#47725)
while keeping this branch's MMDS bridge input group.

- Keep main's separate source and destination cards and flip-button markup.
- Keep the MMDS input group, including the token-address copy button.
- Refresh the prepare-page snapshots for that combination.
- Keep the flip-button rules in prepare/index.scss, which the new button
  still uses for hover, pressed, and the spin. The unused select-button,
  mascot, highlight, and settings-modal rules stay removed.
- Leave CHANGELOG.md and attribution.txt as they are on main.

Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
…1f4' into cursor/bridge-switch-tokens-mmds-d1f4

Keep the MMDS switch-tokens button on the 28px flip control from the
updated prepare page.

- Use ButtonIcon from the design system, with isDisabled and the down arrow.
- Keep the card gap, SVG notch, and 28px circle from the swap card layout.
- Refresh the prepare-page snapshots for that button.
- Leave CHANGELOG.md and attribution.txt unchanged.

Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
@metamask-ci

metamask-ci Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor
Builds ready [89f7d52]
⚡ Performance Benchmarks (Total: 🟢 7 pass · 🟡 4 warn · 🔴 2 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 42734394485 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]

Regressions (🔴 2 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟡 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +182%
  • ↑ loadNewAccount/total: +182%
  • ↓ loadNewAccount/inp: -10%
  • ↑ loadNewAccount/lcp: +945%
  • ↑ loadNewAccount/cls: +607%
  • ↑ confirmTx/longTaskCount: +67%
  • ↑ confirmTx/longTaskTotalDuration: +64%
  • ↑ confirmTx/longTaskMaxDuration: +49%
  • ↑ confirmTx/tbt: +71%
  • ↓ confirmTx/inp: -21%
  • ↑ confirmTx/lcp: +982%
  • ↓ confirmTx/cls: -14%
  • ↑ bridgeUserActions/bridge_load_page: +223%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +43%
  • ↑ bridgeUserActions/longTaskCount: +36%
  • ↑ bridgeUserActions/longTaskTotalDuration: +90%
  • ↑ bridgeUserActions/longTaskMaxDuration: +45%
  • ↑ bridgeUserActions/tbt: +175%
  • ↑ bridgeUserActions/total: +30%
  • ↑ bridgeUserActions/inp: +10%
  • ↑ bridgeUserActions/lcp: +982%
  • ↑ bridgeUserActions/cls: +577%
  • ↑ loadNewAccount/load_new_account: +180%
  • ↑ loadNewAccount/total: +180%
  • ↑ loadNewAccount/inp: +57%
  • ↓ loadNewAccount/fcp: -48%
  • ↑ loadNewAccount/lcp: +804%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↓ confirmTx/fcp: -72%
  • ↑ confirmTx/lcp: +818%
  • ↑ bridgeUserActions/bridge_load_page: +95%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +154%
  • ↓ bridgeUserActions/bridge_search_token: -11%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +20%
  • ↓ bridgeUserActions/fcp: -69%
  • ↑ bridgeUserActions/lcp: +889%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 loadNewAccount/FCP: p75 1.8s
  • 🟡 confirmTx/FCP: p75 1.9s
  • 🟡 bridgeUserActions/FCP: p75 1.9s
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 loadScripts

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/uiStartup: +88%
  • ↑ startupStandardHome/load: +123%
  • ↑ startupStandardHome/domContentLoaded: +124%
  • ↑ startupStandardHome/domInteractive: +23%
  • ↓ startupStandardHome/firstPaint: -55%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -29%
  • ↑ startupStandardHome/loadScripts: +122%
  • ↑ startupStandardHome/setupStore: +140%
  • ↑ startupStandardHome/longTaskCount: +43%
  • ↑ startupStandardHome/longTaskTotalDuration: +120%
  • ↑ startupStandardHome/longTaskMaxDuration: +124%
  • ↑ startupStandardHome/tbt: +143%
  • ↓ startupStandardHome/fcp: -50%
  • ↑ startupStandardHome/lcp: +124%
  • ↓ startupStandardHome/cls: -72%
  • ↑ startupStandardHome/domInteractive: +23%
  • ↑ startupStandardHome/backgroundConnect: +11%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -50%
  • ↑ startupStandardHome/inp: +50%
  • ↑ startupStandardHome/fcp: +26%
User Journey Benchmarks · Samples: 5 · mock API
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/srpButtonToSrpForm: +10%
  • ↑ onboardingImportWallet/confirmSrpToPwForm: +23%
  • ↑ onboardingImportWallet/pwFormToMetricsScreen: +34%
  • ↑ onboardingImportWallet/metricsToWalletReadyScreen: +16%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -91%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -74%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -85%
  • ↓ onboardingNewWallet/createWalletToSocialScreen: -12%
  • ↓ onboardingNewWallet/srpButtonToPwForm: -15%
  • ↓ onboardingNewWallet/agreeButtonToOnboardingSuccess: -31%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -78%
  • ↓ onboardingNewWallet/longTaskCount: -100%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -100%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -100%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -74%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -59%
  • ↓ dappPageLoad/domContentLoaded: -16%
  • ↓ dappPageLoad/firstPaint: -42%
  • ↓ dappPageLoad/firstContentfulPaint: -42%
Bundle Size Diffs
Status Bundle Total Diff Change
✅ background 15.24 MiB +115 Bytes 0.00%
✅ ui 19.44 MiB +130 Bytes 0.00%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.46 MiB 0 Bytes 0.00%
✅ content scripts 3.23 MiB 0 Bytes 0.00%
✅ unzipped 79.88 MiB -872 Bytes 0.00%
✅ zip 23.96 MiB -111 Bytes 0.00%

…roup-mmds-d1f4

Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
…1f4' into cursor/bridge-switch-tokens-mmds-d1f4

Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
@metamask-ci

metamask-ci Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor
Builds ready [9d651c5]
⚡ Performance Benchmarks (Total: 🟢 8 pass · 🟡 3 warn · 🔴 2 fail)

Baseline (latest main): f693520 | Date: 11/3/2026 | Pipeline: 42918133719 | Baseline logs

Metricschrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 load_new_account(p95) [CI log]🔴 load_new_account(p95) [CI log]

Regressions (🔴 2 failures)

Interaction Benchmarks · Samples: 5 🔴 2
Benchmarkchrome-webpackfirefox-webpack
loadNewAccount
[Sentry log · main/release]
🔴 [CI log]
🔴 load_new_account
🔴 [CI log]
🔴 load_new_account
confirmTx
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
bridgeUserActions
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↑ loadNewAccount/load_new_account: +181%
  • ↑ loadNewAccount/total: +181%
  • ↓ loadNewAccount/inp: -40%
  • ↓ loadNewAccount/fcp: -15%
  • ↑ loadNewAccount/lcp: +739%
  • ↑ loadNewAccount/cls: +294%
  • ↑ confirmTx/longTaskMaxDuration: +17%
  • ↑ confirmTx/tbt: +15%
  • ↓ confirmTx/inp: -44%
  • ↓ confirmTx/fcp: -21%
  • ↑ confirmTx/lcp: +695%
  • ↓ confirmTx/cls: -14%
  • ↑ bridgeUserActions/bridge_load_page: +32%
  • ↓ bridgeUserActions/longTaskTotalDuration: -24%
  • ↓ bridgeUserActions/longTaskMaxDuration: -25%
  • ↓ bridgeUserActions/tbt: -45%
  • ↓ bridgeUserActions/inp: -26%
  • ↓ bridgeUserActions/fcp: -21%
  • ↑ bridgeUserActions/lcp: +679%
  • ↑ bridgeUserActions/cls: +634%
  • ↑ loadNewAccount/load_new_account: +183%
  • ↑ loadNewAccount/total: +183%
  • ↓ loadNewAccount/inp: -25%
  • ↓ loadNewAccount/fcp: -56%
  • ↑ loadNewAccount/lcp: +946%
  • ↓ confirmTx/longTaskCount: -100%
  • ↓ confirmTx/longTaskTotalDuration: -100%
  • ↓ confirmTx/longTaskMaxDuration: -100%
  • ↓ confirmTx/tbt: -100%
  • ↑ confirmTx/inp: +122%
  • ↓ confirmTx/fcp: -63%
  • ↑ confirmTx/lcp: +1056%
  • ↑ bridgeUserActions/bridge_load_page: +199%
  • ↑ bridgeUserActions/bridge_load_asset_picker: +67%
  • ↓ bridgeUserActions/longTaskCount: -100%
  • ↓ bridgeUserActions/longTaskTotalDuration: -100%
  • ↓ bridgeUserActions/longTaskMaxDuration: -100%
  • ↓ bridgeUserActions/tbt: -100%
  • ↑ bridgeUserActions/total: +27%
  • ↑ bridgeUserActions/inp: +69%
  • ↓ bridgeUserActions/fcp: -65%
  • ↑ bridgeUserActions/lcp: +1025%

🌐 Core Web Vitals — 🟢 good · 🟡 needs improvement · 🔴 poor (web.dev thresholds)

  • 🟡 confirmTx/INP: p75 224ms
Startup Benchmarks · Samples: 100
Benchmarkchrome-webpackfirefox-webpack
startupStandardHome
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 loadScripts

📈 Results compared to the previous 5 runs on main

  • ↑ startupStandardHome/uiStartup: +100%
  • ↑ startupStandardHome/load: +135%
  • ↑ startupStandardHome/domContentLoaded: +136%
  • ↑ startupStandardHome/domInteractive: +35%
  • ↓ startupStandardHome/firstPaint: -50%
  • ↓ startupStandardHome/firstReactRender: -98%
  • ↓ startupStandardHome/initialActions: -29%
  • ↑ startupStandardHome/loadScripts: +134%
  • ↑ startupStandardHome/setupStore: +147%
  • ↑ startupStandardHome/longTaskCount: +79%
  • ↑ startupStandardHome/longTaskTotalDuration: +136%
  • ↑ startupStandardHome/longTaskMaxDuration: +142%
  • ↑ startupStandardHome/tbt: +159%
  • ↓ startupStandardHome/fcp: -49%
  • ↑ startupStandardHome/lcp: +129%
  • ↓ startupStandardHome/cls: -72%
  • ↑ startupStandardHome/domInteractive: +39%
  • ↓ startupStandardHome/firstReactRender: -99%
  • ↓ startupStandardHome/initialActions: -50%
  • ↑ startupStandardHome/fcp: +43%
User Journey Benchmarks · Samples: 5 · mock API
Benchmarkchrome-webpackfirefox-webpack
onboardingImportWallet
[Sentry log · main/release]
🟢 [CI log]🟢 [CI log]
onboardingNewWallet
[Sentry log · main/release]
🟢 [CI log]🟡 [CI log]
🟡 total

📈 Results compared to the previous 5 runs on main

  • ↑ onboardingImportWallet/pwFormToMetricsScreen: +12%
  • ↓ onboardingImportWallet/doneButtonToHomeScreen: -92%
  • ↓ onboardingImportWallet/openAccountMenuToAccountListLoaded: -74%
  • ↓ onboardingImportWallet/longTaskCount: -100%
  • ↓ onboardingImportWallet/longTaskTotalDuration: -100%
  • ↓ onboardingImportWallet/longTaskMaxDuration: -100%
  • ↓ onboardingImportWallet/tbt: -100%
  • ↓ onboardingImportWallet/total: -85%
  • ↓ onboardingNewWallet/createWalletToSocialScreen: -12%
  • ↓ onboardingNewWallet/srpButtonToPwForm: -28%
  • ↓ onboardingNewWallet/createPwToRecoveryScreen: -19%
  • ↓ onboardingNewWallet/skipBackupToMetricsScreen: -12%
  • ↓ onboardingNewWallet/agreeButtonToOnboardingSuccess: -50%
  • ↓ onboardingNewWallet/doneButtonToAssetList: -76%
  • ↓ onboardingNewWallet/longTaskCount: -100%
  • ↓ onboardingNewWallet/longTaskTotalDuration: -100%
  • ↓ onboardingNewWallet/longTaskMaxDuration: -100%
  • ↓ onboardingNewWallet/tbt: -100%
  • ↓ onboardingNewWallet/total: -73%
Dapp Page Load Benchmarks · Samples: 100
Benchmarkchrome-webpack
dappPageLoad
[Sentry log · main/release]
🟢 [CI log]

📈 Results compared to the previous 5 runs on main

  • ↓ dappPageLoad/pageLoadTime: -49%
  • ↓ dappPageLoad/firstPaint: -28%
  • ↓ dappPageLoad/firstContentfulPaint: -28%
Bundle Size Diffs
Status Bundle Total Diff Change
✅ background 15.21 MiB +115 Bytes 0.00%
✅ ui 19.48 MiB +130 Bytes 0.00%
✅ common 0 Bytes 0 Bytes 0.00%
✅ other 4.46 MiB 0 Bytes 0.00%
✅ content scripts 3.22 MiB 0 Bytes 0.00%
✅ unzipped 79.9 MiB -872 Bytes 0.00%
✅ zip 24.01 MiB -99 Bytes 0.00%

@sonarqubecloud

Copy link
Copy Markdown

@georgewrmarshall
georgewrmarshall added this pull request to the merge queue Nov 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to invalid changes in the merge commit Nov 11, 2026
@georgewrmarshall
georgewrmarshall added this pull request to the merge queue Nov 11, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue because the pull requests in the stack were not ordered correctly in the queue Nov 11, 2026
Base automatically changed from cursor/bridge-input-group-mmds-d1f4 to main November 11, 2026 19:21
@georgewrmarshall
georgewrmarshall added this pull request to the merge queue Nov 11, 2026
Merged via the queue into main with commit 85c9ddc Nov 11, 2026
142 checks passed
@georgewrmarshall
georgewrmarshall deleted the cursor/bridge-switch-tokens-mmds-d1f4 branch November 11, 2026 19:59
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 11, 2026
@metamaskbot metamaskbot added the release-13.58.0 Issue or pull request that will be included in release 13.58.0 label Nov 16, 2026

This branch was previously deployed

1 inactive deployment
pr-comment — 9d651c54 Deployed Nov 10, 2026 by cursor[bot] via Publish prerelease / Publish prerelease #173932
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.58.0 Issue or pull request that will be included in release 13.58.0 size-S team-design-system All issues relating to design system in Extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants