Skip to content

refactor: Reveal SRP UI (TypeScript, multi-screen flow, skip quiz)#40322

Merged
smgv merged 26 commits intofeat/reveal-srp-uifrom
refactor/reveal-srp-ui
Mar 2, 2026
Merged

refactor: Reveal SRP UI (TypeScript, multi-screen flow, skip quiz)#40322
smgv merged 26 commits intofeat/reveal-srp-uifrom
refactor/reveal-srp-ui

Conversation

@smgv
Copy link
Copy Markdown
Contributor

@smgv smgv commented Feb 23, 2026

Description

Refactors the Reveal Secret Recovery Phrase flow: converts to TypeScript, features a clearer multi-screen flow with dedicated components, and supports skipping the security quiz when opening from the storage error toast. Also used a safe method: the seed is encoded via an off-screen canvas and rendered as a PNG data URL to generate a QR code.

Jira Link: https://consensyssoftware.atlassian.net/browse/TO-553

Figma Link: https://www.figma.com/design/pViOUcmjwhEzFsdrwknpNc/Onboarding-Redesign?node-id=19651-118991&p=f&m=dev

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Updated the Reveal Secret Recovery Phrase flow with a clearer step-by-step experience (quiz intro, security quiz, password, then reveal). Users who open the flow from the storage error toast now go directly to the password step. The page is now built in TypeScript with smaller, reusable components.

Related issues

Fixes:

Manual testing steps

  1. Open Extension
  2. Create a wallet using SRP
  3. Settings → Security & privacy → Reveal Secret Recovery Phrase (or SRP list → choose SRP).
  4. Confirm: Quiz intro (image, “Get started”, “Learn more”) → Quiz (two questions, feedback) → Password (warning, description) → Reveal (hold-to-reveal, copy, QR tab).

Screenshots/Recordings

Before

After

Screen.Recording.2026-02-26.at.4.35.24.PM.mov
Screen.Recording.2026-02-26.at.4.36.09.PM.mov

UI Update:

Screen.Recording.2026-02-26.at.7.53.13.PM.mov

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
Touches security-sensitive key-management UI flows (SRP reveal and vault restore) and associated routing/tests; while largely a refactor, behavior changes like skip-quiz and new QR rendering could regress critical user paths.

Overview
Refactors the Reveal Secret Recovery Phrase experience into a TypeScript, multi-screen flow (quiz introquizpasswordreveal) by splitting UI into focused components (e.g., PasswordPrompt, QuizQuestion, RevealSeedContent) and adding support for skipping the quiz via navigation location state.

Updates SRP reveal QR generation to render a PNG data URL (canvas-based) and adds/standardizes data-testid hooks used by e2e/tests.

Migrates Restore Vault from a class-based JS page to a hook-based TS component using useNavigate/Redux hooks, updates lazy route imports, and adjusts requestRevealSeedWords to accept an optional keyringId (multi-SRP). Tests/snapshots/stories and the Jest console baseline are updated accordingly.

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

@smgv smgv self-assigned this Feb 23, 2026
@smgv smgv added area-onboarding needs-qa Label will automate into QA workspace labels Feb 23, 2026
@github-actions
Copy link
Copy Markdown
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-onboarding Onboarding team label Feb 23, 2026
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Feb 23, 2026

Builds ready [1824f71]
⚡ Performance Benchmarks (1357 ± 104 ms)
👆 Interaction Benchmarks
ActionMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account29728321330
total29728321330
Confirm Txconfirm_tx6064460676068
total6064460676068
Bridge User Actionsbridge_load_page2019209210
bridge_load_asset_picker25223273281
bridge_search_token7263729729
total11804012071218
🔌 Startup Benchmarks
BuildMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
Chrome Browserify Startup Standard HomeuiStartup13571142186310413911544
load114496815319211791315
domContentLoaded113796415229011751301
domInteractive2616111192277
firstPaint163651180127211298
backgroundConnect19918323311202224
firstReactRender18133631923
initialActions106113
loadScripts9557761337909901109
setupStore1365471522
numNetworkReqs312289202287
Chrome Browserify Startup Power User HomeuiStartup2592141410462192122877932
load11961028197316512381518
domContentLoaded11811021195916112201498
domInteractive3718178283884
firstPaint220741609231258391
backgroundConnect994246867017573765515
firstReactRender25156582642
initialActions1017213
loadScripts973819172515510161267
setupStore1775172128
numNetworkReqs71351362383111
Chrome Webpack Startup Standard HomeuiStartup86769214491139071073
load738617111698783890
domContentLoaded732610110697776881
domInteractive281698222289
firstPaint1126137763127232
backgroundConnect28195183243
firstReactRender18124152029
initialActions103112
loadScripts729609109896774874
setupStore1155161220
numNetworkReqs3122102212589
Chrome Webpack Startup Power User HomeuiStartup1277937222720713611650
load75965313841247611053
domContentLoaded74964313761247471046
domInteractive40201863338129
firstPaint1527452888187318
backgroundConnect17813469975170298
firstReactRender23163432528
initialActions102111
loadScripts74664113661227451036
setupStore1353651520
numNetworkReqs1244625043149202
Firefox Browserify Startup Standard HomeuiStartup16391384240421516562111
load13871168215118314221732
domContentLoaded13861163214718314221732
domInteractive803133552114161
firstPaint------
backgroundConnect5326141185588
firstReactRender13112121415
initialActions102112
loadScripts13631145212618013981675
setupStore227245391661
numNetworkReqs311994192787
Firefox Browserify Startup Power User HomeuiStartup28992040904193329513539
load16721357708677816211942
domContentLoaded16721357708677816211942
domInteractive14436481103161399
firstPaint------
backgroundConnect3461181752315384969
firstReactRender211488132060
initialActions103122
loadScripts16281335703077415791892
setupStore169101149227182606
numNetworkReqs78311993787147
Firefox Webpack Startup Standard HomeuiStartup18251392342439618083071
load15301249306533915031913
domContentLoaded15291249306533915031913
domInteractive943118140132149
firstPaint------
backgroundConnect70292614480178
firstReactRender17123951825
initialActions103122
loadScripts15001234303833614731886
setupStore277166313791
numNetworkReqs312083162765
Firefox Webpack Startup Power User HomeuiStartup26921993462439028283338
load15631300333929616372036
domContentLoaded15621296333929616362036
domInteractive161391349178137515
firstPaint------
backgroundConnect3591211231274448997
firstReactRender21155762330
initialActions203123
loadScripts15221274326628415761916
setupStore178101000224244682
numNetworkReqs75272334482160
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2223227227
srpButtonToSrpForm8909090
confirmSrpToPwForm2102122
pwFormToMetricsScreen1401515
metricsToWalletReadyScreen1501515
doneButtonToHomeScreen65788697782
openAccountMenuToAccountListLoaded730127776187641
total845433387018785
Onboarding New WalletcreateWalletToSocialScreen2191220220
srpButtonToPwForm1062107108
createPwToRecoveryScreen8088
skipBackupToMetricsScreen3513537
agreeButtonToOnboardingSuccess1611717
doneButtonToAssetList634141617860
total10231449981255
Asset DetailsassetClickToPriceChart64127779
total64127779
Solana Asset DetailsassetClickToPriceChart4815050
total4815050
Import Srp HomeloginToHomeScreen19905820132070
openAccountMenuAfterLogin3723841
homeAfterImportWithNewWallet23382023512364
total443815544264688
Send TransactionsopenSendPageFromHome1912020
selectTokenToSendFormLoaded2002020
reviewTransactionToConfirmationPage86213870881
total90311910919
SwapopenSwapPageFromHome13515136158
fetchAndDisplaySwapQuotes46627447334736
total48274348644864
🌐 Dapp Page Load Benchmarks

Current Commit: 1824f71 | Date: 2/23/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±47ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 731ms (±37ms) 🟢 | historical mean value: 725ms ⬆️ (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 47ms 1.03s 1.36s 1.08s 1.36s
domContentLoaded 731ms 37ms 711ms 1.02s 757ms 1.02s
firstPaint 78ms 10ms 60ms 160ms 88ms 160ms
firstContentfulPaint 78ms 10ms 60ms 160ms 88ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 4.24 MiB (100%)
  • ui: 8.16 MiB (100%)
  • common: 10.91 MiB (100%)

@smgv smgv changed the title Refactor/reveal srp UI refactor: reveal SRP UI Feb 23, 2026
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Feb 23, 2026

Builds ready [594224b]
⚡ Performance Benchmarks (1377 ± 100 ms)
👆 Interaction Benchmarks
ActionMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account27116267299
total27116267299
Confirm Txconfirm_tx60161360296032
total60161360296032
Bridge User Actionsbridge_load_page22434259262
bridge_load_asset_picker19057217281
bridge_search_token69812694718
total10801510881099
🔌 Startup Benchmarks
BuildMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
Chrome Browserify Startup Standard HomeuiStartup13771140166310014271569
load117196514089112091348
domContentLoaded116496214029012051340
domInteractive2817115192583
firstPaint173671229195200363
backgroundConnect20618426815209238
firstReactRender19114951927
initialActions104113
loadScripts97678312108910161146
setupStore1365771523
numNetworkReqs312294202385
Chrome Browserify Startup Power User HomeuiStartup19921412564271520563055
load11591012171812712031409
domContentLoaded11421000168712211911331
domInteractive311887133460
firstPaint1827439980246321
backgroundConnect44025633034913361159
firstReactRender23154752432
initialActions104111
loadScripts94280014661199901107
setupStore1676291833
numNetworkReqs65341402175108
Chrome Webpack Startup Standard HomeuiStartup8636981258999161036
load736616104995806888
domContentLoaded72961199093799883
domInteractive2815114222379
firstPaint1095936353136216
backgroundConnect2718107113240
firstReactRender17124051928
initialActions103112
loadScripts72760998192797874
setupStore1253651323
numNetworkReqs322296202586
Chrome Webpack Startup Power User HomeuiStartup1172905168215712581502
load6845931110110675983
domContentLoaded6755881089110667976
domInteractive34171292531108
firstPaint1415647877174277
backgroundConnect17013935542167256
firstReactRender22173942427
initialActions103111
loadScripts6725861078109665969
setupStore1254871319
numNetworkReqs1173727355150230
Firefox Browserify Startup Standard HomeuiStartup16351390265919916701990
load13781176235416714151639
domContentLoaded13771175235416714151639
domInteractive73333705397149
firstPaint------
backgroundConnect61271972863122
firstReactRender13111921415
initialActions103112
loadScripts13501153232316113911561
setupStore228171331684
numNetworkReqs311995192589
Firefox Browserify Startup Power User HomeuiStartup28422015402434329793558
load16341398236319216932000
domContentLoaded16331398236219216932000
domInteractive13838578108152400
firstPaint------
backgroundConnect300981281253287915
firstReactRender201680102024
initialActions2073722
loadScripts15971374232018516451953
setupStore1619790209155629
numNetworkReqs69281703896146
Firefox Webpack Startup Standard HomeuiStartup17221487339425517462069
load14451242273016814841651
domContentLoaded14441242272316814831651
domInteractive109301403143131249
firstPaint------
backgroundConnect61272523466123
firstReactRender15123431623
initialActions102122
loadScripts14191226270316314611572
setupStore207149231660
numNetworkReqs311998172771
Firefox Webpack Startup Power User HomeuiStartup27702123459440929103522
load15941314267130516762355
domContentLoaded15931314267130516762354
domInteractive172321069200139655
firstPaint------
backgroundConnect3321161263243421900
firstReactRender21156862328
initialActions207122
loadScripts15531291264929516072298
setupStore20681220238271676
numNetworkReqs70282153990133
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2181219221
srpButtonToSrpForm956102103
confirmSrpToPwForm2102121
pwFormToMetricsScreen1501515
metricsToWalletReadyScreen1501616
doneButtonToHomeScreen64064695712
openAccountMenuToAccountListLoaded75999076497657
total86587187158740
Onboarding New WalletcreateWalletToSocialScreen2191220220
srpButtonToPwForm1021102104
createPwToRecoveryScreen8088
skipBackupToMetricsScreen3533641
agreeButtonToOnboardingSuccess1611617
doneButtonToAssetList61121633633
total9942610241024
Asset DetailsassetClickToPriceChart62137179
total62137179
Solana Asset DetailsassetClickToPriceChart4834953
total4834953
Import Srp HomeloginToHomeScreen198214920982169
openAccountMenuAfterLogin4344547
homeAfterImportWithNewWallet244514124572670
total44237544634516
Send TransactionsopenSendPageFromHome4004040
selectTokenToSendFormLoaded2012123
reviewTransactionToConfirmationPage8576858865
total92310926938
SwapopenSwapPageFromHome13112133151
fetchAndDisplaySwapQuotes46152946194657
total47451847404775
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 4.24 MiB (100%)
  • ui: 8.16 MiB (100%)
  • common: 10.91 MiB (100%)

@smgv smgv requested a review from a team as a code owner February 23, 2026 12:55
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Feb 23, 2026

✨ Files requiring CODEOWNER review ✨

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

@smgv smgv changed the title refactor: reveal SRP UI refactor: Reveal SRP UI (TypeScript, multi-screen flow, skip quiz) Feb 26, 2026
@smgv smgv mentioned this pull request Feb 26, 2026
7 tasks
@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Feb 26, 2026

Builds ready [746d5c5]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account2742652836276283
total2742652836276283
Confirm Txconfirm_tx604960456055460556055
total604960456055460556055
Bridge User Actionsbridge_load_page21219322512219225
bridge_load_asset_picker2742722751275275
bridge_search_token74770677828774778
total1259123612711412651271
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14381229214312214821639
load12101020178110512451402
domContentLoaded12041017177410312381391
domInteractive3018161232677
firstPaint156701394142197265
backgroundConnect21519926211219239
firstReactRender20124962229
initialActions108225
loadScripts1004808156310310371192
setupStore1363161826
numNetworkReqs312290192683
Power User HomeuiStartup3037170210698193930158563
load12961111179414013421620
domContentLoaded12781102176113413231608
domInteractive3821176243778
firstPaint220901713176283379
backgroundConnect877285825412367693772
firstReactRender26185862736
initialActions104113
loadScripts1044887153513210681395
setupStore197220231843
numNetworkReqs77451452295114
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2232192315225231
srpButtonToSrpForm1109214320121143
confirmSrpToPwForm22222202222
pwFormToMetricsScreen16161601616
metricsToWalletReadyScreen17161911719
doneButtonToHomeScreen1039730159935313121599
openAccountMenuToAccountListLoaded75737232787428578447874
total8990894190303790309030
Onboarding New WalletcreateWalletToSocialScreen2212162295224229
srpButtonToPwForm1041021061104106
createPwToRecoveryScreen888088
skipBackupToMetricsScreen35343713737
agreeButtonToOnboardingSuccess16151601616
doneButtonToAssetList62953775278620752
total101691411438210141143
Asset DetailsassetClickToPriceChart533874167274
total533874167274
Solana Asset DetailsassetClickToPriceChart48474804848
total48474804848
Import Srp HomeloginToHomeScreen20271907231115820902311
openAccountMenuAfterLogin40354544245
homeAfterImportWithNewWallet22142058245915722422459
total42094007441318243674413
Send TransactionsopenSendPageFromHome371756165356
selectTokenToSendFormLoaded20172222122
reviewTransactionToConfirmationPage8668558809866880
total93590098530951985
SwapopenSwapPageFromHome11410012911120129
fetchAndDisplaySwapQuotes4593457846171545894617
total4737467848165247454816
🌐 Dapp Page Load Benchmarks

Current Commit: 746d5c5 | Date: 2/26/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.08s (±42ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 758ms (±40ms) 🟢 | historical mean value: 742ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 85ms (±12ms) 🟢 | historical mean value: 83ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.08s 42ms 1.05s 1.38s 1.12s 1.38s
domContentLoaded 758ms 40ms 731ms 1.05s 792ms 1.05s
firstPaint 85ms 12ms 68ms 188ms 92ms 188ms
firstContentfulPaint 85ms 12ms 68ms 188ms 92ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.14 MiB (100%)
  • ui: 8.17 MiB (100%)
  • common: 11.04 MiB (100%)

Copy link
Copy Markdown

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

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Feb 26, 2026

Builds ready [4f38751]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account27325830216276302
total27325830216276302
Confirm Txconfirm_tx6092603961534161256153
total6092603961534161256153
Bridge User Actionsbridge_load_page2142002228222222
bridge_load_asset_picker1981852088206208
bridge_search_token7167047289725728
total1128109711582411531158
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14151206170411114441647
load1190100914519812111402
domContentLoaded1183100414449712051386
domInteractive2917108192577
firstPaint162721179123209275
backgroundConnect21619827415219242
firstReactRender19133852027
initialActions104113
loadScripts98580612539710101191
setupStore1375661520
numNetworkReqs322295192982
Power User HomeuiStartup258014638287129027425739
load12201058165411712491476
domContentLoaded12021044163911212301446
domInteractive3421138183455
firstPaint195861565161255334
backgroundConnect70126740327288201843
firstReactRender25165772642
initialActions105112
loadScripts984841141610710031230
setupStore1655291834
numNetworkReqs75401472184112
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2222162326227232
srpButtonToSrpForm90899119191
confirmSrpToPwForm21212102121
pwFormToMetricsScreen14141501515
metricsToWalletReadyScreen15151711617
doneButtonToHomeScreen60456072168573721
openAccountMenuToAccountListLoaded70426805725716070637257
total82817885880441187618804
Onboarding New WalletcreateWalletToSocialScreen2202172242220224
srpButtonToPwForm1121071195112119
createPwToRecoveryScreen999099
skipBackupToMetricsScreen39364334243
agreeButtonToOnboardingSuccess18162022020
doneButtonToAssetList1100609146629612881466
total15111005186130617501861
Asset DetailsassetClickToPriceChart43375264352
total43375264352
Solana Asset DetailsassetClickToPriceChart48455234952
total48455234952
Import Srp HomeloginToHomeScreen2013194921136120092113
openAccountMenuAfterLogin503769125769
homeAfterImportWithNewWallet25242291274618826682746
total46904300534337347635343
Send TransactionsopenSendPageFromHome291942103942
selectTokenToSendFormLoaded21182532225
reviewTransactionToConfirmationPage1099848133021013131330
total1149905138220413511382
SwapopenSwapPageFromHome1149812812127128
fetchAndDisplaySwapQuotes56364577638485263326384
total57504676648885964596488
🌐 Dapp Page Load Benchmarks

Current Commit: 4f38751 | Date: 2/26/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.09s (±40ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 743ms (±38ms) 🟢 | historical mean value: 734ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 81ms (±12ms) 🟢 | historical mean value: 82ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.09s 40ms 1.07s 1.39s 1.12s 1.39s
domContentLoaded 743ms 38ms 720ms 1.03s 764ms 1.03s
firstPaint 81ms 12ms 68ms 184ms 88ms 184ms
firstContentfulPaint 81ms 12ms 68ms 184ms 88ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.14 MiB (100%)
  • ui: 8.17 MiB (100%)
  • common: 11.04 MiB (100%)

@sonarqubecloud
Copy link
Copy Markdown

@metamaskbotv2
Copy link
Copy Markdown
Contributor

metamaskbotv2 bot commented Feb 26, 2026

Builds ready [27740d6]
⚡ Performance Benchmarks
👆 Interaction Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Load New Accountload_new_account28927031517292315
total28927031517292315
Confirm Txconfirm_tx6114609661381561246138
total6114609661381561246138
Bridge User Actionsbridge_load_page22319027129236271
bridge_load_asset_picker20115123931218239
bridge_search_token7187077298721729
total1142112411691611501169
🔌 Startup Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Standard HomeuiStartup14201198190810814581626
load1195102015799812251393
domContentLoaded1188101515729612141376
domInteractive2917103182678
firstPaint169671188124214285
backgroundConnect21519825912219242
firstReactRender20105162129
initialActions1012123
loadScripts98981613719710121156
setupStore1364961524
numNetworkReqs312291192383
Power User HomeuiStartup3209139110268202339058678
load12371034175914512541593
domContentLoaded12211024173313912341581
domInteractive37202603533110
firstPaint191771459154244343
backgroundConnect13472578539170119794830
firstReactRender24164452636
initialActions108112
loadScripts1008824147613510111377
setupStore1553361726
numNetworkReqs86401422098126
🧭 User Journey Benchmarks
BenchmarkMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P75 (ms)P95 (ms)
Onboarding Import WalletimportWalletToSocialScreen2212192231222223
srpButtonToSrpForm93929419494
confirmSrpToPwForm22212302223
pwFormToMetricsScreen15151601516
metricsToWalletReadyScreen17161701717
doneButtonToHomeScreen1170576161239114121612
openAccountMenuToAccountListLoaded70266844721613170237216
total88728615920221288719202
Onboarding New WalletcreateWalletToSocialScreen2202202200220220
srpButtonToPwForm11710513511124135
createPwToRecoveryScreen999099
skipBackupToMetricsScreen37363813738
agreeButtonToOnboardingSuccess17161801818
doneButtonToAssetList987629130327912271303
total13901018172728216211727
Asset DetailsassetClickToPriceChart684894208894
total684894208894
Solana Asset DetailsassetClickToPriceChart48484914849
total48484914849
Import Srp HomeloginToHomeScreen2061199421535920642153
openAccountMenuAfterLogin46435034750
homeAfterImportWithNewWallet27102229346754332733467
total48864343592163953485921
Send TransactionsopenSendPageFromHome311940104040
selectTokenToSendFormLoaded21212202122
reviewTransactionToConfirmationPage88286492123871921
total93291396118932961
SwapopenSwapPageFromHome1169813213130132
fetchAndDisplaySwapQuotes52924601626977061936269
total54084714637577263236375
🌐 Dapp Page Load Benchmarks

Current Commit: 27740d6 | Date: 2/26/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±55ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 736ms (±52ms) 🟢 | historical mean value: 733ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 79ms (±13ms) 🟢 | historical mean value: 81ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 55ms 1.01s 1.35s 1.08s 1.35s
domContentLoaded 736ms 52ms 709ms 1.02s 760ms 1.02s
firstPaint 79ms 13ms 64ms 188ms 92ms 188ms
firstContentfulPaint 79ms 13ms 64ms 188ms 92ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.14 MiB (100%)
  • ui: 8.17 MiB (100%)
  • common: 11 MiB (100%)

@smgv smgv requested a review from chaitanyapotti March 2, 2026 11:47
@smgv smgv merged commit 9f05ac4 into feat/reveal-srp-ui Mar 2, 2026
646 of 654 checks passed
@smgv smgv deleted the refactor/reveal-srp-ui branch March 2, 2026 12:05
@github-actions github-actions bot locked and limited conversation to collaborators Mar 2, 2026
@github-actions github-actions bot removed the needs-qa Label will automate into QA workspace label Mar 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants