Skip to content

refactor: use accountGroupId query param instead of URL segment#40773

Merged
n3ps merged 10 commits intomainfrom
n3ps/more-account-id-url
Mar 11, 2026
Merged

refactor: use accountGroupId query param instead of URL segment#40773
n3ps merged 10 commits intomainfrom
n3ps/more-account-id-url

Conversation

@n3ps
Copy link
Contributor

@n3ps n3ps commented Mar 10, 2026

Description

Continuation of #40718

Context:
We use this format:  entropy:01JKAF3DSGM3AB87EM9N0K41AJ/0
as part of this URL pattern: /multichain-account-address-list/:accountGroupId

We are able work fine with encodeURIComponent but this is more of a fluke in the way useRoutes works. Once we update the react-router setup for example to use Outlet, it exposes the problem in stricter browsers like Firefox where the encoded %2F gets decoded back to / before react-router has a chance to read it, resulting in:

/page/entropy%3A01J.../0 // 3 segments

Proposal:
Convert to querystring
// Before
/page/${encodeURIComponent(accountGroupId)})

// After
/page?accountGroupId=${encodeURIComponent(accountGroupId)}

Changelog

CHANGELOG entry: refactor: use search params for account id

Related issues

Fixes:

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

Medium Risk
Medium risk because it changes client-side routing and URL construction for multichain details pages; incorrect param handling could break navigation or redirects, though changes are localized and covered by updated tests.

Overview
Updates multichain account and wallet details pages to use query parameters instead of URL path segments for identifiers that may contain /.

Navigation from menus/pages now calls navigate({ pathname, search }) with createSearchParams (e.g. accountGroupId, id), and the route definitions for MULTICHAIN_ACCOUNT_DETAILS_PAGE_ROUTE and MULTICHAIN_WALLET_DETAILS_PAGE_ROUTE are updated to no longer require /:id. The account details page now reads accountGroupId via useSearchParams and redirects to DEFAULT_ROUTE when missing/invalid; stories and unit tests are adjusted to match the new URLs.

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

@n3ps n3ps requested review from a team as code owners March 10, 2026 19:59
@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.

@n3ps n3ps added the team-core-extension-ux Core Extension UX team label Mar 10, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

✨ Files requiring CODEOWNER review ✨

🔑 @MetaMask/accounts-engineers (7 files, +98 -69)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain-accounts/
        • 📁 multichain-account-menu/
          • 📄 multichain-account-menu.test.tsx +5 -3
          • 📄 multichain-account-menu.tsx +8 -3
    • 📁 pages/
      • 📁 multichain-accounts/
        • 📁 multichain-account-details-page/
          • 📄 multichain-account-details-page.stories.tsx +2 -2
          • 📄 multichain-account-details-page.test.tsx +41 -35
          • 📄 multichain-account-details-page.tsx +26 -10
        • 📁 wallet-details-page/
          • 📄 wallet-details-page.test.tsx +9 -12
          • 📄 wallet-details-page.tsx +7 -4

👨‍🔧 @MetaMask/core-extension-ux (2 files, +13 -11)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 menu-items/
          • 📄 account-details-menu-item.js +9 -6
          • 📄 account-details-menu-item.test.js +4 -5

@n3ps n3ps changed the title refactor: use search params refactor: use accountGroupId query parameter instead of URL segment Mar 10, 2026
@github-actions github-actions bot added size-M and removed size-S labels Mar 10, 2026
@n3ps n3ps changed the title refactor: use accountGroupId query parameter instead of URL segment refactor: use accountGroupId query param instead of URL segment Mar 10, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 10, 2026

Builds ready [97d2ef9]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2812722929287292
total2812722929287292
Confirm Txconfirm_tx6056603960761360606076
total6056603960761360606076
Bridge User Actionsbridge_load_page25120028430277284
bridge_load_asset_picker16512121632181216
bridge_search_token7097057133710713
total1105108911231611181123
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14181196187611314371633
load117197615569411921353
domContentLoaded116597215479311871331
domInteractive2916117212581
firstPaint166701230136212360
backgroundConnect20919027513210235
firstReactRender20135762131
initialActions105123
loadScripts9717821349919921127
setupStore1364771525
numNetworkReqs362798192788
Power User HomeuiStartup61142247172153149654714435
load13051121302021413271520
domContentLoaded12851115299920812961455
domInteractive3521241283363
firstPaint219921205128274339
backgroundConnect2622304146973174324410716
firstReactRender28185663137
initialActions105113
loadScripts1047909166110810701205
setupStore1764172030
numNetworkReqs1807636552205279
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202162253222225
srpButtonToSrpForm93899529495
confirmSrpToPwForm21212202122
pwFormToMetricsScreen15141501515
metricsToWalletReadyScreen16161601616
doneButtonToHomeScreen60357062423622624
openAccountMenuToAccountListLoaded2941290929833229622983
total3942388840526539804052
Onboarding New WalletcreateWalletToSocialScreen2182182191219219
srpButtonToPwForm1091071101109110
createPwToRecoveryScreen889089
skipBackupToMetricsScreen34333513435
agreeButtonToOnboardingSuccess17161811718
doneButtonToAssetList607482775108654775
total1003867120912410421209
Asset DetailsassetClickToPriceChart15911820230184202
total15911820230184202
Solana Asset DetailsassetClickToPriceChart937011415103114
total937011415103114
Import Srp HomeloginToHomeScreen22612164245311522452453
openAccountMenuAfterLogin746390107890
homeAfterImportWithNewWallet24422255263015726222630
total4865484448781548784878
Send TransactionsopenSendPageFromHome24203042330
selectTokenToSendFormLoaded28272812828
reviewTransactionToConfirmationPage86284688113866881
total91389593216924932
SwapopenSwapPageFromHome513971136371
fetchAndDisplaySwapQuotes269226862700626992700
total2743272627581127512758
🌐 Dapp Page Load Benchmarks

Current Commit: 97d2ef9 | Date: 3/10/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±37ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±13ms) 🟢 | historical mean value: 82ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.33s 1.05s 1.33s
domContentLoaded 722ms 37ms 701ms 1.00s 745ms 1.00s
firstPaint 80ms 13ms 64ms 200ms 88ms 200ms
firstContentfulPaint 80ms 13ms 64ms 200ms 88ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 215 Bytes (0%)
  • common: 2 Bytes (0%)

mockUseParams.mockReturnValue({
id: 'keyring:Ledger Hardware/0xc42edfcc21ed14dda456aa0756c153f7985d8813',
});
setSearchParams(LEDGER_ACCOUNT_GROUP_ID);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reducing magic strings

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 11, 2026

Builds ready [52b5640]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2712612777277277
total2712612777277277
Confirm Txconfirm_tx6011595260524360516052
total6011595260524360516052
Bridge User Actionsbridge_load_page2142032258218225
bridge_load_asset_picker21317525634251256
bridge_search_token74470378332765783
total1180109412596712241259
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup15951277193412116771798
load13131068158711413931511
domContentLoaded13021037155511413891490
domInteractive34171272430101
firstPaint224751387202246408
backgroundConnect23120429019242269
firstReactRender231290112343
initialActions106125
loadScripts1093836133911411711291
setupStore1584981631
numNetworkReqs362794192786
Power User HomeuiStartup5433190210133183566998104
load13411104272618513771581
domContentLoaded13221089271618313561543
domInteractive3720231313499
firstPaint232861541156275328
backgroundConnect17193125983164928845126
firstReactRender3020174163240
initialActions104113
loadScripts1088877248117811051316
setupStore1564761726
numNetworkReqs2039132642221275
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2212182242221224
srpButtonToSrpForm100991021101102
confirmSrpToPwForm23222412324
pwFormToMetricsScreen16161601616
metricsToWalletReadyScreen16161701717
doneButtonToHomeScreen75970381640760816
openAccountMenuToAccountListLoaded2929291029381129362938
total39983836410410640724104
Onboarding New WalletcreateWalletToSocialScreen2192192190219219
srpButtonToPwForm1051041092104109
createPwToRecoveryScreen889089
skipBackupToMetricsScreen35353503535
agreeButtonToOnboardingSuccess16161601616
doneButtonToAssetList53947563668606636
total92986110187310181018
Asset DetailsassetClickToPriceChart1191171201120120
total1191171201120120
Solana Asset DetailsassetClickToPriceChart79728358383
total79728358383
Import Srp HomeloginToHomeScreen2310222323976323292397
openAccountMenuAfterLogin836396129396
homeAfterImportWithNewWallet2377235823951523952395
total4775475548032148034803
Send TransactionsopenSendPageFromHome351564174164
selectTokenToSendFormLoaded19172012020
reviewTransactionToConfirmationPage8518458669846866
total89787991514903915
SwapopenSwapPageFromHome27204283142
fetchAndDisplaySwapQuotes2693267827221727012722
total2708269927211027142721
🌐 Dapp Page Load Benchmarks

Current Commit: 52b5640 | Date: 3/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.11s (±75ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 777ms (±57ms) 🟢 | historical mean value: 729ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 94ms (±15ms) 🟢 | historical mean value: 84ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.11s 75ms 992ms 1.33s 1.24s 1.33s
domContentLoaded 777ms 57ms 685ms 986ms 877ms 986ms
firstPaint 94ms 15ms 68ms 184ms 120ms 184ms
firstContentfulPaint 94ms 15ms 68ms 184ms 120ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 251 Bytes (0%)
  • common: 2 Bytes (0%)

@n3ps n3ps force-pushed the n3ps/more-account-id-url branch from f4d21ed to 273b81f Compare March 11, 2026 04:03
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 11, 2026

Builds ready [273b81f]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account29026831418300314
total29026831418300314
Confirm Txconfirm_tx6031597860794460696079
total6031597860794460696079
Bridge User Actionsbridge_load_page2031962084205208
bridge_load_asset_picker19517423723201237
bridge_search_token7067057092706709
total1094108411121110921112
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup1430119716559914881614
load118899214099112291359
domContentLoaded118198814048912231333
domInteractive2917108212484
firstPaint1417236766195245
backgroundConnect21119825211214240
firstReactRender20134752129
initialActions206124
loadScripts98579612028810281136
setupStore1464771629
numNetworkReqs362793182783
Power User HomeuiStartup5395175713641214564768486
load13181119179413113601606
domContentLoaded12971108167811913431545
domInteractive3420141213274
firstPaint19788521101273398
backgroundConnect186030211306192930645023
firstReactRender27196062937
initialActions107113
loadScripts1068900145711411021296
setupStore18680121942
numNetworkReqs1335027637137229
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2182172180218218
srpButtonToSrpForm95949509595
confirmSrpToPwForm22212202222
pwFormToMetricsScreen15151601516
metricsToWalletReadyScreen16151601616
doneButtonToHomeScreen64657070453699704
openAccountMenuToAccountListLoaded2930291629381029382938
total3991387240837640064083
Onboarding New WalletcreateWalletToSocialScreen2222202241222224
srpButtonToPwForm1071051091108109
createPwToRecoveryScreen989199
skipBackupToMetricsScreen36343923639
agreeButtonToOnboardingSuccess16151601616
doneButtonToAssetList53147462866592628
total9298581017629811017
Asset DetailsassetClickToPriceChart1119613413116134
total1119613413116134
Solana Asset DetailsassetClickToPriceChart78718767987
total78718767987
Import Srp HomeloginToHomeScreen23952237272518724822725
openAccountMenuAfterLogin79561192387119
homeAfterImportWithNewWallet25012310266113025762661
total4878486048931448934893
Send TransactionsopenSendPageFromHome24163262932
selectTokenToSendFormLoaded18171911919
reviewTransactionToConfirmationPage8488468522850852
total8918798987897898
SwapopenSwapPageFromHome21182522225
fetchAndDisplaySwapQuotes268826872688026882688
total271327022724827202724
🌐 Dapp Page Load Benchmarks

Current Commit: 273b81f | Date: 3/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±40ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 747ms (±37ms) 🟢 | historical mean value: 729ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 83ms (±10ms) 🟢 | historical mean value: 84ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 40ms 1.03s 1.36s 1.08s 1.36s
domContentLoaded 747ms 37ms 723ms 1.03s 766ms 1.03s
firstPaint 83ms 10ms 72ms 168ms 92ms 168ms
firstContentfulPaint 83ms 10ms 72ms 168ms 92ms 168ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 251 Bytes (0%)
  • common: 2 Bytes (0%)

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 1 potential issue.

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 11, 2026

Builds ready [52a9314]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account29026633727306337
total29026633727306337
Confirm Txconfirm_tx6053603060711460646071
total6053603060711460646071
Bridge User Actionsbridge_load_page2162112225222222
bridge_load_asset_picker1801771854185185
bridge_search_token7087077101707710
total110910991114711141114
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14591247200610914881650
load1212100616619912351387
domContentLoaded1205100116539812301377
domInteractive3118165242688
firstPaint171731252138218385
backgroundConnect21519928414218243
firstReactRender21144362333
initialActions106124
loadScripts100680914479810331180
setupStore1464271726
numNetworkReqs362797192784
Power User HomeuiStartup5536217217337283264558596
load12961125163311813381596
domContentLoaded12771112162211313111547
domInteractive3320172233177
firstPaint202791197131265331
backgroundConnect214330614280247428434888
firstReactRender26186362833
initialActions105113
loadScripts1057901136910610871323
setupStore1665581729
numNetworkReqs1717133848196275
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2202192211220221
srpButtonToSrpForm102991042104104
confirmSrpToPwForm25252502525
pwFormToMetricsScreen18181801818
metricsToWalletReadyScreen19192012020
doneButtonToHomeScreen65259571245679712
openAccountMenuToAccountListLoaded30322943318510731403185
total40693923428814641944288
Onboarding New WalletcreateWalletToSocialScreen2192182201219220
srpButtonToPwForm1091061133110113
createPwToRecoveryScreen989099
skipBackupToMetricsScreen35343613636
agreeButtonToOnboardingSuccess17161701717
doneButtonToAssetList56749568580640685
total95988310767910291076
Asset DetailsassetClickToPriceChart1361331403140140
total1361331403140140
Solana Asset DetailsassetClickToPriceChart86839038990
total86839038990
Import Srp HomeloginToHomeScreen227222652281722812281
openAccountMenuAfterLogin684785127485
homeAfterImportWithNewWallet2350231323702623702370
total47854542497916649664979
Send TransactionsopenSendPageFromHome31234383443
selectTokenToSendFormLoaded18161911919
reviewTransactionToConfirmationPage8468448492848849
total8958859048902904
SwapopenSwapPageFromHome29193973439
fetchAndDisplaySwapQuotes2699268127241827152724
total2728270427592327552759
🌐 Dapp Page Load Benchmarks

Current Commit: 52a9314 | Date: 3/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 996ms (±39ms) 🟢 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 697ms (±37ms) 🟢 | historical mean value: 729ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±12ms) 🟢 | historical mean value: 84ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 996ms 39ms 972ms 1.27s 1.02s 1.27s
domContentLoaded 697ms 37ms 675ms 953ms 717ms 953ms
firstPaint 79ms 12ms 64ms 180ms 88ms 180ms
firstContentfulPaint 79ms 12ms 64ms 180ms 88ms 180ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 251 Bytes (0%)
  • common: 2 Bytes (0%)

@n3ps n3ps enabled auto-merge March 11, 2026 05:34
@sonarqubecloud
Copy link

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Mar 11, 2026

Builds ready [453f2fd]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account28626931017293310
total28626931017293310
Confirm Txconfirm_tx605060486053260536053
total605060486053260536053
Bridge User Actionsbridge_load_page22320024418237244
bridge_load_asset_picker18114423232203232
bridge_search_token7127037227716722
total1104109111251311031125
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup1431120317389914761583
load118999514359212261351
domContentLoaded118399014099012181339
domInteractive281798172471
firstPaint1457036971204258
backgroundConnect21519627216217248
firstReactRender20137082134
initialActions106123
loadScripts98480411978710181142
setupStore1372751622
numNetworkReqs362791182783
Power User HomeuiStartup5433164417080281662509424
load12861119173211512971548
domContentLoaded12711108172311212851526
domInteractive3621195273468
firstPaint2149250293291340
backgroundConnect227829713895233831965194
firstReactRender26184052835
initialActions103112
loadScripts1051900145810310611294
setupStore1655791935
numNetworkReqs1375529447141252
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2172162181218218
srpButtonToSrpForm93929319393
confirmSrpToPwForm21212202122
pwFormToMetricsScreen15151601516
metricsToWalletReadyScreen17161811718
doneButtonToHomeScreen63658775064665750
openAccountMenuToAccountListLoaded290529032909329042909
total3909385740206239354020
Onboarding New WalletcreateWalletToSocialScreen2212212220221222
srpButtonToPwForm1111081142113114
createPwToRecoveryScreen991001010
skipBackupToMetricsScreen39364124141
agreeButtonToOnboardingSuccess17161701717
doneButtonToAssetList54450260142568601
total9418951003449641003
Asset DetailsassetClickToPriceChart15914218716165187
total15914218716165187
Solana Asset DetailsassetClickToPriceChart81768848188
total81768848188
Import Srp HomeloginToHomeScreen2281218724269022792426
openAccountMenuAfterLogin48395554855
homeAfterImportWithNewWallet2119207421764121382176
total44564323465313345034653
Send TransactionsopenSendPageFromHome30303103131
selectTokenToSendFormLoaded21172432224
reviewTransactionToConfirmationPage8498488490849849
total9018979042903904
SwapopenSwapPageFromHome462373216673
fetchAndDisplaySwapQuotes2702268827161127082716
total2748271127742227632774
🌐 Dapp Page Load Benchmarks

Current Commit: 453f2fd | Date: 3/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±42ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 736ms (±39ms) 🟢 | historical mean value: 730ms ⬆️ (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.05s 42ms 1.02s 1.36s 1.07s 1.36s
domContentLoaded 736ms 39ms 712ms 1.03s 760ms 1.03s
firstPaint 82ms 12ms 64ms 180ms 92ms 180ms
firstContentfulPaint 82ms 12ms 64ms 180ms 92ms 180ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 58 Bytes (0%)
  • ui: 251 Bytes (0%)
  • common: 2 Bytes (0%)

);
expect(mockNavigate).toHaveBeenCalledWith({
pathname: MULTICHAIN_ACCOUNT_DETAILS_PAGE_ROUTE,
search: `accountGroupId=${encodeURIComponent(mockInternalAccount.address)}`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Note for us, this is completely wrong 😅 it's not a valid group ID!

},
{
path: `${MULTICHAIN_ACCOUNT_DETAILS_PAGE_ROUTE}/:id`,
path: MULTICHAIN_ACCOUNT_DETAILS_PAGE_ROUTE,
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: But that would have been nice to add a small "note" about the new query param for the ID (just so that we know the route expects a required parameter)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea. Have to think about common convention for this

},
{
path: `${MULTICHAIN_WALLET_DETAILS_PAGE_ROUTE}/:id`,
path: MULTICHAIN_WALLET_DETAILS_PAGE_ROUTE,
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Same here

@n3ps n3ps added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit 2dc3f89 Mar 11, 2026
188 checks passed
@n3ps n3ps deleted the n3ps/more-account-id-url branch March 11, 2026 21:41
@github-actions github-actions bot locked and limited conversation to collaborators Mar 11, 2026
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.23.0 Issue or pull request that will be included in release 13.23.0 size-M team-core-extension-ux Core Extension UX team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants