Skip to content

Conversation

@NidhiKJha
Copy link
Member

@NidhiKJha NidhiKJha commented Nov 28, 2025

This PR is to ensure sidepanel is rendered based on build FF: IS_SIDEPANEL
It also removes the sidepanel context menu
Set the IS_SIDEPANEL to true for all builds

Description

Open in GitHub Codespaces

Changelog

CHANGELOG entry:null

Related issues

Fixes: context issue
FF update

Manual testing steps

  1. Start onboarding, after onboarding it should open sidepanel
  2. With global menu you can switch between sidepanel and popup view
  3. For new users, it should onboard them in sidepanel
  4. For existing users, it should still show popup view

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

Enable sidepanel via build-time IS_SIDEPANEL only, remove sidepanel context menu, set flag true across builds, and adjust background/UI/tests accordingly.

  • Sidepanel enablement:
    • Gate feature solely on build flag process.env.IS_SIDEPANEL (remove LaunchDarkly dependency) via useSidePanelEnabled.
    • Set IS_SIDEPANEL: true for all build types and E2E workflow.
  • Background/manifest:
    • Remove sidepanel context menu implementation and initialization (app/scripts/lib/sidepanel-context-menu.ts, related imports/calls in background.js).
    • Drop RemoteFeatureFlag-based sidepanel preference listener; keep preference-driven behavior only.
    • Remove contextMenus permission from app/manifest/v3/_base.json (retain sidePanel).
  • UI:
    • GlobalMenu uses build flag for sidepanel availability; logic unchanged otherwise.
  • E2E/tests:
    • Add isSidePanelEnabled helper and integrate into specs to skip or alter assertions (e.g., toasts, request counts) when sidepanel is active.
    • Update onboarding flow to navigate to home.html post-completion on Chrome; add waits/switching by URL.
    • Ignore known sidepanel console error in driver.

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

@NidhiKJha NidhiKJha requested review from a team as code owners November 28, 2025 17:14
@metamaskbot metamaskbot added the team-core-extension-ux Core Extension UX team label Nov 28, 2025
@NidhiKJha NidhiKJha changed the title feat: only use remote FF for sidepanel feat: cp-13.12 only use remote FF for sidepanel Nov 28, 2025
@NidhiKJha NidhiKJha changed the title feat: cp-13.12 only use remote FF for sidepanel feat: cp-13.12.0 only use remote FF for sidepanel Nov 28, 2025
@metamaskbot
Copy link
Collaborator

metamaskbot commented Nov 28, 2025

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/core-extension-ux (1 files, +1 -1)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 global-menu/
          • 📄 global-menu.tsx +1 -1

🧪 @MetaMask/qa (2 files, +46 -19)
  • 📁 test/
    • 📁 e2e/
      • 📁 page-objects/
        • 📁 flows/
          • 📄 onboarding.flow.ts +21 -19
        • 📄 helpers.js +25 -0

AndyMBridges
AndyMBridges previously approved these changes Nov 28, 2025
@NidhiKJha
Copy link
Member Author

NidhiKJha commented Nov 28, 2025

@Gudahtt should we remove https://github.com/MetaMask/metamask-extension/blob/main/app/manifest/v3/_base.json#L92 change as well. Since we are removing contextMenu for sidepanel in this PR

@Gudahtt
Copy link
Member

Gudahtt commented Nov 28, 2025

Yes certainly, removing the permission would be better if we're not using it

@NidhiKJha NidhiKJha enabled auto-merge November 28, 2025 17:54
n3ps
n3ps previously approved these changes Nov 28, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [41ee047]
UI Startup Metrics (1175 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1175101115799612391347
load99784813699210401182
domContentLoaded99184413609110371164
domInteractive2514125222185
firstPaint5178011863799511111
backgroundConnect21019025612216239
firstReactRender28195773141
getState3215118133757
initialActions106111
loadScripts786647112487824960
setupStore1062131117
numNetworkReqs1257820573
BrowserifyPower User HomeuiStartup20961722281326323192604
load1026894150313410331402
domContentLoaded1010888148313210131394
domInteractive3418129243497
firstPaint59110415084119831351
backgroundConnect23919958569232503
firstReactRender5941109126386
getState20713272793214268
initialActions102112
loadScripts80368612681308031183
setupStore2175092443
numNetworkReqs1676641278208385
WebpackStandard HomeuiStartup8356951122868631048
load64556589775670819
domContentLoaded64056189074662813
domInteractive2715115242397
firstPaint24887893192231703
backgroundConnect1163361227
firstReactRender28204463240
getState261360103443
initialActions103112
loadScripts63755988172660803
setupStore1163241317
numNetworkReqs1257720572
WebpackPower User HomeuiStartup16571270240228619592180
load6745841046100674933
domContentLoaded6645781040101664926
domInteractive35171483133126
firstPaint308108988208328732
backgroundConnect40760610918113
firstReactRender60469596479
getState18314072360186243
initialActions103112
loadScripts661576103099661918
setupStore22862132551
numNetworkReqs1707142885217417
FirefoxBrowserifyStandard HomeuiStartup13141060174115414031691
load1079891147210611241275
domContentLoaded1078890147210611241274
domInteractive64321843589132
firstPaint------
backgroundConnect52221923955146
firstReactRender23184542435
getState1165261121
initialActions103012
loadScripts104887513939210971206
setupStore136113161034
numNetworkReqs1256917663
BrowserifyPower User HomeuiStartup26682022459361227694222
load1206923254734012352466
domContentLoaded1205917254634012342465
domInteractive12232629120114428
firstPaint------
backgroundConnect147251276232112941
firstReactRender57371341955107
getState238851037196246786
initialActions208123
loadScripts1152903243527212131554
setupStore1917774222291700
numNetworkReqs101532495682239
WebpackStandard HomeuiStartup15131291210915715921824
load12501039154410613191447
domContentLoaded12501039154410713191447
domInteractive64272083786138
firstPaint------
backgroundConnect50192253550127
firstReactRender27217382740
getState156221271422
initialActions103122
loadScripts1223102215179812901389
setupStore14594181169
numNetworkReqs1256916763
WebpackPower User HomeuiStartup29222115489668230554601
load14751149297743213822722
domContentLoaded14751148297743213822722
domInteractive1083156111197409
firstPaint------
backgroundConnect154271226204144422
firstReactRender69413343870128
getState282731031218342781
initialActions218123
loadScripts14001121281834013542251
setupStore1235763170115622
numNetworkReqs102622546179245
📊 Page Load Benchmark Results

Current Commit: 41ee047 | Date: 11/28/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 999ms (±40ms) 🟢 | historical mean value: 1.03s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 696ms (±37ms) 🟢 | historical mean value: 719ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 73ms (±14ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 999ms 40ms 962ms 1.28s 1.04s 1.28s
domContentLoaded 696ms 37ms 664ms 963ms 724ms 963ms
firstPaint 73ms 14ms 60ms 192ms 84ms 192ms
firstContentfulPaint 73ms 14ms 60ms 192ms 84ms 192ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -957 Bytes (-0.02%)
  • ui: -1.2 KiB (-0.02%)
  • common: 54 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [bcf1659]
UI Startup Metrics (1247 ± 107 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12471073172310713091401
load104090514079110921216
domContentLoaded103489513979010871209
domInteractive2715134222292
firstPaint53195123540310361163
backgroundConnect21919824311227237
firstReactRender322066113955
getState3515117174274
initialActions106113
loadScripts8216771173908741003
setupStore1266871428
numNetworkReqs1257820572
BrowserifyPower User HomeuiStartup21511815292026523382734
load1057929148612610491425
domContentLoaded1041919147212610291415
domInteractive38201572837120
firstPaint59088149643110121403
backgroundConnect26221371997243532
firstReactRender6341121167098
getState209134746105205316
initialActions104112
loadScripts82370912371238151185
setupStore231267102641
numNetworkReqs1376640575196279
WebpackStandard HomeuiStartup816691110286848989
load63856886472672790
domContentLoaded63356385971667781
domInteractive2615112232196
firstPaint23571801178221674
backgroundConnect1052751124
firstReactRender2819255243037
getState251462103245
initialActions102111
loadScripts63156185070665770
setupStore1042841018
numNetworkReqs1257820573
WebpackPower User HomeuiStartup17391318260928519862280
load6975971140101702960
domContentLoaded6865911127101689950
domInteractive40171873835156
firstPaint2991031002216286733
backgroundConnect79863815129517
firstReactRender654896107184
getState18913972977189236
initialActions104113
loadScripts683589111799687939
setupStore23778142548
numNetworkReqs1676542382214407
FirefoxBrowserifyStandard HomeuiStartup13071125173212114021517
load107593813007911241234
domContentLoaded107593813007911231234
domInteractive59322223183113
firstPaint------
backgroundConnect4722262344897
firstReactRender24194752535
getState126146161024
initialActions103122
loadScripts104692112777110931173
setupStore126104131035
numNetworkReqs1256717663
BrowserifyPower User HomeuiStartup26691942499057227904101
load1226975268529512091644
domContentLoaded1225970268429512091644
domInteractive12335608118116495
firstPaint------
backgroundConnect134261267185113472
firstReactRender60372062163100
getState282381046228343782
initialActions31961024
loadScripts1163955208318411801523
setupStore19111864221234698
numNetworkReqs99593096278238
WebpackStandard HomeuiStartup15031264204115215551791
load12531072160810213111427
domContentLoaded12521072160310213111427
domInteractive63271613385128
firstPaint------
backgroundConnect50182033745151
firstReactRender2721141132735
getState1165771123
initialActions102012
loadScripts1226105515949812821376
setupStore196249411140
numNetworkReqs1157016754
WebpackPower User HomeuiStartup30522141550573831074861
load15111167295645114842830
domContentLoaded15101159295545114842829
domInteractive1173553412098487
firstPaint------
backgroundConnect1773117162751601056
firstReactRender74413404171153
getState351751436283589951
initialActions3183836
loadScripts14101147285231414182224
setupStore1469728176181623
numNetworkReqs100623176278242
📊 Page Load Benchmark Results

Current Commit: bcf1659 | Date: 11/28/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±38ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 723ms (±36ms) 🟢 | historical mean value: 724ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±9ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 38ms 1.02s 1.32s 1.07s 1.32s
domContentLoaded 723ms 36ms 702ms 990ms 756ms 990ms
firstPaint 77ms 9ms 64ms 152ms 88ms 152ms
firstContentfulPaint 77ms 9ms 64ms 152ms 88ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1.53 KiB (-0.03%)
  • ui: -1.16 KiB (-0.01%)
  • common: 21 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [6f558d9]
UI Startup Metrics (1324 ± 122 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13241073181412213941535
load1109912155111711851324
domContentLoaded1103908154411611801304
domInteractive2816107212593
firstPaint50191156042310171267
backgroundConnect23020626712237254
firstReactRender3320129153757
getState41161742745118
initialActions105113
loadScripts87969213111149521085
setupStore1383561626
numNetworkReqs1257320570
BrowserifyPower User HomeuiStartup21161727274917521962495
load1071938168512110831391
domContentLoaded1055922167412110651381
domInteractive40191702841119
firstPaint572115168042010251392
backgroundConnect282209687116252595
firstReactRender6241102146996
getState19914572461208255
initialActions104112
loadScripts83171314081188381151
setupStore22973112548
numNetworkReqs1376831257194259
WebpackStandard HomeuiStartup831697114884861995
load64557090177675814
domContentLoaded64056589676672808
domInteractive2715120222388
firstPaint21877796142209638
backgroundConnect1063661327
firstReactRender2920167153238
getState251485113242
initialActions104112
loadScripts63756388575670799
setupStore1154161425
numNetworkReqs1257519569
WebpackPower User HomeuiStartup15211240213320315851963
load6775861203104684899
domContentLoaded6675771188104671894
domInteractive37171743233131
firstPaint255881220186245675
backgroundConnect40755710618148
firstReactRender574510396073
getState17613767553181213
initialActions103012
loadScripts6645751178102669883
setupStore19105692241
numNetworkReqs1646841663216279
FirefoxBrowserifyStandard HomeuiStartup13021059205116213761665
load107290615949611321220
domContentLoaded107290615949611321219
domInteractive55311322682103
firstPaint------
backgroundConnect46221763345131
firstReactRender22184052336
getState147207231133
initialActions102112
loadScripts104589114958611041186
setupStore125103121234
numNetworkReqs1256717763
BrowserifyPower User HomeuiStartup25341853523652125583896
load1200951241228312412227
domContentLoaded1200951241228312412227
domInteractive1033538975109313
firstPaint------
backgroundConnect144291031164140587
firstReactRender5434101135684
getState21459856181243707
initialActions2129323
loadScripts1143923217822412141681
setupStore20810853239388715
numNetworkReqs91552434294215
WebpackStandard HomeuiStartup15631336209215316411870
load1292112315969813571462
domContentLoaded1291112315969813571462
domInteractive75301743797141
firstPaint------
backgroundConnect46211352548110
firstReactRender27206262938
getState167159231349
initialActions206135
loadScripts1263110715599213301431
setupStore166182201438
numNetworkReqs1256818766
WebpackPower User HomeuiStartup29652179484974228294686
load15611118288550116382762
domContentLoaded15611118288550116382762
domInteractive1112843997115379
firstPaint------
backgroundConnect193271295257174965
firstReactRender59361942658119
getState285671757264363805
initialActions208123
loadScripts14991099286644815772639
setupStore116476717698585
numNetworkReqs92632213699178
📊 Page Load Benchmark Results

Current Commit: 6f558d9 | Date: 12/2/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±40ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 729ms (±38ms) 🟢 | historical mean value: 724ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 40ms 1.01s 1.33s 1.09s 1.33s
domContentLoaded 729ms 38ms 704ms 996ms 763ms 996ms
firstPaint 77ms 11ms 60ms 164ms 88ms 164ms
firstContentfulPaint 77ms 11ms 60ms 164ms 88ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1.54 KiB (-0.03%)
  • ui: -419 Bytes (-0.01%)
  • common: 22 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [4916d85]
UI Startup Metrics (1201 ± 120 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1201987173412012831384
load1004830146210710741173
domContentLoaded997824144810610681161
domInteractive251497192182
firstPaint5799014673999851145
backgroundConnect19918223111205219
firstReactRender27186283048
getState3113108143658
initialActions105113
loadScripts8056481238104873967
setupStore1263551224
numNetworkReqs1257720574
BrowserifyPower User HomeuiStartup20601650266520421562496
load1023909147212410211377
domContentLoaded100889814641259991371
domInteractive3518125233599
firstPaint4809814173539281027
backgroundConnect258204724103237557
firstReactRender5740106145994
getState19714271875206241
initialActions105112
loadScripts79769212241217891142
setupStore20104882439
numNetworkReqs1577031858208259
WebpackStandard HomeuiStartup8167021179888421013
load63756399486657811
domContentLoaded63256098985654806
domInteractive2615119212186
firstPaint20785691121192577
backgroundConnect1053161125
firstReactRender27204063337
getState261351103246
initialActions103111
loadScripts62955898683652797
setupStore1053851116
numNetworkReqs1257620571
WebpackPower User HomeuiStartup16111293218321616672069
load681584108890689905
domContentLoaded671580108390678899
domInteractive36181613134134
firstPaint262107920171260670
backgroundConnect41662011118253
firstReactRender604394106776
getState198135715103185285
initialActions102012
loadScripts668578107288675889
setupStore19753102245
numNetworkReqs1617039166212295
FirefoxBrowserifyStandard HomeuiStartup13201098192815414031619
load108795313439011491248
domContentLoaded108794713389011481248
domInteractive60221933184114
firstPaint------
backgroundConnect48243414642122
firstReactRender23185662437
getState12682111026
initialActions102022
loadScripts106293613168511131219
setupStore136198201033
numNetworkReqs1256716659
BrowserifyPower User HomeuiStartup26342023503755326784164
load12561018258833412352415
domContentLoaded12551017258233312352415
domInteractive1243949099123389
firstPaint------
backgroundConnect149281200196118597
firstReactRender5834129166187
getState273521046221311741
initialActions207123
loadScripts1199994234027912022250
setupStore1628805202171685
numNetworkReqs92602303898176
WebpackStandard HomeuiStartup15671278208514916491818
load1281108415149713311490
domContentLoaded1281108415149713311489
domInteractive70281853387133
firstPaint------
backgroundConnect54212514058145
firstReactRender26194152935
getState147169171330
initialActions215135
loadScripts1252106914839013051435
setupStore176145191457
numNetworkReqs1256517763
WebpackPower User HomeuiStartup30162110511973231144733
load15141122306042415962696
domContentLoaded15141122306042415962695
domInteractive12131643110117387
firstPaint------
backgroundConnect2262513553231961175
firstReactRender67392263563168
getState28053930224392817
initialActions207123
loadScripts14001107287225615471827
setupStore1307787187102647
numNetworkReqs926230641112182
📊 Page Load Benchmark Results

Current Commit: 4916d85 | Date: 12/2/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±41ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 719ms (±36ms) 🟢 | historical mean value: 725ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±12ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 41ms 1.01s 1.34s 1.06s 1.34s
domContentLoaded 719ms 36ms 699ms 993ms 740ms 993ms
firstPaint 76ms 12ms 60ms 184ms 84ms 184ms
firstContentfulPaint 76ms 12ms 60ms 184ms 84ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1.54 KiB (-0.03%)
  • ui: -151 Bytes (0%)
  • common: 22 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [346dad3]
UI Startup Metrics (1354 ± 110 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13541135158011014391540
load1124934138010712041329
domContentLoaded1117929137110711981322
domInteractive2916101212394
firstPaint61488138645711331285
backgroundConnect23520928614243260
firstReactRender3621149203661
getState391793154869
initialActions103112
loadScripts88971211391039501090
setupStore1478191528
numNetworkReqs1257620570
BrowserifyPower User HomeuiStartup20651709259519921582500
load1034920171412510331316
domContentLoaded1019902170812710211306
domInteractive34181232432104
firstPaint48210813313599531089
backgroundConnect262210807108239579
firstReactRender5639105146092
getState19314068154202240
initialActions104112
loadScripts80369114911248021085
setupStore2186692441
numNetworkReqs1566927256206263
WebpackStandard HomeuiStartup849713108378898999
load65856688475703832
domContentLoaded65356287775697826
domInteractive29151362524104
firstPaint27484882198256725
backgroundConnect1166571123
firstReactRender292099103442
getState281361123752
initialActions105112
loadScripts65056086974695816
setupStore1162741219
numNetworkReqs1257620570
WebpackPower User HomeuiStartup15591290233320416172021
load68059096387696908
domContentLoaded67058495687686896
domInteractive35181342533106
firstPaint28394948210247881
backgroundConnect41773811918165
firstReactRender58439396279
getState18113068754188218
initialActions103112
loadScripts66858294686684885
setupStore21662122548
numNetworkReqs1626838565218290
FirefoxBrowserifyStandard HomeuiStartup13581051175115614761632
load1123906154711411901323
domContentLoaded1123902154611411901323
domInteractive61311743184117
firstPaint------
backgroundConnect49221342966116
firstReactRender25186582538
getState1277481129
initialActions103122
loadScripts1092891146710311521254
setupStore12585111125
numNetworkReqs1256817663
BrowserifyPower User HomeuiStartup26461937496255526484215
load1228989260133212462416
domContentLoaded1228989260133212452416
domInteractive1183453198111376
firstPaint------
backgroundConnect172281570235148628
firstReactRender5536119125882
getState294531192232390805
initialActions2031323
loadScripts1147960237021211411503
setupStore190161034246196746
numNetworkReqs92622424195210
WebpackStandard HomeuiStartup14921283192714915541859
load1244108215619412971413
domContentLoaded1244108215609412971413
domInteractive58291753481142
firstPaint------
backgroundConnect4523173264594
firstReactRender24185962536
getState146238261132
initialActions205134
loadScripts1217106815249012731370
setupStore14677131446
numNetworkReqs1257017765
WebpackPower User HomeuiStartup30032131491876029214769
load15471095310649016242775
domContentLoaded15471095310649016242775
domInteractive1123046094114381
firstPaint------
backgroundConnect2273212423111811103
firstReactRender67373774363151
getState329641201256479846
initialActions207123
loadScripts14551079291439515482648
setupStore1326800185129613
numNetworkReqs915921435102179
📊 Page Load Benchmark Results

Current Commit: 346dad3 | Date: 12/2/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±39ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±36ms) 🟢 | historical mean value: 722ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±12ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 39ms 1.01s 1.33s 1.07s 1.33s
domContentLoaded 718ms 36ms 699ms 993ms 743ms 993ms
firstPaint 76ms 12ms 56ms 176ms 88ms 176ms
firstContentfulPaint 76ms 12ms 56ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1.35 KiB (-0.03%)
  • ui: -229 Bytes (0%)
  • common: 215 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [4b50616]
UI Startup Metrics (1307 ± 126 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13071038167312613771548
load1089901143211411421335
domContentLoaded1083883141511311361328
domInteractive2916189262389
firstPaint510104144141310321222
backgroundConnect22820527014238257
firstReactRender3321107133661
getState43171332547107
initialActions106114
loadScripts86167911861119131106
setupStore1263451523
numNetworkReqs1257720571
BrowserifyPower User HomeuiStartup19441535242815820372199
load1001841141812410261337
domContentLoaded987834141112510111320
domInteractive34161212435101
firstPaint68416313773779891290
backgroundConnect265182718114248555
firstReactRender5639110135995
getState18913723624204230
initialActions103112
loadScripts78065911661187881091
setupStore17104771930
numNetworkReqs93631622297152
WebpackStandard HomeuiStartup8236901126828431021
load63456685666663806
domContentLoaded63056185066658800
domInteractive261596202286
firstPaint20898854137199581
backgroundConnect1052841116
firstReactRender2919106113239
getState271358113647
initialActions105112
loadScripts62755984064656790
setupStore1153351222
numNetworkReqs1257620571
WebpackPower User HomeuiStartup15971278242824016872045
load673582107793685895
domContentLoaded663577107294671888
domInteractive38182783735127
firstPaint26888893186253693
backgroundConnect56762813220533
firstReactRender58448286374
getState191126798100186229
initialActions103112
loadScripts660575106292669880
setupStore21949102444
numNetworkReqs1636739966219282
FirefoxBrowserifyStandard HomeuiStartup12451050172013013461473
load104191712598410981231
domContentLoaded104191712588410971231
domInteractive57291513081116
firstPaint------
backgroundConnect42211802845104
firstReactRender21173642134
getState1168291023
initialActions103112
loadScripts101690112347510681151
setupStore14517323937
numNetworkReqs1257018663
BrowserifyPower User HomeuiStartup26201924515358126694192
load1206924274532911622340
domContentLoaded1206924274532911622340
domInteractive1123145586117343
firstPaint------
backgroundConnect150331216195145508
firstReactRender5634230255688
getState25663908202315756
initialActions3034623
loadScripts1156905244626511271844
setupStore1676818202183654
numNetworkReqs90522614783236
WebpackStandard HomeuiStartup15461268203416016661870
load12651092151111013331484
domContentLoaded12651092151111013321483
domInteractive61271963682134
firstPaint------
backgroundConnect55182093766146
firstReactRender2819114122940
getState14782111437
initialActions205134
loadScripts1235107314619813061423
setupStore15699141343
numNetworkReqs1256716761
WebpackPower User HomeuiStartup30182014808090628874697
load15501199645165515692773
domContentLoaded15491199645065515692773
domInteractive178294519465118410
firstPaint------
backgroundConnect171331340216143658
firstReactRender63382022761103
getState299621077244428819
initialActions2030423
loadScripts14941152642662815152671
setupStore15561321228156656
numNetworkReqs906023338103180
📊 Page Load Benchmark Results

Current Commit: 4b50616 | Date: 12/2/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.01s (±43ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 699ms (±66ms) 🟢 | historical mean value: 722ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 82ms (±43ms) 🟢 | historical mean value: 79ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.01s 43ms 987ms 1.36s 1.03s 1.36s
domContentLoaded 699ms 66ms 676ms 1.31s 714ms 1.31s
firstPaint 82ms 43ms 64ms 508ms 88ms 508ms
firstContentfulPaint 82ms 43ms 64ms 508ms 88ms 508ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1.54 KiB (-0.03%)
  • ui: -480 Bytes (-0.01%)
  • common: 22 Bytes (0%)

await driver.driver.get(`${driver.extensionUrl}/home.html`);

// Wait for the home page to fully load
await driver.waitForSelector('[data-testid="account-menu-icon"]');
Copy link

Choose a reason for hiding this comment

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

Bug: Sidepanel handling inconsistent with flag check helper

The handleSidepanelPostOnboarding function now runs sidepanel-specific navigation unconditionally for Chrome browsers, but it no longer checks the IS_SIDEPANEL environment variable. This is inconsistent with the newly created isSidePanelEnabled() helper which checks both SELENIUM_BROWSER === 'chrome' AND IS_SIDEPANEL === 'true'. If tests are run with IS_SIDEPANEL unset or false, isSidePanelEnabled() returns false while handleSidepanelPostOnboarding still performs sidepanel-specific delays and navigation, causing inconsistent behavior.

Fix in Cursor Fix in Web

Copy link
Contributor

@ameliejyc ameliejyc Dec 2, 2025

Choose a reason for hiding this comment

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

I think this is a valid comment though I think also it was the isSidePanelEnabled() check here that was breaking the vault encryption tests

@hjetpoluru hjetpoluru self-requested a review December 2, 2025 21:29
Copy link
Contributor

@hjetpoluru hjetpoluru left a comment

Choose a reason for hiding this comment

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

QA related files LGTM

@metamaskbot
Copy link
Collaborator

Builds ready [cab7484]
UI Startup Metrics (1257 ± 133 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12571027172113313521506
load1057865144811611491288
domContentLoaded1051861144111611421283
domInteractive2717104202382
firstPaint51986135041010011172
backgroundConnect21919327913227241
firstReactRender2918144143153
getState351692154164
initialActions107112
loadScripts83866312081119091063
setupStore1162841120
numNetworkReqs1257620571
BrowserifyPower User HomeuiStartup21021581290625622752618
load99388413951169991309
domContentLoaded97987613861169831302
domInteractive3117111193389
firstPaint5509514113929531282
backgroundConnect24120171585227518
firstReactRender5740101136190
getState18913571861202261
initialActions106112
loadScripts77567611631137801078
setupStore20114382438
numNetworkReqs1696738065211310
WebpackStandard HomeuiStartup8417161181868741024
load656581101486664823
domContentLoaded651577100885659818
domInteractive29161792723102
firstPaint20892636116206590
backgroundConnect115105111324
firstReactRender28208183340
getState261454103545
initialActions103111
loadScripts64857499883657809
setupStore1162841318
numNetworkReqs1257419571
WebpackPower User HomeuiStartup16441309229121017342080
load677587119795684902
domContentLoaded666582118796670895
domInteractive35171502734108
firstPaint269102922180262675
backgroundConnect50860613017540
firstReactRender60468076572
getState197128705101189255
initialActions104112
loadScripts663580117594668885
setupStore211055112446
numNetworkReqs1586229660212290
FirefoxBrowserifyStandard HomeuiStartup12811059165514013911540
load106090712819111281255
domContentLoaded105990712819211281254
domInteractive56313163782110
firstPaint------
backgroundConnect42211612741108
firstReactRender23184962335
getState156210241052
initialActions103112
loadScripts103488712458310921188
setupStore165153231369
numNetworkReqs1156615656
BrowserifyPower User HomeuiStartup27692047481063928374659
load1227980283831412671617
domContentLoaded1227980283831412671617
domInteractive139321217147117396
firstPaint------
backgroundConnect14128994150145501
firstReactRender63343704358122
getState266301020213364734
initialActions218123
loadScripts1180956264726712121533
setupStore1606879215138675
numNetworkReqs97593325198238
WebpackStandard HomeuiStartup15601298188213416641805
load1274111715189213471455
domContentLoaded1273111615179213471455
domInteractive69291683486133
firstPaint------
backgroundConnect48192052949107
firstReactRender27197283038
getState177165261349
initialActions215134
loadScripts1246110014888413191396
setupStore16777151559
numNetworkReqs1257317762
WebpackPower User HomeuiStartup30222039566083330794926
load15011150288443515212742
domContentLoaded15011150288343515212742
domInteractive1083164497102374
firstPaint------
backgroundConnect2212614653221651252
firstReactRender71412323676176
getState28256893224318822
initialActions2133323
loadScripts13931127276329814742283
setupStore1235633160103552
numNetworkReqs955422838114176
📊 Page Load Benchmark Results

Current Commit: cab7484 | Date: 12/2/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±38ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±36ms) 🟢 | historical mean value: 722ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±14ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 38ms 1.01s 1.32s 1.05s 1.32s
domContentLoaded 718ms 36ms 696ms 984ms 742ms 984ms
firstPaint 76ms 14ms 60ms 204ms 84ms 204ms
firstContentfulPaint 76ms 14ms 60ms 204ms 84ms 204ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -1.54 KiB (-0.03%)
  • ui: -480 Bytes (-0.01%)
  • common: 22 Bytes (0%)

@NidhiKJha NidhiKJha added this pull request to the merge queue Dec 2, 2025
Merged via the queue into main with commit e6d39aa Dec 2, 2025
176 checks passed
@NidhiKJha NidhiKJha deleted the sidepanel-remote-flag branch December 2, 2025 22:40
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2025
@metamaskbot metamaskbot added the release-13.13.0 Issue or pull request that will be included in release 13.13.0 label Dec 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants