Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: extract useEnableMissingNetwork into a separate hook#38412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
micaelae wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromswaps-refactor-useEnableMissingNetwork

Conversation

@micaelae
Copy link
Member

@micaelaemicaelae commentedNov 28, 2025
edited by github-actionsbot
Loading

Description

Open in GitHub Codespaces

Changelog

CHANGELOG entry:

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@metamaskbotmetamaskbot added the team-swaps-and-bridgeSwaps and Bridge team labelNov 28, 2025
@metamaskbot
Copy link
Collaborator

✨ Files requiring CODEOWNER review ✨

🔄@MetaMask/swaps-engineers (4 files, +134 -122)
  • 📁 ui/
    • 📁 pages/
      • 📁 bridge/
        • 📁 hooks/
          • 📄useEnableMissingNetwork.test.ts+76 -0
          • 📄useEnableMissingNetwork.ts+52 -0
        • 📁 prepare/
          • 📄prepare-bridge-page.test.tsx+1 -69
          • 📄prepare-bridge-page.tsx+5 -53

@metamaskbot
Copy link
Collaborator

Builds ready [24c81e4]
UI Startup Metrics (1245 ± 111 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12451047152911113201437
load104787012789411151215
domContentLoaded104186612749311101206
domInteractive2515104182279
firstPaint53182126140910231203
backgroundConnect21719726612224239
firstReactRender302077103153
getState3817142174564
initialActions105112
loadScripts830664104791890994
setupStore1375771424
numNetworkReqs1257720572
BrowserifyPower User HomeuiStartup20631621316228222782599
load1009877170413610041351
domContentLoaded99487216551349891345
domInteractive36171633132126
firstPaint6069217034169781340
backgroundConnect24920566595228531
firstReactRender5940115146293
getState18413568255200226
initialActions103112
loadScripts78967613981307821140
setupStore1994362231
numNetworkReqs1656441377203381
WebpackStandard HomeuiStartup85771312361018971042
load666573106694697853
domContentLoaded661568105993692848
domInteractive28151392523102
firstPaint21485809131216606
backgroundConnect1165881328
firstReactRender28216363239
getState281379123449
initialActions106112
loadScripts658566105392690846
setupStore1062331217
numNetworkReqs1257720572
WebpackPower User HomeuiStartup16151275273026217442117
load6925921030100698947
domContentLoaded6825851025101689941
domInteractive40182143636141
firstPaint26692981173271673
backgroundConnect59765614118522
firstReactRender60458396681
getState17714528321182223
initialActions104112
loadScripts679583101799687933
setupStore191055102247
numNetworkReqs1686641985217407
FirefoxBrowserifyStandard HomeuiStartup13201098184714114141587
load108295012927911331232
domContentLoaded108194912927911331232
domInteractive59311382984121
firstPaint------
backgroundConnect48221793246129
firstReactRender23193952435
getState177205281168
initialActions103122
loadScripts105393312227211011189
setupStore156167221458
numNetworkReqs1156416661
BrowserifyPower User HomeuiStartup26831968474558427184226
load1221966263229912261612
domContentLoaded1221966263229912261612
domInteractive11633637101119353
firstPaint------
backgroundConnect139201173195117557
firstReactRender6337158187294
getState240471063197245762
initialActions207123
loadScripts1169946240724111901504
setupStore2057875231369729
numNetworkReqs99593065981248
WebpackStandard HomeuiStartup15321263206015416311843
load12551069147510113411438
domContentLoaded12541069147510113401437
domInteractive61272413784140
firstPaint------
backgroundConnect55231853961152
firstReactRender27207083040
getState176204281447
initialActions102012
loadScripts1225105214439613031372
setupStore156106161444
numNetworkReqs1256516760
WebpackPower User HomeuiStartup30572289505069631674862
load14721243288133814472630
domContentLoaded14721243288033814472630
domInteractive1113159210795409
firstPaint------
backgroundConnect166441146205146535
firstReactRender74422223078146
getState318791318271394934
initialActions3170725
loadScripts13931201251622713821837
setupStore1516801189177658
numNetworkReqs100543176377243
📊 Page Load Benchmark Results

Current Commit:24c81e4 |Date: 11/28/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

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

📈 Detailed Results

MetricMeanStd DevMinMaxP95P99
pageLoadTime1.04s41ms1.01s1.35s1.07s1.35s
domContentLoaded723ms38ms702ms1.02s753ms1.02s
firstPaint77ms12ms60ms184ms88ms184ms
firstContentfulPaint77ms12ms60ms184ms88ms184ms
largestContentfulPaint0ms0ms0ms0ms0ms0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 527 Bytes (0.01%)
  • common: 20 Bytes (0%)

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

Reviewers

No reviews

Assignees

No one assigned

Labels

size-Mteam-swaps-and-bridgeSwaps and Bridge team

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@micaelae@metamaskbot

[8]ページ先頭

©2009-2025 Movatter.jp