Skip to content

feat: BridgeQuotesModal v2#40720

Merged
micaelae merged 17 commits intomainfrom
swaps3645-more-quotes-v2
Mar 11, 2026
Merged

feat: BridgeQuotesModal v2#40720
micaelae merged 17 commits intomainfrom
swaps3645-more-quotes-v2

Conversation

@micaelae
Copy link
Member

@micaelae micaelae commented Mar 9, 2026

Description

  • implements the new bridge quotes list UI
  • also fixes a bug where the quoted destination token amount disappears after quotes expire

Open in GitHub Codespaces

Changelog

CHANGELOG entry: feat: update the bridge quotes list modal UI

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/SWAPS-3645

Manual testing steps

  1. Request quotes and expand quotes modal
  2. Inspect quoted values and compare to the selected quote
  3. Try to select an alternate quote
  4. Verify that selected quote is not preserved after refreshing quotes

Screenshots/Recordings

Before

After

Screenshot 2026-03-10 at 8 51 17 AM Screenshot 2026-03-10 at 8 52 06 AM Screenshot 2026-03-10 at 8 53 58 AM

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.

Note

Medium Risk
Moderate risk because it changes quote selection/active-quote derivation and displayed quote values, which can affect user decision-making and metrics events, though no auth/funds-moving logic is modified.

Overview
Updates BridgeQuotesModal to a new quote list layout: adds explanatory copy about cost-based sorting, shows provider + destination amount, formats Total cost consistently (with a Lowest cost tag), and removes the in-modal sort toggles/time column.

Fixes a prepare-page display bug by reading destination amount/fiat from unvalidatedQuote so the quoted receive amount doesn’t disappear when quotes expire, and extends getBridgeQuotes to compute activeQuote from selectedQuote.

Adjusts i18n strings across locales (adds bridgeLowestCost, bridgeQuotesSortedByCost, bridgeSelectQuote, updates quotedTotalCost, removes unused keys), updates Storybook mocks/snapshots, and updates E2E Solana swap fixtures/tests to use conversion/currency rates and the new quote text assertions.

Written by Cursor Bugbot for commit 9562eeb. This will update automatically on new commits. Configure here.

@metamaskbot metamaskbot added the team-swaps-and-bridge Swaps and Bridge team label Mar 9, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 9, 2026

✨ Files requiring CODEOWNER review ✨

🧪 @MetaMask/qa (1 files, +4 -5)
  • 📁 test/
    • 📁 e2e/
      • 📁 page-objects/
        • 📁 pages/
          • 📁 swap/
            • 📄 swap-page.ts +4 -5

🔄 @MetaMask/swaps-engineers (7 files, +773 -317)
  • 📁 ui/
    • 📁 ducks/
      • 📁 bridge/
        • 📄 selectors.ts +12 -3
    • 📁 pages/
      • 📁 bridge/
        • 📁 prepare/
          • 📄 prepare-bridge-page.tsx +7 -4
        • 📁 quotes/
          • 📁 __snapshots__/
            • 📄 bridge-quotes-modal.test.tsx.snap +394 -51
            • 📄 bridge-quotes-modal.stories.tsx +19 -3
            • 📄 bridge-quotes-modal.test.tsx +194 -2
            • 📄 bridge-quotes-modal.tsx +143 -254
            • 📄 index.scss +4 -0

@github-actions github-actions bot added the size-L label Mar 9, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 9, 2026

Builds ready [7674130]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account31730332610326326
total31730332610326326
Confirm Txconfirm_tx6105602561886361396188
total6105602561886361396188
Bridge User Actionsbridge_load_page23520226627256266
bridge_load_asset_picker16613019525193195
bridge_search_token72070573412734734
total1126110811411411391141
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14441213171810514981643
load1205100514259912591386
domContentLoaded1198100014169812541380
domInteractive2917108182572
firstPaint1477339172208256
backgroundConnect21519726013217250
firstReactRender19134652127
initialActions105124
loadScripts100080112239710481178
setupStore1364661622
numNetworkReqs312293202281
Power User HomeuiStartup29871778124552360239410985
load12331052171515112671605
domContentLoaded12131044170814612441592
domInteractive38202162938103
firstPaint202761513155262345
backgroundConnect1113264978921694148585
firstReactRender25165482841
initialActions107113
loadScripts995847143413710281350
setupStore1664881836
numNetworkReqs893922747102205
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2212202221221222
srpButtonToSrpForm96939829898
confirmSrpToPwForm22222202222
pwFormToMetricsScreen16151601616
metricsToWalletReadyScreen16151601616
doneButtonToHomeScreen69059483090755830
openAccountMenuToAccountListLoaded293629342937129372937
total4001391141338540584133
Onboarding New WalletcreateWalletToSocialScreen2192172201219220
srpButtonToPwForm1051041071105107
createPwToRecoveryScreen888088
skipBackupToMetricsScreen35333823538
agreeButtonToOnboardingSuccess16151601616
doneButtonToAssetList58449369881650698
total97187210778210371077
Asset DetailsassetClickToPriceChart1391331486148148
total1391331486148148
Solana Asset DetailsassetClickToPriceChart78758128181
total78758128181
Import Srp HomeloginToHomeScreen20171846238320320892383
openAccountMenuAfterLogin43375474354
homeAfterImportWithNewWallet2540246426648125602664
total44314137462319745984623
Send TransactionsopenSendPageFromHome19152751727
selectTokenToSendFormLoaded19162431824
reviewTransactionToConfirmationPage94684611881349961188
total997880127615710651276
SwapopenSwapPageFromHome17161811718
fetchAndDisplaySwapQuotes268926822696626952696
total270726982714627122714
🌐 Dapp Page Load Benchmarks

Current Commit: 7674130 | Date: 3/9/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±41ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 733ms (±38ms) 🟢 | historical mean value: 742ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±12ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 41ms 1.02s 1.35s 1.07s 1.35s
domContentLoaded 733ms 38ms 712ms 1.01s 761ms 1.01s
firstPaint 80ms 12ms 64ms 188ms 88ms 188ms
firstContentfulPaint 80ms 12ms 64ms 188ms 88ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.24 MiB (100%)
  • common: 10.99 MiB (100%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 9, 2026

Builds ready [66762c0]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account28727530612289306
total28727530612289306
Confirm Txconfirm_tx6055602560832660776083
total6055602560832660776083
Bridge User Actionsbridge_load_page27525328913281289
bridge_load_asset_picker18912423540216235
bridge_search_token73370477325746773
total1183111012786812481278
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14001181167510014331600
load116899013758712071345
domContentLoaded116298313708712011333
domInteractive2816162212479
firstPaint171691049119220294
backgroundConnect20819525311209235
firstReactRender20135682038
initialActions206225
loadScripts97079811808710101142
setupStore1363761623
numNetworkReqs312291192282
Power User HomeuiStartup2679157611622166126054805
load11841014266722411981604
domContentLoaded11701000262622211891596
domInteractive3619224263483
firstPaint2007151796253322
backgroundConnect724252670310794972711
firstReactRender24165162635
initialActions105112
loadScripts96178923932149791364
setupStore15584101631
numNetworkReqs87352024699177
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2192172211219221
srpButtonToSrpForm91919219292
confirmSrpToPwForm21212102121
pwFormToMetricsScreen15151501515
metricsToWalletReadyScreen16151811818
doneButtonToHomeScreen69360376269761762
openAccountMenuToAccountListLoaded290829062909129092909
total3969386240657940334065
Onboarding New WalletcreateWalletToSocialScreen2202162233222223
srpButtonToPwForm1061041081106108
createPwToRecoveryScreen888088
skipBackupToMetricsScreen36353813638
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList60947972298713722
total99586611129710941112
Asset DetailsassetClickToPriceChart12410914315141143
total12410914315141143
Solana Asset DetailsassetClickToPriceChart967511720114117
total967511720114117
Import Srp HomeloginToHomeScreen1916189319442119301944
openAccountMenuAfterLogin483570135670
homeAfterImportWithNewWallet2323223124448223482444
total4284416244129143134412
Send TransactionsopenSendPageFromHome20172432324
selectTokenToSendFormLoaded18171911919
reviewTransactionToConfirmationPage85884588315869883
total89788492616903926
SwapopenSwapPageFromHome642698247798
fetchAndDisplaySwapQuotes268526832687226862687
total2749271427842427602784
🌐 Dapp Page Load Benchmarks

Current Commit: 66762c0 | Date: 3/9/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±75ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 751ms (±73ms) 🟢 | historical mean value: 740ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 83ms (±10ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 75ms 1.02s 1.36s 1.32s 1.36s
domContentLoaded 751ms 73ms 711ms 1.02s 1.00s 1.02s
firstPaint 83ms 10ms 68ms 156ms 100ms 156ms
firstContentfulPaint 83ms 10ms 68ms 156ms 100ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.24 MiB (100%)
  • common: 10.99 MiB (100%)

@micaelae micaelae marked this pull request as ready for review March 10, 2026 15:27
@micaelae micaelae requested review from a team as code owners March 10, 2026 15:27
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

Builds ready [4f35acb]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account28926533626299336
total28926533626299336
Confirm Txconfirm_tx6025601260441260296044
total6025601260441260296044
Bridge User Actionsbridge_load_page25622128527283285
bridge_load_asset_picker19013425546213255
bridge_search_token72769576624737766
total1174105712607612331260
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14411191197911914771660
load1191996166110212241378
domContentLoaded1185991164810112211357
domInteractive2917105192583
firstPaint162691403146201274
backgroundConnect21419738121214245
firstReactRender21124262234
initialActions108124
loadScripts98878814349910221160
setupStore1365071626
numNetworkReqs362797193080
Power User HomeuiStartup3610189613952256844058583
load12481041187716812891561
domContentLoaded12281033184716112691546
domInteractive40192503933133
firstPaint2068054099276345
backgroundConnect13062701097022837935037
firstReactRender25174452733
initialActions103112
loadScripts1007822160014910451306
setupStore1574961624
numNetworkReqs1488429147162247
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202192221221222
srpButtonToSrpForm94939619496
confirmSrpToPwForm21212102121
pwFormToMetricsScreen15151501515
metricsToWalletReadyScreen16161711617
doneButtonToHomeScreen70359379579760795
openAccountMenuToAccountListLoaded28362707295910328992959
total39093716406912840314069
Onboarding New WalletcreateWalletToSocialScreen2192192190219219
srpButtonToPwForm1051031071107107
createPwToRecoveryScreen888088
skipBackupToMetricsScreen33333413434
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList59348270493687704
total97686410909510691090
Asset DetailsassetClickToPriceChart13310816220147162
total13310816220147162
Solana Asset DetailsassetClickToPriceChart83798628586
total83798628586
Import Srp HomeloginToHomeScreen2054197221345920752134
openAccountMenuAfterLogin65371082682108
homeAfterImportWithNewWallet2181214422263422262226
total45334164485927347194859
Send TransactionsopenSendPageFromHome342356134156
selectTokenToSendFormLoaded20182222122
reviewTransactionToConfirmationPage8468428493847849
total8948899014895901
SwapopenSwapPageFromHome31213863538
fetchAndDisplaySwapQuotes2694268227131327062713
total272427132740927282740
🌐 Dapp Page Load Benchmarks

Current Commit: 4f35acb | Date: 3/10/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±43ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 750ms (±65ms) 🟢 | historical mean value: 729ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 86ms (±43ms) 🟢 | historical mean value: 82ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 43ms 1.04s 1.39s 1.09s 1.39s
domContentLoaded 750ms 65ms 726ms 1.34s 771ms 1.34s
firstPaint 86ms 43ms 64ms 512ms 92ms 512ms
firstContentfulPaint 86ms 43ms 64ms 512ms 92ms 512ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.34 MiB (100%)
  • common: 10.99 MiB (100%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

Builds ready [d3aade4]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account30126235535326355
total30126235535326355
Confirm Txconfirm_tx599959946005560036005
total599959946005560036005
Bridge User Actionsbridge_load_page2011962074205207
bridge_load_asset_picker21416630854242308
bridge_search_token73370080141760801
total1149106713109612071310
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14421210173110314861631
load119698414129012301383
domContentLoaded118997914098812261358
domInteractive3018119212683
firstPaint1517041877208272
backgroundConnect21519628713216238
firstReactRender21135362231
initialActions1010215
loadScripts99079011998710291167
setupStore1363561523
numNetworkReqs362790192788
Power User HomeuiStartup38521880152832746345711091
load12741074166713713201588
domContentLoaded12521054164812912841551
domInteractive37201572933117
firstPaint225881515158281364
backgroundConnect14602821213725397738412
firstReactRender26194862938
initialActions109114
loadScripts1029837141111810541301
setupStore1455171524
numNetworkReqs1628236750184259
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202172232221223
srpButtonToSrpForm94929619496
confirmSrpToPwForm22212312323
pwFormToMetricsScreen15151601616
metricsToWalletReadyScreen17171801718
doneButtonToHomeScreen65859473459719734
openAccountMenuToAccountListLoaded2918290329291129292929
total39423801412311140044123
Onboarding New WalletcreateWalletToSocialScreen2202182232223223
srpButtonToPwForm1071041113110111
createPwToRecoveryScreen889099
skipBackupToMetricsScreen35343503535
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList4964924983498498
total8788668888880888
Asset DetailsassetClickToPriceChart96929839898
total96929839898
Solana Asset DetailsassetClickToPriceChart79748338183
total79748338183
Import Srp HomeloginToHomeScreen202020122025620252025
openAccountMenuAfterLogin48474804848
homeAfterImportWithNewWallet24952291271016026552710
total45764247477119547284771
Send TransactionsopenSendPageFromHome26213242532
selectTokenToSendFormLoaded18171911919
reviewTransactionToConfirmationPage8468448502846850
total8908868943893894
SwapopenSwapPageFromHome26213763037
fetchAndDisplaySwapQuotes268626842691326862691
total271327042722627142722
🌐 Dapp Page Load Benchmarks

Current Commit: d3aade4 | Date: 3/10/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±43ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 744ms (±40ms) 🟢 | historical mean value: 728ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 82ms (±12ms) 🟢 | historical mean value: 83ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 43ms 1.02s 1.35s 1.10s 1.35s
domContentLoaded 744ms 40ms 712ms 1.02s 778ms 1.02s
firstPaint 82ms 12ms 64ms 192ms 88ms 192ms
firstContentfulPaint 82ms 12ms 64ms 192ms 88ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.34 MiB (100%)
  • common: 10.99 MiB (100%)

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

Builds ready [9c0bc35]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2702672732272273
total2702672732272273
Confirm Txconfirm_tx599859876010860036010
total599859876010860036010
Bridge User Actionsbridge_load_page24920729233282292
bridge_load_asset_picker18314422128191221
bridge_search_token72569874519744745
total1182107912778112441277
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14421219182410214851624
load119499515829312321369
domContentLoaded118899215719112271359
domInteractive2917122202581
firstPaint1477136974208294
backgroundConnect21319626414217247
firstReactRender20136162226
initialActions1015214
loadScripts98979913628810251155
setupStore1363851521
numNetworkReqs362792192787
Power User HomeuiStartup57412186174623034682810561
load13401141262118814001612
domContentLoaded13231136260818213761571
domInteractive3621278293577
firstPaint213901280141276360
backgroundConnect235729914576282130085021
firstReactRender28205053036
initialActions104113
loadScripts1094919232717511541333
setupStore1765092030
numNetworkReqs1306429541139233
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2192182201220220
srpButtonToSrpForm92919419294
confirmSrpToPwForm21212202122
pwFormToMetricsScreen15151501515
metricsToWalletReadyScreen16161601616
doneButtonToHomeScreen71160285096766850
openAccountMenuToAccountListLoaded2917289729401829352940
total3998390141478940344147
Onboarding New WalletcreateWalletToSocialScreen2202172253222225
srpButtonToPwForm1071061102107110
createPwToRecoveryScreen889099
skipBackupToMetricsScreen35353603636
agreeButtonToOnboardingSuccess16161701617
doneButtonToAssetList55348859742582597
total94689698033972980
Asset DetailsassetClickToPriceChart12910015821142158
total12910015821142158
Solana Asset DetailsassetClickToPriceChart79738867988
total79738867988
Import Srp HomeloginToHomeScreen2203215822383122252238
openAccountMenuAfterLogin74608697986
homeAfterImportWithNewWallet24922220304730726003047
total46264478481912346124819
Send TransactionsopenSendPageFromHome32303413434
selectTokenToSendFormLoaded341654165354
reviewTransactionToConfirmationPage1146846158227712551582
total1218880171330913421713
SwapopenSwapPageFromHome332049103949
fetchAndDisplaySwapQuotes269126892694226902694
total272027102730727212730
🌐 Dapp Page Load Benchmarks

Current Commit: 9c0bc35 | Date: 3/10/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±45ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 734ms (±40ms) 🟢 | historical mean value: 736ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 81ms (±11ms) 🟢 | historical mean value: 84ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 45ms 992ms 1.34s 1.07s 1.34s
domContentLoaded 734ms 40ms 696ms 1.01s 755ms 1.01s
firstPaint 81ms 11ms 64ms 180ms 88ms 180ms
firstContentfulPaint 81ms 11ms 64ms 180ms 88ms 180ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.15 MiB (100%)
  • ui: 8.32 MiB (100%)
  • common: 11 MiB (100%)

@micaelae micaelae enabled auto-merge March 10, 2026 19:56
davibroc
davibroc previously approved these changes Mar 11, 2026
@sonarqubecloud
Copy link

@micaelae micaelae added this pull request to the merge queue Mar 11, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 11, 2026

Builds ready [9562eeb]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account30127133529325335
total30127133529325335
Confirm Txconfirm_tx6043601860762360626076
total6043601860762360626076
Bridge User Actionsbridge_load_page23722326316234263
bridge_load_asset_picker17414520421179204
bridge_search_token73670678330760783
total1187110812816712521281
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14771218198612515201684
load12231009163610712671404
domContentLoaded12161005162910512621390
domInteractive3017134202674
firstPaint165671379147221322
backgroundConnect21919728616222245
firstReactRender21145362236
initialActions105113
loadScripts1013815142110310571191
setupStore1364161622
numNetworkReqs352786172881
Power User HomeuiStartup59912195183432989679511637
load13601131186613214041599
domContentLoaded13381121184612213891551
domInteractive38211592735107
firstPaint250821669231303412
backgroundConnect236932814987274632837607
firstReactRender27195962937
initialActions106114
loadScripts1105915157211111411314
setupStore1786171927
numNetworkReqs1966835854222299
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2212162243222224
srpButtonToSrpForm100941065104106
confirmSrpToPwForm22212202222
pwFormToMetricsScreen15151501515
metricsToWalletReadyScreen16161601616
doneButtonToHomeScreen65259575558668755
openAccountMenuToAccountListLoaded2922291029361029302936
total3918387439523039383952
Onboarding New WalletcreateWalletToSocialScreen2212172232221223
srpButtonToPwForm1061051081107108
createPwToRecoveryScreen889099
skipBackupToMetricsScreen35353603536
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList4934904952495495
total8798718896880889
Asset DetailsassetClickToPriceChart13911116322154163
total13911116322154163
Solana Asset DetailsassetClickToPriceChart89829859298
total89829859298
Import Srp HomeloginToHomeScreen2225215922704122452270
openAccountMenuAfterLogin65616826668
homeAfterImportWithNewWallet2344230323823023602382
total47324530495815348384958
Send TransactionsopenSendPageFromHome28243962739
selectTokenToSendFormLoaded29194393043
reviewTransactionToConfirmationPage959848107911010581079
total1135891157524811841575
SwapopenSwapPageFromHome322049134849
fetchAndDisplaySwapQuotes269326902696226932696
total2728271327401027382740
🌐 Dapp Page Load Benchmarks

Current Commit: 9562eeb | Date: 3/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.08s (±41ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 760ms (±39ms) 🟢 | historical mean value: 741ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±13ms) 🟢 | historical mean value: 83ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.08s 41ms 1.06s 1.38s 1.10s 1.38s
domContentLoaded 760ms 39ms 736ms 1.04s 784ms 1.04s
firstPaint 84ms 13ms 64ms 200ms 96ms 200ms
firstContentfulPaint 84ms 13ms 64ms 200ms 96ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 58 Bytes (0%)
  • ui: -1.1 KiB (-0.01%)
  • common: 24 Bytes (0%)

Merged via the queue into main with commit d0c67fd Mar 11, 2026
184 checks passed
@micaelae micaelae deleted the swaps3645-more-quotes-v2 branch March 11, 2026 17:56
@metamaskbot metamaskbot added the release-13.23.0 Issue or pull request that will be included in release 13.23.0 label Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-13.23.0 Issue or pull request that will be included in release 13.23.0 size-L team-swaps-and-bridge Swaps and Bridge team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants