Skip to content

Conversation

@smgv
Copy link
Contributor

@smgv smgv commented Sep 22, 2025

Description

Updated the following:

  • Removed the Pin Carousel UI from the flow.
  • Moved the Wallet Ready Page to appear after the Download App Page.
  • Added a banner to the Wallet Ready Page

Jira Link: https://consensyssoftware.atlassian.net/browse/SL-53

Figma Link: https://www.figma.com/design/pViOUcmjwhEzFsdrwknpNc/Onboarding?node-id=16495-182029&m=dev

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Updated pin extension ui

Related issues

Fixes:

Manual testing steps

  1. Open the extension.
  2. Create a wallet using the new Social Login (e.g., Google or Apple).
  3. Compare the new flow

Screenshots/Recordings

Before

After

SOCIAL LOGIN FLOW:

Screen.Recording.2025-09-25.at.8.17.53.AM.mov

SRP FLOW:

Screen.Recording.2025-09-25.at.8.18.48.AM.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

Reworks onboarding to show Download App before completion, replaces the pin-extension carousel with a header banner, auto-completes onboarding to Home, and updates tests and copy.

  • Onboarding flow:
    • Social login creation navigates to ONBOARDING_DOWNLOAD_APP_ROUTE; Download App Continue now routes to ONBOARDING_COMPLETION_ROUTE.
    • Completion Done now dispatches completion actions (toggle external services, setCompletedOnboarding), tracks ExtensionPinned, and navigates to DEFAULT_ROUTE.
    • Removes pin-extension carousel screens; updates privacy settings to return via replace.
  • UI/UX:
    • Adds a header banner tip on ONBOARDING_COMPLETION_ROUTE with guidance to pin MetaMask; includes new styles.
    • Tweaks downloadAppDescription copy and text color.
  • i18n:
    • Adds pinMetaMask and pinMetaMaskDescription; updates downloadAppDescription in app/_locales/en*.
  • Tests:
    • Updates e2e/integration flows to the new order; removes pin-extension steps; simplifies OnboardingCompletePage.completeOnboarding().

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

@smgv smgv self-assigned this Sep 22, 2025
@smgv smgv requested a review from a team as a code owner September 22, 2025 10:33
@smgv smgv added area-onboarding needs-qa Label will automate into QA workspace team-web3auth Web3Auth team labels Sep 22, 2025
@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
Copy link
Collaborator

metamaskbot commented Sep 22, 2025

✨ Files requiring CODEOWNER review ✨

🧪 @MetaMask/qa (1 files, +2 -13)
  • 📁 test/
    • 📁 e2e/
      • 📁 page-objects/
        • 📁 pages/
          • 📁 onboarding/
            • 📄 onboarding-complete-page.ts +2 -13

🔐 @MetaMask/web3auth (12 files, +281 -45)
  • 📁 ui/
    • 📁 pages/
      • 📁 onboarding-flow/
        • 📁 create-password/
          • 📄 create-password.js +2 -1
        • 📁 creation-successful/
          • 📄 creation-successful.js +54 -8
          • 📄 creation-successful.test.js +5 -4
        • 📁 download-app/
          • 📄 download-app.test.tsx +5 -2
          • 📄 download-app.tsx +6 -3
        • 📁 onboarding-app-header/
          • 📁 __snapshots__/
            • 📄 onboarding-app-header.test.js.snap +81 -0
            • 📄 index.scss +18 -0
            • 📄 onboarding-app-header.js +74 -13
            • 📄 onboarding-app-header.test.js +25 -0
        • 📁 privacy-settings/
          • 📄 privacy-settings.js +1 -2
        • 📁 welcome/
          • 📄 welcome.js +6 -12
          • 📄 onboarding-flow.js +4 -0

cursor[bot]

This comment was marked as outdated.

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 4cf4675 | Date: 9/22/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±71ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 732ms (±69ms) 🟢 | historical mean value: 733ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±12ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 71ms 1.01s 1.32s 1.26s 1.32s
domContentLoaded 732ms 69ms 697ms 999ms 949ms 999ms
firstPaint 77ms 12ms 64ms 180ms 92ms 180ms
firstContentfulPaint 77ms 12ms 64ms 180ms 92ms 180ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [4cf4675]
UI Startup Metrics (1198 ± 62 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1198108513876212461303
load102793111415310701117
domContentLoaded101992511315310631108
domInteractive18135171738
firstPaint58175112041110221092
backgroundConnect21720033014218232
firstReactRender2717165162845
getState1453361825
initialActions40213611
loadScripts81071692353854901
setupStore1062641119
WebpackHomeuiStartup1158930134210812441321
load971766114310010411103
domContentLoaded966762113810010361098
domInteractive16125991444
firstPaint1536341066177283
backgroundConnect17123961730
firstReactRender36334623641
getState74193712
initialActions62164815
loadScripts963760113510010291095
setupStore96212912
FirefoxBrowserifyHomeuiStartup13891221181311614571607
load1199107014708512651333
domContentLoaded1198107014708512651333
domInteractive1043226753111236
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3219124163577
firstReactRender28235152939
getState62374611
initialActions518612315
loadScripts1173105114438412421309
setupStore1048311830
WebpackHomeuiStartup15521372216815716551858
load13221157178413514141585
domContentLoaded13221156178313514141585
domInteractive108323987198293
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect32205273845
firstReactRender45355654854
getState63283610
initialActions512002138
loadScripts12991133176413713911565
setupStore10611112919
Benchmark value 217 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 27 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 232 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 11 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 19 exceeds gate value 17 for chrome browserify home p95 setupStore
Benchmark value 15 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 33 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 28 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 236 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 77 exceeds gate value 70 for firefox browserify home p95 backgroundConnect
Benchmark value 15 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 30 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 108 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 32 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 45 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 293 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 54 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 8 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 259ms | Sum of p95 exceeds: 444.8ms
Sum of all benchmark exceeds: 703.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 1.79 KiB (0.03%)
  • common: 105 Bytes (0%)

@LeVinhGithub
Copy link
Contributor

Confirmation with Val, QR code + pin screen only for Social Login flow
https://www.figma.com/design/pViOUcmjwhEzFsdrwknpNc?node-id=13867-57094#1436308352
cc @smgv

@LeVinhGithub
Copy link
Contributor

@smgv

Pls help me check the recording

Screenshare.-.2025-09-22.9_23_40.PM.mp4
  • Wrong metametric screen, this issue should be fixed by lwin, not sure if it's merged
  • Wrong Wallet is ready screen, should have this screen in Rehydrate flow

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 672a124 | Date: 9/23/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±73ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 737ms (±69ms) 🟢 | historical mean value: 740ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±14ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 73ms 1.00s 1.34s 1.27s 1.34s
domContentLoaded 737ms 69ms 694ms 1.01s 942ms 1.01s
firstPaint 76ms 14ms 60ms 192ms 88ms 192ms
firstContentfulPaint 76ms 14ms 60ms 192ms 88ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [672a124]
UI Startup Metrics (1198 ± 65 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1198108814326512311299
load102489812526410581132
domContentLoaded101588912396410531123
domInteractive18135371740
firstPaint64391114140410451109
backgroundConnect21520131312215235
firstReactRender2616145142742
getState1354371630
initialActions41214515
loadScripts809686102764846917
setupStore1053241017
WebpackHomeuiStartup1161925133410512361291
load978762112410010511097
domContentLoaded97475911199910471091
domInteractive16124381437
firstPaint1566040663176285
backgroundConnect16103761529
firstReactRender35335433541
getState64243612
initialActions62204815
loadScripts97175711179910441089
setupStore86213916
FirefoxBrowserifyHomeuiStartup13891209184010314381542
load1208106213937512831330
domContentLoaded1208106213937512821330
domInteractive993432350102222
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect35181402435103
firstReactRender28234442938
getState62788610
initialActions31243311
loadScripts1181104613467512551305
setupStore95508827
WebpackHomeuiStartup15461364212716816161968
load13161150167412814151575
domContentLoaded13151150167412814131574
domInteractive103323236494307
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect32219893641
firstReactRender44367554655
getState9316822612
initialActions612372437
loadScripts12931122165213013911541
setupStore95487923
Benchmark value 215 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 27 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 235 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 15 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 15 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 36 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 28 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 3 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 10 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 222 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 103 exceeds gate value 70 for firefox browserify home p95 backgroundConnect
Benchmark value 11 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 103 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 33 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 44 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 1968 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 307 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 55 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 7 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 251ms | Sum of p95 exceeds: 501.8ms
Sum of all benchmark exceeds: 752.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 1.79 KiB (0.03%)
  • common: 105 Bytes (0%)

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 7291cf8 | Date: 9/23/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±76ms) 🟡 | historical mean value: 1.06s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 742ms (±73ms) 🟢 | historical mean value: 740ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±14ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 76ms 1.02s 1.38s 1.32s 1.38s
domContentLoaded 742ms 73ms 705ms 1.04s 982ms 1.04s
firstPaint 76ms 14ms 60ms 204ms 88ms 204ms
firstContentfulPaint 76ms 14ms 60ms 204ms 88ms 204ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [7291cf8]
UI Startup Metrics (1187 ± 66 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1187106714136612241307
load102292912215910551133
domContentLoaded101592312135910481125
domInteractive18144371738
firstPaint61684118440510131119
backgroundConnect2131942356215227
firstReactRender26174962840
getState1353961625
initialActions50295619
loadScripts80972599158842919
setupStore952131015
WebpackHomeuiStartup1161919185512912331310
load978756160612110501128
domContentLoaded973752159912110431125
domInteractive16125191442
firstPaint1536241556178265
backgroundConnect16113461629
firstReactRender36335533541
getState74183713
initialActions62234814
loadScripts970750159012010341123
setupStore86192912
FirefoxBrowserifyHomeuiStartup15001290199213415371824
load1289112215097913471425
domContentLoaded1289112215097913471424
domInteractive1173653568125252
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3721113203699
firstReactRender31245873248
getState838212725
initialActions41899412
loadScripts1260110214807813211378
setupStore13419823936
WebpackHomeuiStartup15931382197914416991854
load13671167168713714861596
domContentLoaded13671167168713714851596
domInteractive1083232666103297
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect30196383546
firstReactRender45375944854
getState62162610
initialActions5012814310
loadScripts13451150165813714651578
setupStore95294920
Benchmark value 214 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 26 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 227 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 19 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 14 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 1501 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 1289 exceeds gate value 1245 for firefox browserify home mean load
Benchmark value 1289 exceeds gate value 1239 for firefox browserify home mean domContentLoaded
Benchmark value 117 exceeds gate value 110 for firefox browserify home mean domInteractive
Benchmark value 37 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 31 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 1260 exceeds gate value 1230 for firefox browserify home mean loadScripts
Benchmark value 14 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1824 exceeds gate value 1660 for firefox browserify home p95 uiStartup
Benchmark value 252 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 99 exceeds gate value 70 for firefox browserify home p95 backgroundConnect
Benchmark value 25 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 12 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 36 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 109 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 31 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 46 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 297 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 54 exceeds gate value 50 for firefox webpack home p95 firstReactRender
Benchmark value 10 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 492ms | Sum of p95 exceeds: 656.8ms
Sum of all benchmark exceeds: 1148.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 1.97 KiB (0.03%)
  • common: 105 Bytes (0%)

@LeVinhGithub
Copy link
Contributor

@smgv

Still can click BACK to see the Wallet is ready screen

Screenshare.-.2025-09-24.9_44_02.AM.mp4

Pls help me check
thanks

cursor[bot]

This comment was marked as outdated.

@metamaskbot
Copy link
Collaborator

Builds ready [7ed6d32]
UI Startup Metrics (1247 ± 68 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1247113015206812831368
load107795912605711011182
domContentLoaded106995412325610931175
domInteractive18134261733
firstPaint665147123843310771182
backgroundConnect25624131311259276
firstReactRender26176392845
getState1454891538
initialActions61557617
loadScripts82170798255843932
setupStore1164061125
WebpackHomeuiStartup19451456253521720962307
load15421151189016616551800
domContentLoaded15351147188516516501785
domInteractive171291121441
firstPaint1455649365179256
backgroundConnect28178093042
firstReactRender94373246794293
getState2452935615245
initialActions8226026618
loadScripts15321145187716416481777
setupStore226281481533
FirefoxBrowserifyHomeuiStartup13941201188811714591626
load1204104613948512731360
domContentLoaded1204104613948512731360
domInteractive1023332352113217
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3020122133250
firstReactRender28248572932
getState10214218644
initialActions5111612410
loadScripts1181102813728512521338
setupStore11510012930
WebpackHomeuiStartup16251412198415217161922
load13871183173513614881624
domContentLoaded13871183173413614881624
domInteractive1123332561108296
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3221163153750
firstReactRender38325944043
getState62545713
initialActions3113246
loadScripts13631165170613614601592
setupStore125146141125
Benchmark value 1248 exceeds gate value 1234 for chrome browserify home mean uiStartup
Benchmark value 1078 exceeds gate value 1070 for chrome browserify home mean load
Benchmark value 1070 exceeds gate value 1061 for chrome browserify home mean domContentLoaded
Benchmark value 256 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 27 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 7 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 1369 exceeds gate value 1365 for chrome browserify home p95 uiStartup
Benchmark value 1183 exceeds gate value 1180 for chrome browserify home p95 firstPaint
Benchmark value 276 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 38 exceeds gate value 33 for chrome browserify home p95 getState
Benchmark value 17 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 25 exceeds gate value 17 for chrome browserify home p95 setupStore
Benchmark value 9 exceeds gate value 7 for chrome webpack home mean initialActions
Benchmark value 245 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 18 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 30 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 217 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 44 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 10 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 30 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 1625 exceeds gate value 1615 for firefox webpack home mean uiStartup
Benchmark value 1388 exceeds gate value 1380 for firefox webpack home mean load
Benchmark value 1388 exceeds gate value 1380 for firefox webpack home mean domContentLoaded
Benchmark value 112 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 32 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 1364 exceeds gate value 1360 for firefox webpack home mean loadScripts
Benchmark value 296 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 50 exceeds gate value 49 for firefox webpack home p95 backgroundConnect
Benchmark value 6 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 356ms | Sum of p95 exceeds: 552.8ms
Sum of all benchmark exceeds: 908.8ms

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 6a388a9 | Date: 9/30/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±73ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 741ms (±71ms) 🟢 | historical mean value: 739ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±10ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 73ms 1.01s 1.35s 1.30s 1.35s
domContentLoaded 741ms 71ms 703ms 1.02s 962ms 1.02s
firstPaint 77ms 10ms 60ms 148ms 88ms 148ms
firstContentfulPaint 77ms 10ms 60ms 148ms 88ms 148ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [6a388a9]
UI Startup Metrics (1232 ± 65 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1232108613816512821353
load106494911875511061148
domContentLoaded105794311805510991141
domInteractive18134361736
firstPaint61687119142610721145
backgroundConnect25123933710255260
firstReactRender23174352435
getState1465081531
initialActions50466614
loadScripts81270192854856894
setupStore962731015
WebpackHomeuiStartup20281460263228322532535
load16251158208823117942001
domContentLoaded16181150208423117841994
domInteractive1912126191463
firstPaint1787245772201352
backgroundConnect291464103255
firstReactRender102393377893327
getState245319531527
initialActions52234514
loadScripts16141147207422917811983
setupStore166275261624
FirefoxBrowserifyHomeuiStartup14141220189111914601636
load1223107314448112771396
domContentLoaded1222107314448112761396
domInteractive1003326848106227
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3120172183451
firstReactRender28235242932
getState83698628
initialActions511781748
loadScripts1200105214238012511377
setupStore1157813953
WebpackHomeuiStartup15481365194714416391852
load13211155171112514161577
domContentLoaded13201154171112514161577
domInteractive108253216596298
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect29214063539
firstReactRender36314533942
getState63132712
initialActions3115246
loadScripts12981130169012613971559
setupStore962541019
Benchmark value 252 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 24 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 261 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 14 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 2536 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 64 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 353 exceeds gate value 334 for chrome webpack home p95 firstPaint
Benchmark value 14 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 1984 exceeds gate value 1970 for chrome webpack home p95 loadScripts
Benchmark value 1414 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 32 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 28 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 227 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 28 exceeds gate value 24 for firefox browserify home p95 getState
Benchmark value 8 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 53 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 108 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 30 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 298 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 6 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 289ms | Sum of p95 exceeds: 598.8ms
Sum of all benchmark exceeds: 887.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 1.87 KiB (0.03%)
  • common: 67 Bytes (0%)

LeVinhGithub
LeVinhGithub previously approved these changes Sep 30, 2025
Copy link
Contributor

@LeVinhGithub LeVinhGithub left a comment

Choose a reason for hiding this comment

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

lgtm

await onboardingCompletePage.checkPageIsLoaded();
await onboardingCompletePage.checkWalletReadyMessageIsDisplayed();
await onboardingCompletePage.completeOnboarding();
await onboardingCompletePage.clickCreateWalletDoneButton();
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: it's better to call onboardingCompletePage.completeOnboarding(); instead, under the hood which basically does the same thing.
It would give more useful insight when some one check the tests. 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PR Updated

firstTimeFlowType === FirstTimeFlowType.restore
) {
if (isFireFox || firstTimeFlowType !== FirstTimeFlowType.socialImport) {
if (isFireFox) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The logic here is not correct.
For SRP flow, users should be redirected to the metametrics page regardless of the browser.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PR updated

cursor[bot]

This comment was marked as outdated.

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: b6b1d09 | Date: 10/1/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±71ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 727ms (±68ms) 🟢 | historical mean value: 738ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±12ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 71ms 996ms 1.32s 1.29s 1.32s
domContentLoaded 727ms 68ms 688ms 983ms 961ms 983ms
firstPaint 75ms 12ms 64ms 176ms 88ms 176ms
firstContentfulPaint 75ms 12ms 64ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [b6b1d09]
UI Startup Metrics (1247 ± 83 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1247109414728312851418
load108194812917811161245
domContentLoaded107494212817711091236
domInteractive17134761631
firstPaint68281126543611001189
backgroundConnect2522392807255264
firstReactRender24174552635
getState14597111726
initialActions6010011718
loadScripts828704103675865987
setupStore1052541022
WebpackHomeuiStartup20251521264330022612516
load16061216200322417641961
domContentLoaded15981210199722317601942
domInteractive2012126191575
firstPaint1626735367187322
backgroundConnect301690113256
firstReactRender101383458196329
getState3053186715265
initialActions62325620
loadScripts15941208198622217571931
setupStore185295401425
FirefoxBrowserifyHomeuiStartup14411202182211314961667
load1245104715758913031402
domContentLoaded1244104715748813021401
domInteractive1033538661107244
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3221115143460
firstReactRender28245243034
getState9317117717
initialActions41394410
loadScripts1220103015538712811368
setupStore12520521925
WebpackHomeuiStartup16101404215215717241940
load13681186170313514701587
domContentLoaded13681186170313514701587
domInteractive1093435363105313
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect31204373841
firstReactRender39326554148
getState62223713
initialActions3020349
loadScripts13451162167813614511567
setupStore1063951023
Benchmark value 1248 exceeds gate value 1234 for chrome browserify home mean uiStartup
Benchmark value 1081 exceeds gate value 1070 for chrome browserify home mean load
Benchmark value 1074 exceeds gate value 1061 for chrome browserify home mean domContentLoaded
Benchmark value 252 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 25 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 7 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 1419 exceeds gate value 1365 for chrome browserify home p95 uiStartup
Benchmark value 1246 exceeds gate value 1190 for chrome browserify home p95 load
Benchmark value 1237 exceeds gate value 1180 for chrome browserify home p95 domContentLoaded
Benchmark value 1189 exceeds gate value 1180 for chrome browserify home p95 firstPaint
Benchmark value 264 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 18 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 987 exceeds gate value 940 for chrome browserify home p95 loadScripts
Benchmark value 22 exceeds gate value 17 for chrome browserify home p95 setupStore
Benchmark value 31 exceeds gate value 29 for chrome webpack home mean getState
Benchmark value 2516 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 75 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 265 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 20 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 1442 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 1245 exceeds gate value 1239 for firefox browserify home mean domContentLoaded
Benchmark value 33 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 29 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 12 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1667 exceeds gate value 1660 for firefox browserify home p95 uiStartup
Benchmark value 244 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 10 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 110 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 31 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 39 exceeds gate value 38 for firefox webpack home mean firstReactRender
Benchmark value 4 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 1940 exceeds gate value 1935 for firefox webpack home p95 uiStartup
Benchmark value 313 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 9 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 371ms | Sum of p95 exceeds: 886.8ms
Sum of all benchmark exceeds: 1257.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 1.87 KiB (0.03%)
  • common: 67 Bytes (0%)

? ONBOARDING_COMPLETION_ROUTE
: ONBOARDING_METAMETRICS,
{ replace: true },
);
Copy link

Choose a reason for hiding this comment

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

Bug: Social Import Flow Redirects Incorrectly

Removing FirstTimeFlowType.socialImport from the initial navigation condition causes social import users to incorrectly fall through the logic and navigate to ONBOARDING_REVIEW_SRP_ROUTE. The intended behavior for social import flows is to skip additional onboarding steps and proceed directly to completion.

Fix in Cursor Fix in Web

@metamaskbot
Copy link
Collaborator

❌ test-e2e-chrome-api-specs failed. View the html report here.

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 0604efa | Date: 10/1/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±69ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 725ms (±67ms) 🟢 | historical mean value: 738ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 69ms 997ms 1.30s 1.24s 1.30s
domContentLoaded 725ms 67ms 690ms 985ms 925ms 985ms
firstPaint 74ms 11ms 60ms 160ms 88ms 160ms
firstContentfulPaint 74ms 11ms 60ms 160ms 88ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [0604efa]
UI Startup Metrics (1209 ± 66 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1209110715846612351313
load104394614016210721146
domContentLoaded103589513966410641139
domInteractive18135871737
firstPaint70185141641410601109
backgroundConnect25223835613255272
firstReactRender23165152533
getState1356281535
initialActions50385513
loadScripts790659114362818892
setupStore11595101122
WebpackHomeuiStartup20061487253126921832479
load16011205195120517471911
domContentLoaded15931191193520517401901
domInteractive181297161471
firstPaint1656242473183331
backgroundConnect3013302303256
firstReactRender82373425587164
getState3653147915282
initialActions52203611
loadScripts15901189192320317371889
setupStore1052531216
FirefoxBrowserifyHomeuiStartup14231237182912014791691
load1226107516158412811370
domContentLoaded1225107416158412801370
domInteractive1043428348115226
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3219103133456
firstReactRender28235242932
getState73487613
initialActions617610511
loadScripts1202105615248012571339
setupStore105528930
WebpackHomeuiStartup15711383195414816681872
load13441163172714014261631
domContentLoaded13441162172714014261631
domInteractive1103232666111292
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect30215173645
firstReactRender37314633943
getState63142611
initialActions3112248
loadScripts13221139170014114021610
setupStore1066171024
Benchmark value 253 exceeds gate value 10 for chrome browserify home mean backgroundConnect
Benchmark value 24 exceeds gate value 23 for chrome browserify home mean firstReactRender
Benchmark value 5 exceeds gate value 1 for chrome browserify home mean initialActions
Benchmark value 272 exceeds gate value 18 for chrome browserify home p95 backgroundConnect
Benchmark value 35 exceeds gate value 33 for chrome browserify home p95 getState
Benchmark value 13 exceeds gate value 1.2 for chrome browserify home p95 initialActions
Benchmark value 22 exceeds gate value 17 for chrome browserify home p95 setupStore
Benchmark value 37 exceeds gate value 29 for chrome webpack home mean getState
Benchmark value 2479 exceeds gate value 2454 for chrome webpack home p95 uiStartup
Benchmark value 72 exceeds gate value 57 for chrome webpack home p95 domInteractive
Benchmark value 282 exceeds gate value 195 for chrome webpack home p95 getState
Benchmark value 11 exceeds gate value 7 for chrome webpack home p95 initialActions
Benchmark value 1423 exceeds gate value 1405 for firefox browserify home mean uiStartup
Benchmark value 32 exceeds gate value 25 for firefox browserify home mean backgroundConnect
Benchmark value 28 exceeds gate value 25 for firefox browserify home mean firstReactRender
Benchmark value 6 exceeds gate value 1 for firefox browserify home mean initialActions
Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore
Benchmark value 1691 exceeds gate value 1660 for firefox browserify home p95 uiStartup
Benchmark value 226 exceeds gate value 195 for firefox browserify home p95 domInteractive
Benchmark value 11 exceeds gate value 2 for firefox browserify home p95 initialActions
Benchmark value 30 exceeds gate value 27 for firefox browserify home p95 setupStore
Benchmark value 110 exceeds gate value 100 for firefox webpack home mean domInteractive
Benchmark value 31 exceeds gate value 26 for firefox webpack home mean backgroundConnect
Benchmark value 4 exceeds gate value 1 for firefox webpack home mean initialActions
Benchmark value 292 exceeds gate value 156 for firefox webpack home p95 domInteractive
Benchmark value 8 exceeds gate value 2 for firefox webpack home p95 initialActions
Sum of mean exceeds: 309ms | Sum of p95 exceeds: 619.8ms
Sum of all benchmark exceeds: 928.8ms

Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 1.83 KiB (0.03%)
  • common: 67 Bytes (0%)

Copy link
Contributor

@lionellbriones lionellbriones left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@lwin-kyaw lwin-kyaw left a comment

Choose a reason for hiding this comment

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

LGTM!

@lwin-kyaw lwin-kyaw enabled auto-merge October 1, 2025 08:41
@lwin-kyaw lwin-kyaw added this pull request to the merge queue Oct 1, 2025
Merged via the queue into main with commit 9afd123 Oct 1, 2025
280 of 284 checks passed
@lwin-kyaw lwin-kyaw deleted the feat/update-pin-extension-ui branch October 1, 2025 09:12
@github-actions github-actions bot locked and limited conversation to collaborators Oct 1, 2025
@metamaskbot metamaskbot added the release-13.5.0 Issue or pull request that will be included in release 13.5.0 label Oct 1, 2025
@smgv smgv changed the title feat: Updated pin extension ui feat: Updated pin extension ui cp-13.5.0 Oct 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-onboarding QA Passed release-13.5.0 Issue or pull request that will be included in release 13.5.0 size-M team-web3auth Web3Auth team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants