Skip to content

Conversation

@DDDDDanica
Copy link
Contributor

@DDDDDanica DDDDDanica commented Nov 14, 2025

Description

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Fixes: partial is for https://github.com/MetaMask/MetaMask-planning/issues/6231

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

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

Replace history-based navigation with v5-compat navigate and PREVIOUS_ROUTE/DEFAULT_ROUTE across the app, updating routing scaffolding, components, hooks, tests, and stories.

  • Router/Navigation:
    • Add v5-to-v5-compat navigate bridge in routes.component.tsx; pass navigate, location, and params to v5-compat components via helpers.
    • Replace navigate(-1) with navigate(PREVIOUS_ROUTE); standardize uses of DEFAULT_ROUTE and other route constants.
    • Switch to react-router-dom-v5-compat APIs (useNavigate, useLocation, useMatch, matchPath) across files.
  • Components:
    • Update many components to accept/use navigate instead of history (e.g., Alerts, InvalidCustomNetworkAlert, HideTokenConfirmationModal, NicknamePopover, SRP-related components, NFT image view, transaction details, permissions page, snaps list/view, home, connected accounts/sites, asset options/token asset, notifications settings, wallet/account details).
    • Use PREVIOUS_ROUTE for back actions (e.g., SRP flows, bridge tx details, send hooks, confirm flows).
  • Hooks/Utils:
    • Migrate hooks to v5-compat (useClaimState, useCurrentAsset, useSegmentContext).
    • Update utils.js route matching to v5-compat matchPath signature.
  • Tests/Stories:
    • Update tests to use navigate-aware render helpers and constants (DEFAULT_ROUTE, PREVIOUS_ROUTE); adjust mocks accordingly.
    • Storybook: replace MemoryRouter usage where needed; pass navigate args.
  • Misc:
    • Minor cleanup in rewards slice (remove extraneous whitespace).

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

@github-actions
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.

@metamaskbot metamaskbot added the team-extension-platform Extension Platform team label Nov 14, 2025
@DDDDDanica DDDDDanica marked this pull request as ready for review November 14, 2025 00:10
@DDDDDanica DDDDDanica requested a review from a team as a code owner November 14, 2025 00:10
@metamaskbot
Copy link
Collaborator

metamaskbot commented Nov 14, 2025

✨ Files requiring CODEOWNER review ✨

🔑 @MetaMask/accounts-engineers (6 files, +38 -32)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 account-details/
          • 📄 account-details.test.js +2 -1
          • 📄 account-details.tsx +14 -3
      • 📁 multichain-accounts/
        • 📁 account-show-srp-row/
          • 📄 account-show-srp-row.tsx +1 -0
        • 📁 multichain-address-rows-hovered-list/
          • 📄 multichain-hovered-address-rows-hovered-list.test.tsx +16 -24
          • 📄 multichain-hovered-address-rows-hovered-list.tsx +4 -4
        • 📁 multichain-srp-backup/
          • 📄 multichain-srp-backup.tsx +1 -0

👨‍🔧 @MetaMask/core-extension-ux (7 files, +24 -20)
  • 📁 ui/
    • 📁 components/
      • 📁 app/
        • 📁 transaction-list-item/
          • 📄 transaction-list-item.component.unified-swap-bridge.test.tsx +1 -1
        • 📁 transaction-list-item-details/
          • 📄 transaction-list-item-details.component.js +3 -3
      • 📁 multichain/
        • 📁 account-details/
          • 📄 account-details.test.js +2 -1
          • 📄 account-details.tsx +14 -3
        • 📁 notification-detail-button/
          • 📄 notification-detail-button.test.tsx +0 -10
        • 📁 pages/
          • 📁 permissions-page/
            • 📄 permissions-page.js +3 -1
            • 📄 permissions-page.test.js +1 -1

💎 @MetaMask/metamask-assets (1 files, +5 -2)
  • 📁 ui/
    • 📁 components/
      • 📁 app/
        • 📁 assets/
          • 📁 nfts/
            • 📁 nft-details/
              • 📄 nft-full-image.tsx +5 -2

🔔 @MetaMask/notifications (1 files, +0 -10)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 notification-detail-button/
          • 📄 notification-detail-button.test.tsx +0 -10

@DDDDDanica DDDDDanica requested review from a team as code owners November 14, 2025 00:10
@DDDDDanica DDDDDanica self-assigned this Nov 19, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [66acd3c]
UI Startup Metrics (1269 ± 105 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12691095156310513461469
load110495213929711731282
domContentLoaded109795013879511671257
domInteractive2414122182172
firstPaint69379129345311361229
backgroundConnect2412272839245256
firstReactRender29205273047
getState23882122743
initialActions104112
loadScripts8637171144949341019
setupStore1172121217
numNetworkReqs1367619672
BrowserifyPower User HomeuiStartup20441698238917221442389
load1117981150317513741503
domContentLoaded1098948149518113661495
domInteractive541818155121181
firstPaint54620514083779681408
backgroundConnect2522392698254269
firstReactRender71531261881126
getState20716927831235278
initialActions103133
loadScripts868719125417711341254
setupStore27749113349
numNetworkReqs1229218130168181
WebpackStandard HomeuiStartup85172212261058511123
load62056798285620871
domContentLoaded61256194580611854
domInteractive181261131555
firstPaint22064921210196767
backgroundConnect251180142554
firstReactRender3420285273664
getState1162431217
initialActions105111
loadScripts60955993578608844
setupStore1264671333
numNetworkReqs1367319870
WebpackPower User HomeuiStartup1067937144315911701443
load67457510521447791052
domContentLoaded66256510261397631026
domInteractive42131885285188
firstPaint4096310353307661035
backgroundConnect341078204978
firstReactRender41384624146
getState1365416930153169
initialActions101011
loadScripts65756310151367521015
setupStore106276927
numNetworkReqs786312420104124
FirefoxBrowserifyStandard HomeuiStartup15471363218314615971867
load1305118415449013651501
domContentLoaded1305118315439013651501
domInteractive62352093866162
firstPaint------
backgroundConnect50252664049161
firstReactRender28225752839
getState127114121121
initialActions113122
loadScripts1275116015218413341449
setupStore13764101236
numNetworkReqs1266416762
BrowserifyPower User HomeuiStartup31962494458157737014581
load15681329201323818692013
domContentLoaded15671329201223818682012
domInteractive24988606176446606
firstPaint------
backgroundConnect54910313993948251399
firstReactRender90621281696128
getState1657939267184392
initialActions317137
loadScripts15261303198423618331984
setupStore963323457142234
numNetworkReqs1217223662210236
WebpackStandard HomeuiStartup16671496223814916802043
load14151246178911114391699
domContentLoaded14151246178911114381699
domInteractive59302323467118
firstPaint------
backgroundConnect52251252459115
firstReactRender342684113443
getState157105141252
initialActions206123
loadScripts13811228175610014071612
setupStore168134171352
numNetworkReqs1367217766
WebpackPower User HomeuiStartup32912509454765838974547
load16921459233223418252332
domContentLoaded16911459233123418242331
domInteractive23482652181422652
firstPaint------
backgroundConnect46211311413479461141
firstReactRender906013118102131
getState1588621132183211
initialActions318238
loadScripts16471421222122717902221
setupStore12824502135164502
numNetworkReqs1277423355191233
📊 Page Load Benchmark Results

Current Commit: 66acd3c | Date: 11/19/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±38ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 719ms (±36ms) 🟢 | historical mean value: 728ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±15ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 38ms 1.01s 1.33s 1.06s 1.33s
domContentLoaded 719ms 36ms 702ms 998ms 738ms 998ms
firstPaint 76ms 15ms 60ms 212ms 84ms 212ms
firstContentfulPaint 76ms 15ms 60ms 212ms 84ms 212ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.62 KiB (0.03%)
  • ui: 11.36 KiB (0.15%)
  • common: 25.53 KiB (0.29%)

@metamaskbot
Copy link
Collaborator

Builds ready [b0a310d]
📊 Page Load Benchmark Results

Current Commit: b0a310d | Date: 11/19/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.09s (±47ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 754ms (±43ms) 🟢 | historical mean value: 722ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 82ms (±14ms) 🟢 | historical mean value: 80ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.09s 47ms 1.06s 1.42s 1.14s 1.42s
domContentLoaded 754ms 43ms 728ms 1.07s 798ms 1.07s
firstPaint 82ms 14ms 64ms 204ms 92ms 204ms
firstContentfulPaint 82ms 14ms 64ms 204ms 92ms 204ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.59 KiB (0.03%)
  • ui: 11.66 KiB (0.16%)
  • common: 25.68 KiB (0.29%)

@DDDDDanica DDDDDanica force-pushed the refactor/5477/v5-compat branch from b0a310d to 12736f7 Compare November 19, 2025 11:13
@github-actions github-actions bot added size-M and removed size-L labels Nov 19, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [12736f7]
📊 Page Load Benchmark Results

Current Commit: 12736f7 | Date: 11/19/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1000ms (±47ms) 🟢 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 692ms (±43ms) 🟢 | historical mean value: 718ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1000ms 47ms 965ms 1.34s 1.02s 1.34s
domContentLoaded 692ms 43ms 665ms 1.01s 704ms 1.01s
firstPaint 77ms 11ms 64ms 172ms 88ms 172ms
firstContentfulPaint 77ms 11ms 64ms 172ms 88ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 1.59 KiB (0.03%)
  • ui: 29.53 KiB (0.4%)
  • common: 26.42 KiB (0.3%)

@metamaskbot
Copy link
Collaborator

Builds ready [202a374]
UI Startup Metrics (1256 ± 106 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12561086164010613421446
load106991713299211381209
domContentLoaded106290913239111281202
domInteractive2514127212280
firstPaint55579122241610431185
backgroundConnect21820025610222236
firstReactRender3020160163148
getState361773124165
initialActions102111
loadScripts851696110390922989
setupStore1172631118
numNetworkReqs1367519671
BrowserifyPower User HomeuiStartup18291564241623319732377
load98287314801549851438
domContentLoaded96686514641539681418
domInteractive34151793627136
firstPaint5788514954129291416
backgroundConnect21720326210221240
firstReactRender7549120128295
getState17313928235188250
initialActions102011
loadScripts76666212581527641216
setupStore19652102739
numNetworkReqs956719331104181
WebpackStandard HomeuiStartup8437151131798581027
load59954986967606777
domContentLoaded59254485063598761
domInteractive171165121553
firstPaint21956855214187746
backgroundConnect2712101172968
firstReactRender3219105123743
getState19113052327
initialActions104112
loadScripts58954284061596752
setupStore1163541316
numNetworkReqs1467520874
WebpackPower User HomeuiStartup13721188234521914441801
load67558612461456621048
domContentLoaded65457412091356331018
domInteractive32132114319156
firstPaint350671215290611938
backgroundConnect51123144375126
firstReactRender7944114138596
getState15711723620166199
initialActions102011
loadScripts65157212001336311010
setupStore19774153044
numNetworkReqs1346724452194230
FirefoxBrowserifyStandard HomeuiStartup13231150190913713751521
load111097614929511611309
domContentLoaded110997614909511611309
domInteractive64302524383142
firstPaint------
backgroundConnect4221161254397
firstReactRender25185972538
getState1062741122
initialActions103122
loadScripts108395914008511281270
setupStore14580121437
numNetworkReqs1266915855
BrowserifyPower User HomeuiStartup28772007356631831023487
load12561007173819813601637
domContentLoaded12551006173719813601637
domInteractive15536596137185513
firstPaint------
backgroundConnect2802810522964101006
firstReactRender90521552196145
getState240551605271186872
initialActions2130323
loadScripts1201988170518312651605
setupStore1198796184110710
numNetworkReqs95602414392204
WebpackStandard HomeuiStartup13761187206714813981685
load11741038164310712071385
domContentLoaded11741038164310712071384
domInteractive65292324285134
firstPaint------
backgroundConnect3720278303986
firstReactRender26206672936
getState105467930
initialActions102112
loadScripts11521022156410011851363
setupStore12594121039
numNetworkReqs1367418764
WebpackPower User HomeuiStartup27302006345929628973307
load13701108189517014531714
domContentLoaded13701107189517014531714
domInteractive13231510120145463
firstPaint------
backgroundConnect16221670162199574
firstReactRender89392593294139
getState25368849267178822
initialActions3030428
loadScripts13351091177816113971675
setupStore1087783170100612
numNetworkReqs96592394692212
📊 Page Load Benchmark Results

Current Commit: 202a374 | Date: 11/19/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.19s (±53ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 819ms (±48ms) 🟢 | historical mean value: 730ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 94ms (±17ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.19s 53ms 1.14s 1.59s 1.22s 1.59s
domContentLoaded 819ms 48ms 783ms 1.18s 841ms 1.18s
firstPaint 94ms 17ms 72ms 244ms 108ms 244ms
firstContentfulPaint 94ms 17ms 72ms 244ms 108ms 244ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 781 Bytes (0.01%)
  • common: 59 Bytes (0%)

@github-actions github-actions bot added size-XL and removed size-M labels Nov 20, 2025
@DDDDDanica DDDDDanica force-pushed the refactor/5477/v5-compat branch from 996910f to 95d2990 Compare November 20, 2025 14:01
@DDDDDanica DDDDDanica requested a review from a team as a code owner November 20, 2025 14:01
@metamaskbot
Copy link
Collaborator

Builds ready [6d381a4]
UI Startup Metrics (1293 ± 104 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12931099162110413551481
load109394613799511471256
domContentLoaded108493413639411361248
domInteractive2715107202480
firstPaint67194138543610941242
backgroundConnect22820432018233261
firstReactRender312070113652
getState341878113859
initialActions109112
loadScripts8667171143959151034
setupStore1162541221
numNetworkReqs1257820573
BrowserifyPower User HomeuiStartup18671522293928820272485
load97684718651799671473
domContentLoaded96083318561779501441
domInteractive35161793931155
firstPaint6169715023919251422
backgroundConnect21118925313217243
firstReactRender81511321688117
getState18914236452196321
initialActions103112
loadScripts76765216541757521241
setupStore18652102242
numNetworkReqs1366829952173252
WebpackStandard HomeuiStartup826744101974849999
load61856680362624788
domContentLoaded61456179861620782
domInteractive251499202189
firstPaint22381810150214596
backgroundConnect1263781631
firstReactRender30215463441
getState311464113948
initialActions103113
loadScripts61155978859617773
setupStore1264851420
numNetworkReqs1257619569
WebpackPower User HomeuiStartup13761167195720614801841
load624551979103628909
domContentLoaded614545963102616899
domInteractive31151322926116
firstPaint29386928212350874
backgroundConnect1373351624
firstReactRender7746104118297
getState16013630035162247
initialActions103112
loadScripts611543954100614891
setupStore19851112442
numNetworkReqs1446431053180273
FirefoxBrowserifyStandard HomeuiStartup12851081168812113531531
load107992912918211331232
domContentLoaded107792412918211321231
domInteractive63312244084137
firstPaint------
backgroundConnect3621108154076
firstReactRender24185882349
getState12614116947
initialActions102012
loadScripts105691412647811071213
setupStore1369917964
numNetworkReqs1156815655
BrowserifyPower User HomeuiStartup26342115349128928163228
load1160932166418112341557
domContentLoaded1159932165818112341557
domInteractive14234595141165524
firstPaint------
backgroundConnect186291094207225698
firstReactRender85411642189137
getState19367829207155782
initialActions209123
loadScripts1126917162017811731515
setupStore15110801213132740
numNetworkReqs87552104185193
WebpackStandard HomeuiStartup14011225187012614641674
load1194102915289512701379
domContentLoaded1194102915289512701379
domInteractive58272533979130
firstPaint------
backgroundConnect4122120204393
firstReactRender2720113103034
getState1068181016
initialActions103112
loadScripts1170101514968912241330
setupStore14587161052
numNetworkReqs1156416662
WebpackPower User HomeuiStartup28412062374732830213561
load13961139180818916081733
domContentLoaded13951139180818916081732
domInteractive12729549118136450
firstPaint------
backgroundConnect15324899177177647
firstReactRender86401492092128
getState27283906270291815
initialActions2030326
loadScripts13611088177618915801705
setupStore99580818085698
numNetworkReqs91612124485204
📊 Page Load Benchmark Results

Current Commit: 6d381a4 | Date: 11/22/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±43ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 734ms (±41ms) 🟢 | historical mean value: 731ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±10ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 43ms 1.02s 1.38s 1.09s 1.38s
domContentLoaded 734ms 41ms 711ms 1.05s 769ms 1.05s
firstPaint 78ms 10ms 60ms 164ms 84ms 164ms
firstContentfulPaint 78ms 10ms 60ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 4.06 KiB (0.06%)
  • common: 113 Bytes (0%)

@DDDDDanica DDDDDanica force-pushed the refactor/5477/v5-compat branch from 6d381a4 to fce7555 Compare November 23, 2025 23:50
@DDDDDanica DDDDDanica force-pushed the refactor/5477/v5-compat branch 2 times, most recently from 6e7d162 to 70f27cf Compare November 24, 2025 00:08
<ConnectedAccounts navigate={this.props.navigate} />
</ScrollContainer>
);
}
Copy link

Choose a reason for hiding this comment

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

Bug: Routes removed breaking navigation to connected pages

The Route components for CONNECTED_ROUTE and CONNECTED_ACCOUNTS_ROUTE were removed and replaced with conditional rendering based on location.pathname. This breaks routing because these paths are now rendered inside the DEFAULT_ROUTE handler instead of being proper routes. The router won't match these URLs correctly, causing navigation issues. Users navigating to /connected or /connected/accounts will see the correct content but the router state will be incorrect, potentially breaking back navigation and other routing-dependent features.

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@metamaskbot
Copy link
Collaborator

Builds ready [70f27cf]
UI Startup Metrics (1224 ± 99 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1224107116009912761406
load104490813809111021202
domContentLoaded103890513749110951196
domInteractive241392192181
firstPaint52274133942010121172
backgroundConnect21419824811219239
firstReactRender29205593449
getState311680113454
initialActions104112
loadScripts831699115992890985
setupStore1074141116
numNetworkReqs1257720573
BrowserifyPower User HomeuiStartup18671581340327920292339
load997874213317610011408
domContentLoaded98286920631719761390
domInteractive36151954129154
firstPaint4428621033585491009
backgroundConnect22120226311225243
firstReactRender81471501488103
getState17012933843185261
initialActions106112
loadScripts77865618581717751189
setupStore201082122641
numNetworkReqs90651872999169
WebpackStandard HomeuiStartup806718103769831969
load61456183766624778
domContentLoaded60955582765621770
domInteractive2412108192076
firstPaint24889799171288597
backgroundConnect1254271528
firstReactRender29214153338
getState291488113744
initialActions103112
loadScripts60655381963619762
setupStore1273341419
numNetworkReqs1257119570
WebpackPower User HomeuiStartup15181248228424916602080
load69760811191256981078
domContentLoaded68660111131246801068
domInteractive40181814131162
firstPaint2971061101211303695
backgroundConnect1583662028
firstReactRender86531231191102
getState16113027030169242
initialActions103112
loadScripts68359911031226791059
setupStore24992153554
numNetworkReqs1446830457181287
FirefoxBrowserifyStandard HomeuiStartup12431068180913812801547
load104590213958910971209
domContentLoaded104490213948910951209
domInteractive60302283883139
firstPaint------
backgroundConnect41211572540106
firstReactRender22186662234
getState136212241047
initialActions103122
loadScripts102088712628010711168
setupStore1053461030
numNetworkReqs1156416660
BrowserifyPower User HomeuiStartup26261882358533127183469
load1144919163218311741556
domContentLoaded1143913163118311671555
domInteractive13832626133151486
firstPaint------
backgroundConnect17823916200188706
firstReactRender84411591991124
getState26882875263212852
initialActions217126
loadScripts1106900160317411271524
setupStore1366812199119745
numNetworkReqs92602184483204
WebpackStandard HomeuiStartup1422121817649914641655
load1215106714488312651392
domContentLoaded1215106614488312631392
domInteractive68282133887135
firstPaint------
backgroundConnect4021108184183
firstReactRender28207292954
getState116132131021
initialActions102122
loadScripts1190104914257812471328
setupStore1166781027
numNetworkReqs1156616662
WebpackPower User HomeuiStartup28532167383034230603537
load13941098200220815651823
domContentLoaded13941098200120815641823
domInteractive13028560125142452
firstPaint------
backgroundConnect16626821184190602
firstReactRender85401692094118
getState27985907270217849
initialActions3156637
loadScripts13591082194920215221716
setupStore101682417189740
numNetworkReqs88522184783209
📊 Page Load Benchmark Results

Current Commit: 70f27cf | Date: 11/24/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±39ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 721ms (±37ms) 🟢 | historical mean value: 731ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 39ms 1.01s 1.33s 1.06s 1.33s
domContentLoaded 721ms 37ms 700ms 1.00s 744ms 1.00s
firstPaint 77ms 11ms 60ms 172ms 84ms 172ms
firstContentfulPaint 77ms 11ms 60ms 172ms 84ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 4.22 KiB (0.06%)
  • common: 113 Bytes (0%)

@DDDDDanica DDDDDanica force-pushed the refactor/5477/v5-compat branch 2 times, most recently from 5d86d7c to b94e29a Compare November 24, 2025 00:54
@metamaskbot
Copy link
Collaborator

Builds ready [b94e29a]
UI Startup Metrics (1185 ± 92 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1185104916269212191338
load100688013968510441140
domContentLoaded100086713708410391135
domInteractive2314126201976
firstPaint4917413983929801128
backgroundConnect20919324911214237
firstReactRender29195793448
getState321796133655
initialActions107112
loadScripts798669115084836935
setupStore1063041120
numNetworkReqs1257620572
BrowserifyPower User HomeuiStartup18301528323027919852395
load94682519951729441368
domContentLoaded93280919821719241355
domInteractive30151813225124
firstPaint5531541411344892971
backgroundConnect20217923012212224
firstReactRender78451391585107
getState18513737450201300
initialActions104112
loadScripts74663417841687421161
setupStore1895992435
numNetworkReqs1347129450178226
WebpackStandard HomeuiStartup813735104172833986
load61255685762618785
domContentLoaded60755385061613778
domInteractive2414140212075
firstPaint22081790143204591
backgroundConnect1253281430
firstReactRender3021117113341
getState281486123544
initialActions104111
loadScripts60455184259611766
setupStore1279991316
numNetworkReqs1257720571
WebpackPower User HomeuiStartup14311194224721415651895
load67258511691286781027
domContentLoaded66257911571276641019
domInteractive37171843833151
firstPaint2721021164199274653
backgroundConnect1473451826
firstReactRender8046123118795
getState15512325327165217
initialActions104112
loadScripts65957711471256621009
setupStore23969143547
numNetworkReqs1446829252183284
FirefoxBrowserifyStandard HomeuiStartup12501074183712913001560
load105492413499011231256
domContentLoaded105392313499011231255
domInteractive61311933683134
firstPaint------
backgroundConnect4120375393982
firstReactRender21174532226
getState1069011915
initialActions102012
loadScripts102990712968210931171
setupStore12618518930
numNetworkReqs1157015655
BrowserifyPower User HomeuiStartup27511932389837929303618
load1227985172819613931662
domContentLoaded1226985172819613931653
domInteractive14734592130161515
firstPaint------
backgroundConnect21526967231273842
firstReactRender86431271796119
getState23987923248191889
initialActions3128427
loadScripts1170961170518312211553
setupStore1056769160100595
numNetworkReqs90592164085186
WebpackStandard HomeuiStartup14501258193311914921683
load1235109314699012801421
domContentLoaded1235109314689012801421
domInteractive64282033681142
firstPaint------
backgroundConnect4120154234191
firstReactRender282079102958
getState116140141017
initialActions102012
loadScripts1209107614278512601385
setupStore135185221029
numNetworkReqs1156416656
WebpackPower User HomeuiStartup28282206395633830083534
load13731100189220515181784
domContentLoaded13731100189220515181783
domInteractive12827597133137479
firstPaint------
backgroundConnect16618747174197643
firstReactRender83391642092113
getState24667996243208879
initialActions318237
loadScripts13391081185620114751747
setupStore1334783199131745
numNetworkReqs87502204782211
📊 Page Load Benchmark Results

Current Commit: b94e29a | Date: 11/24/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±74ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±72ms) 🟢 | historical mean value: 731ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 81ms (±52ms) 🟢 | historical mean value: 80ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 74ms 1.01s 1.73s 1.05s 1.73s
domContentLoaded 722ms 72ms 697ms 1.40s 735ms 1.40s
firstPaint 81ms 52ms 60ms 596ms 84ms 596ms
firstContentfulPaint 81ms 52ms 60ms 596ms 84ms 596ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 4.08 KiB (0.06%)
  • common: 113 Bytes (0%)

@DDDDDanica DDDDDanica force-pushed the refactor/5477/v5-compat branch from b94e29a to faa950e Compare November 24, 2025 01:43
</ScrollContainer>
);
}

Copy link

Choose a reason for hiding this comment

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

Bug: Manual route handling bypasses React Router

The Home component manually checks location.pathname and renders ConnectedSites and ConnectedAccounts components directly, bypassing React Router's routing system. These routes (CONNECTED_ROUTE and CONNECTED_ACCOUNTS_ROUTE) were previously handled by <Route> components but are now being rendered conditionally in the Home component's render method. This breaks proper route handling, prevents route transitions, and could cause navigation issues since these components are rendered outside the router context.

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as above, this is not valid

@DDDDDanica DDDDDanica force-pushed the refactor/5477/v5-compat branch from faa950e to 62fcbcf Compare November 24, 2025 02:11
<ConnectedAccounts navigate={this.props.navigate} />
</ScrollContainer>
);
}
Copy link

Choose a reason for hiding this comment

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

Bug: Connected routes broken by incorrect routing architecture

The CONNECTED_ROUTE and CONNECTED_ACCOUNTS_ROUTE handling was moved from router-level Route components into the Home component's render method. However, Home is mounted at DEFAULT_ROUTE (/), so when users navigate to /connected or /connected/accounts, the router won't match the Home component at all. The conditional checks location?.pathname === CONNECTED_ROUTE will never be true because Home won't be rendered for these paths. These routes need to be restored in the router configuration or Home needs to be mounted at a parent route that can handle these child paths.

Fix in Cursor Fix in Web

Copy link
Contributor Author

@DDDDDanica DDDDDanica Nov 24, 2025

Choose a reason for hiding this comment

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

This is not correct under our situation, the parent router in routes.component.tsx still uses v5's <Switch> which does prefix matching, so Home at path="/" matches /connected too, allowing our conditional rendering to work:

// routes.component.tsx - STILL using v5 <Switch> (not migrated yet)
<Switch>
  <RouteWithLayout path={DEFAULT_ROUTE} /* "/" */ layout={RootLayout}>
    {createV5CompatRoute(Home, { includeNavigate: true, includeLocation: true })}
  </RouteWithLayout>
</Switch>

// home.component.js - uses v5-compat navigate/location props
if (location?.pathname === '/connected') return <ConnectedSites navigate={navigate} />;
if (location?.pathname === '/connected/accounts') return <ConnectedAccounts navigate={navigate} />;
return <HomeContent />; // default for '/'

We're mixing v5 routing structure (Switch) with v5-compat navigation (useNavigate, useLocation) - that's why we can't use nested <Routes> inside Home yet. And this will be removed by v6

@metamaskbot
Copy link
Collaborator

Builds ready [62fcbcf]
UI Startup Metrics (1223 ± 93 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1223106114929312801376
load104189812678711021188
domContentLoaded103284512638810961180
domInteractive2314129191973
firstPaint4477112433709311153
backgroundConnect21319237721215235
firstReactRender291980103347
getState331671103952
initialActions104112
loadScripts830653106888893975
setupStore1163041223
numNetworkReqs1257720573
BrowserifyPower User HomeuiStartup18561582259322320332259
load98887215381469861426
domContentLoaded97386415241429631414
domInteractive34162023925146
firstPaint4988515503929271425
backgroundConnect21920225210224241
firstReactRender78441311484107
getState17312532036195253
initialActions1010112
loadScripts77066313071427631210
setupStore201058122652
numNetworkReqs1266527750171210
WebpackStandard HomeuiStartup8197291128828351013
load61956889069625800
domContentLoaded61556388468621794
domInteractive2515169242178
firstPaint241100886183217663
backgroundConnect1163671129
firstReactRender29204053338
getState301373113749
initialActions105111
loadScripts61256187566619785
setupStore1263151422
numNetworkReqs1257719569
WebpackPower User HomeuiStartup15131277228423716442028
load69960711991247181024
domContentLoaded68860111871237001014
domInteractive38181973832153
firstPaint2861031190206263690
backgroundConnect1684372032
firstReactRender86561181193105
getState15912925727166216
initialActions103112
loadScripts68559911751216971005
setupStore22968133054
numNetworkReqs1456527953182271
FirefoxBrowserifyStandard HomeuiStartup11781031170412512271451
load98788112177410481119
domContentLoaded98688112167410431112
domInteractive55301823072114
firstPaint------
backgroundConnect39201662937116
firstReactRender21174042233
getState13518923853
initialActions102012
loadScripts96486411446610121081
setupStore1159112934
numNetworkReqs1256417662
BrowserifyPower User HomeuiStartup26482155387131927683371
load1147932162317311701565
domContentLoaded1146932162317311701565
domInteractive13633622130141491
firstPaint------
backgroundConnect205311098244240856
firstReactRender85391602092124
getState23754919228213846
initialActions2017227
loadScripts1099913159115811171533
setupStore1556800230123763
numNetworkReqs90582104284199
WebpackStandard HomeuiStartup14631286190513215061773
load12491104163110113171445
domContentLoaded12491103163110113171444
domInteractive61282364181141
firstPaint------
backgroundConnect42201562444101
firstReactRender282084112866
getState125132161016
initialActions102122
loadScripts1223108415049112931371
setupStore12684121034
numNetworkReqs1256817663
WebpackPower User HomeuiStartup28982128390438230883790
load14081128197321715171873
domContentLoaded14071128197221715171872
domInteractive13529635128162471
firstPaint------
backgroundConnect192291001217210739
firstReactRender87421852096119
getState23984909226192826
initialActions4056837
loadScripts13661108194420914461802
setupStore86578315074517
numNetworkReqs87492184583211
📊 Page Load Benchmark Results

Current Commit: 62fcbcf | Date: 11/24/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±40ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 712ms (±37ms) 🟢 | historical mean value: 731ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±12ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 40ms 1.00s 1.30s 1.04s 1.30s
domContentLoaded 712ms 37ms 693ms 968ms 729ms 968ms
firstPaint 74ms 12ms 60ms 176ms 84ms 176ms
firstContentfulPaint 74ms 12ms 60ms 176ms 84ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 4.24 KiB (0.06%)
  • common: 113 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [15d2ea2]
UI Startup Metrics (1218 ± 105 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12181041160610512601437
load102786913559210761193
domContentLoaded102186613429110721186
domInteractive27141232521100
firstPaint5249512883999951153
backgroundConnect21419724911218240
firstReactRender3319132193750
getState341675114055
initialActions107112
loadScripts814660110889862979
setupStore1273051323
numNetworkReqs1257920572
BrowserifyPower User HomeuiStartup18801631246417520072186
load1014914157313810041437
domContentLoaded100089815591399861417
domInteractive41172334932181
firstPaint56215515093959691359
backgroundConnect2262092519233244
firstReactRender85451502291133
getState17113325029194229
initialActions103112
loadScripts78869113391397711207
setupStore21973112442
numNetworkReqs92651913095179
WebpackStandard HomeuiStartup8056821056858211004
load63455988779665815
domContentLoaded62955588178659809
domInteractive2615103222193
firstPaint21481819151186639
backgroundConnect1052651424
firstReactRender27205573240
getState251357103440
initialActions102011
loadScripts62655387876657799
setupStore1062731217
numNetworkReqs1257720572
WebpackPower User HomeuiStartup14171215202514215231638
load6685881187106665951
domContentLoaded6585821183107651945
domInteractive42182384835170
firstPaint29190671178401652
backgroundConnect1483551620
firstReactRender82431111592101
getState14712419315153180
initialActions104111
loadScripts6565801172105649936
setupStore20970122449
numNetworkReqs1456731457189299
FirefoxBrowserifyStandard HomeuiStartup12761093164612713221572
load106690913349111071304
domContentLoaded106590413349111021303
domInteractive64301753283138
firstPaint------
backgroundConnect42201542444100
firstReactRender23185972442
getState1167810921
initialActions103122
loadScripts103989213048310781234
setupStore1053351022
numNetworkReqs1256916761
BrowserifyPower User HomeuiStartup23661992300123825492793
load1108949177014211121436
domContentLoaded1107942177014211091435
domInteractive11735573100113408
firstPaint------
backgroundConnect913038455104224
firstReactRender82411902392121
getState25954819220351767
initialActions208127
loadScripts1075931160013010901396
setupStore13010761165116546
numNetworkReqs91612184378203
WebpackStandard HomeuiStartup13821206190112414271635
load1171105515039012251351
domContentLoaded1170105515039012241351
domInteractive49262193165104
firstPaint------
backgroundConnect4121208264290
firstReactRender26194052834
getState136151201045
initialActions103112
loadScripts1147104113978212031314
setupStore125101111033
numNetworkReqs1156816656
WebpackPower User HomeuiStartup26232117358729227953152
load13561086193019215311754
domContentLoaded13561086193019215301754
domInteractive1092861810697376
firstPaint------
backgroundConnect942339454113213
firstReactRender80401621889110
getState26074891229364812
initialActions4061838
loadScripts13231069189918514961714
setupStore119674217896620
numNetworkReqs89522043797172
📊 Page Load Benchmark Results

Current Commit: 15d2ea2 | Date: 11/24/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±40ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 716ms (±37ms) 🟢 | historical mean value: 723ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±10ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 40ms 1.01s 1.32s 1.05s 1.32s
domContentLoaded 716ms 37ms 695ms 984ms 732ms 984ms
firstPaint 76ms 10ms 56ms 164ms 84ms 164ms
firstContentfulPaint 76ms 10ms 56ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 1.95 KiB (0.03%)
  • common: -15 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [8e8a6d3]
UI Startup Metrics (1222 ± 98 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1222105015219812731436
load103187812708310751200
domContentLoaded102687612668310701193
domInteractive2715101232096
firstPaint52694124039210081136
backgroundConnect2131972549217226
firstReactRender312059103753
getState3719101154368
initialActions105112
loadScripts818670105781859985
setupStore1274961420
numNetworkReqs1257720573
BrowserifyPower User HomeuiStartup18311523236418419362211
load97986415341589681438
domContentLoaded96685815141579471430
domInteractive40162124831190
firstPaint4887815483889071439
backgroundConnect21519625312220246
firstReactRender83411491993118
getState16712626128185223
initialActions104112
loadScripts76566513151567471222
setupStore21971122549
numNetworkReqs1346929955181281
WebpackStandard HomeuiStartup8677191166959021083
load67557599089705891
domContentLoaded67057198188702883
domInteractive30161352923123
firstPaint23593888160214648
backgroundConnect962841017
firstReactRender29217883540
getState271464123549
initialActions106112
loadScripts66756997186700873
setupStore1263851424
numNetworkReqs1257720572
WebpackPower User HomeuiStartup14051218188814715171656
load6695811203111662963
domContentLoaded6605761195111648957
domInteractive38182144230159
firstPaint266111964172268649
backgroundConnect1574971732
firstReactRender83441091693105
getState1427518917155169
initialActions103112
loadScripts6575741184109646948
setupStore20961132350
numNetworkReqs92652093499185
FirefoxBrowserifyStandard HomeuiStartup12601116165111612981511
load104993012867410911195
domContentLoaded104893012867410871194
domInteractive60302353282116
firstPaint------
backgroundConnect3923126204085
firstReactRender23173952536
getState136149191123
initialActions102112
loadScripts102591212676810711155
setupStore156176231535
numNetworkReqs1156516660
BrowserifyPower User HomeuiStartup24742002318823726502909
load1130946159112911411473
domContentLoaded1129946159112911351472
domInteractive11933487101118419
firstPaint------
backgroundConnect1032246068122216
firstReactRender87441932396129
getState301581091240505764
initialActions3130337
loadScripts1095929157212211021435
setupStore104677113594378
numNetworkReqs92592184478214
WebpackStandard HomeuiStartup14531275193413515051741
load12361074156810313071424
domContentLoaded12361074156810313071424
domInteractive62263804882139
firstPaint------
backgroundConnect4021148214280
firstReactRender26197762833
getState126124141139
initialActions2056512
loadScripts12131059155010012841383
setupStore12681121043
numNetworkReqs1156616660
WebpackPower User HomeuiStartup26052076331826127473096
load13531085194618415031724
domContentLoaded13531085194618415031724
domInteractive103294599595388
firstPaint------
backgroundConnect922237961102240
firstReactRender79381411988107
getState264551030236390818
initialActions3045637
loadScripts13221071185117914751685
setupStore106565616286597
numNetworkReqs916317733119157
📊 Page Load Benchmark Results

Current Commit: 8e8a6d3 | Date: 11/24/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±39ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 724ms (±36ms) 🟢 | historical mean value: 720ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±10ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 39ms 1.01s 1.33s 1.08s 1.33s
domContentLoaded 724ms 36ms 697ms 992ms 746ms 992ms
firstPaint 76ms 10ms 60ms 152ms 88ms 152ms
firstContentfulPaint 76ms 10ms 60ms 152ms 88ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 1.91 KiB (0.03%)
  • common: -15 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [f76f9b5]
UI Startup Metrics (1261 ± 109 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12611098155910913301469
load106889513379611191259
domContentLoaded106189013199411141235
domInteractive28151142623109
firstPaint56383127142910541238
backgroundConnect22020427011225238
firstReactRender302071103450
getState341784123955
initialActions106112
loadScripts8486821094928961016
setupStore1162731118
numNetworkReqs1257620571
BrowserifyPower User HomeuiStartup18731580278118619962186
load100188818681599861418
domContentLoaded98787918361579691410
domInteractive40172124432168
firstPaint5238318763949201370
backgroundConnect22120325810226242
firstReactRender86471542296135
getState17313424525192214
initialActions107114
loadScripts78167516171557641202
setupStore221078132644
numNetworkReqs1176530851166193
WebpackStandard HomeuiStartup795686103075822976
load62054882667645777
domContentLoaded61654582066641771
domInteractive2514112212186
firstPaint20484806133195587
backgroundConnect953051018
firstReactRender26196973036
getState271396133546
initialActions106112
loadScripts61354381065639761
setupStore1062031216
numNetworkReqs1257620571
WebpackPower User HomeuiStartup13961048204516715081678
load6585761258120651954
domContentLoaded6495701252121640949
domInteractive38171894231170
firstPaint262991256190250631
backgroundConnect1373441520
firstReactRender8044105138899
getState14712322516155173
initialActions103112
loadScripts6465681243119638940
setupStore21866142353
numNetworkReqs1476831157191298
FirefoxBrowserifyStandard HomeuiStartup11851032164110712281415
load100188512907710401182
domContentLoaded100088512897710361182
domInteractive53292473965126
firstPaint------
backgroundConnect3420147213581
firstReactRender21176052132
getState95527819
initialActions102012
loadScripts98186812207310121164
setupStore106467929
numNetworkReqs1156515654
BrowserifyPower User HomeuiStartup24531936316126626372974
load1152956163915711581519
domContentLoaded1151955163915711581519
domInteractive12831498110126451
firstPaint------
backgroundConnect1052850578113234
firstReactRender86461592397137
getState25461868214327792
initialActions207136
loadScripts1114939161514811241482
setupStore1328797181112592
numNetworkReqs92612184280206
WebpackStandard HomeuiStartup14571298196812214961742
load1236108615288912771423
domContentLoaded1236108615288912771423
domInteractive71291933697131
firstPaint------
backgroundConnect43192002843112
firstReactRender28217383140
getState1164161122
initialActions102012
loadScripts1209107115058012491385
setupStore146208211137
numNetworkReqs1256717663
WebpackPower User HomeuiStartup25542056325926326353123
load13271063183519614851756
domContentLoaded13261063183519614851756
domInteractive10427508104100379
firstPaint------
backgroundConnect942665673119204
firstReactRender79411701987116
getState22562829204306727
initialActions318237
loadScripts12991046180019014631719
setupStore101573115989542
numNetworkReqs906019134110165
📊 Page Load Benchmark Results

Current Commit: f76f9b5 | Date: 11/24/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.07s (±51ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 742ms (±47ms) 🟢 | historical mean value: 719ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 81ms (±14ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.07s 51ms 1.04s 1.48s 1.11s 1.48s
domContentLoaded 742ms 47ms 714ms 1.13s 768ms 1.13s
firstPaint 81ms 14ms 64ms 200ms 96ms 200ms
firstContentfulPaint 81ms 14ms 64ms 200ms 96ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 1.9 KiB (0.03%)
  • common: -15 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [dc9beda]
UI Startup Metrics (1207 ± 106 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12071057156010612711410
load102889413909810761219
domContentLoaded102288113839710721211
domInteractive2615111232195
firstPaint4577312473929371180
backgroundConnect2091932409213229
firstReactRender29195083346
getState311876103651
initialActions105113
loadScripts8206831186978671007
setupStore1173041218
numNetworkReqs1257420572
BrowserifyPower User HomeuiStartup17581497228816318622085
load92382214261429051337
domContentLoaded90881314071418901327
domInteractive36152414427172
firstPaint64010714343648921336
backgroundConnect19417722711199217
firstReactRender80441451785122
getState17213425527192220
initialActions103112
loadScripts73063611991377091143
setupStore1694271932
numNetworkReqs1326730956178268
WebpackStandard HomeuiStartup84471213221008701051
load655576111294684846
domContentLoaded651568110093680840
domInteractive30142603423113
firstPaint261911105197243667
backgroundConnect1053561226
firstReactRender27204663238
getState291384143961
initialActions103112
loadScripts648565108892678831
setupStore1163041317
numNetworkReqs1257420573
WebpackPower User HomeuiStartup13691113178313814781588
load65057795590652902
domContentLoaded64157294190638896
domInteractive37171923930152
firstPaint27183959195262684
backgroundConnect1466371621
firstReactRender8044106138599
getState1417221919152176
initialActions103112
loadScripts63957093188636888
setupStore20957122550
numNetworkReqs92651943299188
FirefoxBrowserifyStandard HomeuiStartup12471084175511612881506
load104392612467210841187
domContentLoaded104292112467310841187
domInteractive60311773283125
firstPaint------
backgroundConnect3522195203769
firstReactRender21173842233
getState1168613926
initialActions103122
loadScripts102290912166910591156
setupStore115719928
numNetworkReqs1156515761
BrowserifyPower User HomeuiStartup24841955300024327182854
load1141980165313411461464
domContentLoaded1140980165313411461464
domInteractive11834511106111433
firstPaint------
backgroundConnect1012936660115209
firstReactRender904118227102136
getState27463856214368784
initialActions3132527
loadScripts1110961161013411161428
setupStore13310771165140573
numNetworkReqs93622334580216
WebpackStandard HomeuiStartup14151276178711114501700
load1204106015279112541393
domContentLoaded1203106015279212541393
domInteractive55261583278129
firstPaint------
backgroundConnect3918118194290
firstReactRender26206562838
getState136161171244
initialActions102012
loadScripts1180104514598412281349
setupStore165158221371
numNetworkReqs1156515656
WebpackPower User HomeuiStartup26462119341128028523158
load13801113193720915551833
domContentLoaded13791113193620915541833
domInteractive11629592118105442
firstPaint------
backgroundConnect942836857117232
firstReactRender82422082491116
getState29659858239469809
initialActions4160737
loadScripts13481094188519815151739
setupStore94581113985430
numNetworkReqs916217934109164
📊 Page Load Benchmark Results

Current Commit: dc9beda | Date: 11/24/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.00s (±43ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 696ms (±40ms) 🟢 | historical mean value: 719ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.00s 43ms 969ms 1.31s 1.03s 1.31s
domContentLoaded 696ms 40ms 670ms 987ms 718ms 987ms
firstPaint 78ms 13ms 64ms 196ms 88ms 196ms
firstContentfulPaint 78ms 13ms 64ms 196ms 88ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 1.9 KiB (0.03%)
  • common: -15 Bytes (0%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size-XL team-extension-platform Extension Platform team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants