Skip to content

Conversation

@mj-kiwi
Copy link
Contributor

@mj-kiwi mj-kiwi commented Nov 13, 2025

Description

Open in GitHub Codespaces

Changelog

CHANGELOG entry: feat: add justification field to gator permission details
CHANGELOG entry: feat: add display account name and option to copy address
CHANGELOG entry: feat: show the time only if it's within 24 hours
CHANGELOG entry: fix: permission appears with "Unknown" amount issue

Related issues

Fixes:

  • Add justification field to gator permission details
  • Display account name and option to copy address
  • Show the time only if it's within 24 hours
  • Permission appears with "Unknown" amount

Manual testing steps

  1. Open MetaMask extension
  2. Go to Permissions page
  3. Go to Token Transfer
  4. Click Show Details on one of the gator permission items
  5. Should see the justification on it

Screenshots/Recordings

Before

Screenshot 2025-10-30 at 14 19 22

After

Add justification field to gator permission details

Screenshot 2025-11-13 at 6 38 59 PM

Display account name and option to copy address

Kapture 2025-11-14 at 19 05 09

Show the time only if it's within 24 hours

Screenshot 2025-11-14 at 10 33 43 PM

Fix permission appears with "Unknown" amount issue

Screenshot 2025-11-16 at 3 47 18 PM

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

Introduces a token info hook and updates permission details to show justification, account name with copy/feedback, conditional date-time formatting, and resilient token metadata handling to avoid "Unknown amount".

  • Hooks:
    • useGatorPermissionTokenInfo: New hook to resolve token metadata (native/erc20) via cache/imported/API/on-chain with promise dedupe; exported from ui/hooks/gator-permissions.
  • UI:
    • review-gator-permission-item.tsx: Uses the new hook; adds account name display with copy-to-clipboard and success feedback; shows justification in expanded view; renders "Unknown amount" while loading; keeps weekly amount/frequency and adds conditional time in dates.
    • permission-item.tsx: Refactors to the new hook; surfaces loading as "Unknown amount" in summaries.
  • Shared:
    • convertTimestampToReadableDate: Shows MM/dd/yyyy HH:mm only if timestamp is within 24 hours; otherwise MM/dd/yyyy.
  • Tests:
    • Extensive tests and snapshots added/updated for hook behavior (cache/API/on-chain), date formatting, justification rendering, and account name copy UI; modal test updated to mock the new hook.

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

@mj-kiwi mj-kiwi requested a review from a team as a code owner November 13, 2025 05:46
@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 metamaskbot added the team-delegation MetaMask Delegation Team label Nov 13, 2025
@metamaskbot
Copy link
Collaborator

metamaskbot commented Nov 13, 2025

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/core-extension-ux (5 files, +451 -141)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 disconnect-permissions-modal/
          • 📄 disconnect-permissions-modal.test.tsx +17 -4
          • 📄 permission-item.tsx +13 -37
        • 📁 pages/
          • 📁 gator-permissions/
            • 📁 components/
              • 📁 __snapshots__/
                • 📄 review-gator-permission-item.test.tsx.snap +96 -6
                • 📄 review-gator-permission-item.test.tsx +151 -13
                • 📄 review-gator-permission-item.tsx +174 -81

@metamaskbot
Copy link
Collaborator

Builds ready [48847d4]
UI Startup Metrics (1212 ± 115 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12121067200511512571373
load1055934178810611011190
domContentLoaded1050928178310610961180
domInteractive2614451461971
firstPaint62683126540810501134
backgroundConnect2302192637233243
firstReactRender25194642634
getState2095282336
initialActions001001
loadScripts8257061549105877951
setupStore1062531115
numNetworkReqs1367620674
BrowserifyPower User HomeuiStartup17801499250527919602505
load1076909142118113161421
domContentLoaded1069902140917913081409
domInteractive40161333887133
firstPaint752161141748313191417
backgroundConnect24622332623254326
firstReactRender45396564865
getState1839123335220233
initialActions001001
loadScripts832679118116910721181
setupStore1393161331
numNetworkReqs1817438693253386
WebpackStandard HomeuiStartup83169213541158281103
load6185591152104605895
domContentLoaded6105531136100599882
domInteractive171173131456
firstPaint21961924217186782
backgroundConnect261177152861
firstReactRender29176583439
getState1163441316
initialActions001001
loadScripts607551112698596871
setupStore1263041320
numNetworkReqs1367219871
WebpackPower User HomeuiStartup1065881164326412821643
load651572922122803922
domContentLoaded62455284198732841
domInteractive301290297590
firstPaint36466844264572844
backgroundConnect641030380136303
firstReactRender42384734547
getState1419019827151198
initialActions001011
loadScripts62055083194722831
setupStore86132813
numNetworkReqs1246821955169219
FirefoxBrowserifyStandard HomeuiStartup15351340189712515831829
load1299115315689213521519
domContentLoaded1299115215679213521519
domInteractive1163638070113308
firstPaint------
backgroundConnect4823145185676
firstReactRender27225152742
getState1286571223
initialActions001001
loadScripts1270113315438813301458
setupStore1385871328
numNetworkReqs1266515756
BrowserifyPower User HomeuiStartup21731891281927723602819
load13931127183316915531833
domContentLoaded13931127183216915521832
domInteractive19572557166279557
firstPaint------
backgroundConnect10334431104126431
firstReactRender69531081675108
getState1358930350156303
initialActions405814158
loadScripts13571104180116414791801
setupStore31690265390
numNetworkReqs1837034482255344
WebpackStandard HomeuiStartup15871418223716515851985
load13491201165610713711616
domContentLoaded13491200165610713711616
domInteractive943241243106154
firstPaint------
backgroundConnect47252052850110
firstReactRender312379103245
getState1175061220
initialActions001011
loadScripts1322116615949713471560
setupStore186217281269
numNetworkReqs1367017765
WebpackPower User HomeuiStartup22321913284134927612841
load15061280193321316691933
domContentLoaded15061279193221316681932
domInteractive19671632203264632
firstPaint------
backgroundConnect863322962169229
firstReactRender65511001575100
getState1188417127134171
initialActions101011
loadScripts14721260188920616041889
setupStore3561574259157
numNetworkReqs1356531881202318
📊 Page Load Benchmark Results

Current Commit: 48847d4 | Date: 11/13/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: 724ms (±35ms) 🟢 | historical mean value: 723ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±10ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 38ms 1.01s 1.32s 1.06s 1.32s
domContentLoaded 724ms 35ms 703ms 984ms 743ms 984ms
firstPaint 77ms 10ms 60ms 156ms 88ms 156ms
firstContentfulPaint 77ms 10ms 60ms 156ms 88ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 418 Bytes (0.01%)
  • ui: 676 Bytes (0.01%)
  • common: 346 Bytes (0%)

MoMannn
MoMannn previously approved these changes Nov 13, 2025
@mj-kiwi mj-kiwi changed the title feat: add justification field to gator permission details Feat: some updates on the gator permission details Nov 14, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [ce94620]
UI Startup Metrics (1228 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1228106814619513001419
load106694013148711291233
domContentLoaded106093813088611181227
domInteractive231486162170
firstPaint698148127942210711218
backgroundConnect2332192577237247
firstReactRender26184662842
getState2286192639
initialActions106112
loadScripts832714109185890986
setupStore1172631118
numNetworkReqs1367720672
BrowserifyPower User HomeuiStartup21741901315329121953153
load1154999160419513881604
domContentLoaded1131969159319913781593
domInteractive631820263127202
firstPaint523199140237010261402
backgroundConnect2592452859266285
firstReactRender71461021579102
getState21816430940259309
initialActions103123
loadScripts896747131818911441318
setupStore2594593245
numNetworkReqs1239418729166187
WebpackStandard HomeuiStartup8167041181878151056
load60755894079604823
domContentLoaded60055192576600798
domInteractive171256111450
firstPaint19860928184202585
backgroundConnect251265133156
firstReactRender29187093336
getState1162131215
initialActions104111
loadScripts59755091473597787
setupStore1163961324
numNetworkReqs1367519871
WebpackPower User HomeuiStartup1028843170728313681707
load617528878127766878
domContentLoaded599518839115742839
domInteractive35131273879127
firstPaint34474844284592844
backgroundConnect621018566161185
firstReactRender37354013940
getState1277515724137157
initialActions101011
loadScripts595515831113732831
setupStore1255813858
numNetworkReqs846413427126134
FirefoxBrowserifyStandard HomeuiStartup15091296190013515721848
load12661116159510113231498
domContentLoaded12661116159410113221497
domInteractive1113643571106340
firstPaint------
backgroundConnect4527127185390
firstReactRender28206792752
getState1273851322
initialActions204123
loadScripts1240109615409712911448
setupStore157195211332
numNetworkReqs1267216758
BrowserifyPower User HomeuiStartup33212626476572941484765
load15631351210424618482104
domContentLoaded15631351210324618482103
domInteractive25494627189518627
firstPaint------
backgroundConnect592106144846811271448
firstReactRender82481261996126
getState18410633270200332
initialActions613611336
loadScripts15111307204925117982049
setupStore71291603387160
numNetworkReqs1257424061223240
WebpackStandard HomeuiStartup16141417204714616431954
load13741217173911214041610
domContentLoaded13741216173911214041609
domInteractive973536440108164
firstPaint------
backgroundConnect45191782348109
firstReactRender31248093343
getState157176201337
initialActions104122
loadScripts13461196169910413791579
setupStore187193231555
numNetworkReqs1366818867
WebpackPower User HomeuiStartup30212479442951634374429
load16031419191216417621912
domContentLoaded16021418191116417621911
domInteractive21283434121338434
firstPaint------
backgroundConnect40612710422927611042
firstReactRender77561001388100
getState14311317318160173
initialActions226126
loadScripts15591377185815717151858
setupStore13233447123107447
numNetworkReqs1277523854192238
📊 Page Load Benchmark Results

Current Commit: ce94620 | Date: 11/14/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±39ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 725ms (±37ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±12ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 39ms 1.02s 1.34s 1.07s 1.34s
domContentLoaded 725ms 37ms 702ms 1.01s 750ms 1.01s
firstPaint 78ms 12ms 60ms 184ms 88ms 184ms
firstContentfulPaint 78ms 12ms 60ms 184ms 88ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.06 KiB (0.11%)
  • ui: 32.38 KiB (0.44%)
  • common: 10.69 KiB (0.12%)

@mj-kiwi mj-kiwi changed the title Feat: some updates on the gator permission details feat: some updates on the gator permission details Nov 14, 2025
@mj-kiwi mj-kiwi marked this pull request as draft November 14, 2025 10:00
@mj-kiwi mj-kiwi self-assigned this Nov 14, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [23fd967]
UI Startup Metrics (1253 ± 90 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1253109114979013051426
load108894013368411471251
domContentLoaded108293713308211391220
domInteractive231582152168
firstPaint69295130443110991213
backgroundConnect2362222587241248
firstReactRender26185972742
getState2175282539
initialActions105112
loadScripts852716109880908990
setupStore1172331217
numNetworkReqs1367720676
BrowserifyPower User HomeuiStartup20551670303633323763036
load1053864182627313571826
domContentLoaded1033850180327213471803
domInteractive581717861157178
firstPaint82118718284499721828
backgroundConnect20218526119208261
firstReactRender73461232378123
getState23515536862290368
initialActions103113
loadScripts851678160426111261604
setupStore24144272842
numNetworkReqs1269119435175194
WebpackStandard HomeuiStartup835712122290838996
load616566101280617771
domContentLoaded60956098076612759
domInteractive181281131556
firstPaint213601013209201731
backgroundConnect271276143557
firstReactRender3218176213547
getState1172431317
initialActions102111
loadScripts60655897074609748
setupStore1164041316
numNetworkReqs1367919871
WebpackPower User HomeuiStartup1102930153618812701536
load69158711611537971161
domContentLoaded67457611111427461111
domInteractive44132496192249
firstPaint3316211643185901164
backgroundConnect49171995280199
firstReactRender41374634246
getState1396116730156167
initialActions101011
loadScripts66957411011397361101
setupStore1262782527
numNetworkReqs806312823111128
FirefoxBrowserifyStandard HomeuiStartup14781293199911715221738
load1247111315178012871421
domContentLoaded1247111215178012871421
domInteractive1093432957110274
firstPaint------
backgroundConnect4426152195091
firstReactRender26216372742
getState1276581233
initialActions103122
loadScripts1220109514967612531389
setupStore157201201334
numNetworkReqs1266116758
BrowserifyPower User HomeuiStartup31592413407951438644079
load15211236213230018342132
domContentLoaded15211236213029918322130
domInteractive301123725198508725
firstPaint------
backgroundConnect53214610053178991005
firstReactRender75601031487103
getState19889563134209563
initialActions217137
loadScripts14561200207926616892079
setupStore13241512129112512
numNetworkReqs1247223059217230
WebpackStandard HomeuiStartup16341419210814016591966
load13871213180411414351662
domContentLoaded13871212180311414351662
domInteractive983038746101174
firstPaint------
backgroundConnect51261452556116
firstReactRender31248693244
getState158166241352
initialActions203122
loadScripts13571190172910614071576
setupStore14766111342
numNetworkReqs1367017866
WebpackPower User HomeuiStartup31642526431657238094316
load16391419201220118522012
domContentLoaded16381419201220118512012
domInteractive22871620185380620
firstPaint------
backgroundConnect412118988261601988
firstReactRender84451362197136
getState196104585108197585
initialActions214134
loadScripts15931377198620518131986
setupStore1083835278152352
numNetworkReqs1257523057206230
📊 Page Load Benchmark Results

Current Commit: 23fd967 | Date: 11/14/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±46ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 719ms (±43ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 46ms 1.01s 1.41s 1.05s 1.41s
domContentLoaded 719ms 43ms 698ms 1.08s 731ms 1.08s
firstPaint 76ms 11ms 56ms 172ms 84ms 172ms
firstContentfulPaint 76ms 11ms 56ms 172ms 84ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 5.06 KiB (0.11%)
  • ui: 32.45 KiB (0.44%)
  • common: 10.69 KiB (0.12%)

@github-actions github-actions bot added size-L and removed size-M labels Nov 16, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [8640a4d]
UI Startup Metrics (1261 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1261109715299513141452
load109194913308811471265
domContentLoaded108494613268811411258
domInteractive241588172174
firstPaint63381129743810901254
backgroundConnect23822428711241258
firstReactRender28205362942
getState21761102444
initialActions104112
loadScripts8537071089889131009
setupStore1163941218
numNetworkReqs1367219669
BrowserifyPower User HomeuiStartup20181720282130421072821
load1032881147120413011471
domContentLoaded1013866146120812911461
domInteractive49181444596144
firstPaint55819214233629141423
backgroundConnect20318623412211234
firstReactRender68361141777114
getState23314943377283433
initialActions102012
loadScripts833681126420211071264
setupStore22113562535
numNetworkReqs1228819336170193
WebpackStandard HomeuiStartup8477161197998441153
load62256397090615935
domContentLoaded61455995186608913
domInteractive181270131454
firstPaint24160954250207916
backgroundConnect251164142560
firstReactRender31196893639
getState1163441317
initialActions104111
loadScripts61155794184606902
setupStore1163341319
numNetworkReqs1367619871
WebpackPower User HomeuiStartup1058908177424512491774
load66356310101437831010
domContentLoaded650553985138770985
domInteractive35121143886114
firstPaint369111992303641992
backgroundConnect41142615936261
firstReactRender40384214242
getState1389716220152162
initialActions101011
loadScripts646551975135760975
setupStore17642102442
numNetworkReqs765612523105125
FirefoxBrowserifyStandard HomeuiStartup14371281196612914501734
load1217110515278312491387
domContentLoaded1217110515278312491387
domInteractive53351262262117
firstPaint------
backgroundConnect4126138213989
firstReactRender26205472641
getState1063851121
initialActions103122
loadScripts1192108614317312261348
setupStore157177191448
numNetworkReqs1468020774
BrowserifyPower User HomeuiStartup33092484451860037014518
load15591302216925816692169
domContentLoaded15581302216825616692168
domInteractive27087722201366722
firstPaint------
backgroundConnect62388150040610201500
firstReactRender855713422108134
getState21065677155237677
initialActions217137
loadScripts15061276207924716182079
setupStore991546910397469
numNetworkReqs1207923554138235
WebpackStandard HomeuiStartup16121461217612616451910
load1370122916959214131566
domContentLoaded1370122916959214131566
domInteractive55301382665118
firstPaint------
backgroundConnect50211572557116
firstReactRender3426121153447
getState1276291223
initialActions103122
loadScripts1338120816098113931494
setupStore165206231351
numNetworkReqs1266816759
WebpackPower User HomeuiStartup36162628514469345095144
load17421507235925620492359
domContentLoaded17411506235925620492359
domInteractive24779706204502706
firstPaint------
backgroundConnect64114514793638051479
firstReactRender986414519112145
getState19513542469230424
initialActions32122312
loadScripts16871466224124019922241
setupStore972119544138195
numNetworkReqs1257622757216227
📊 Page Load Benchmark Results

Current Commit: 8640a4d | Date: 11/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±40ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 727ms (±61ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 80ms (±42ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 40ms 1.01s 1.34s 1.07s 1.34s
domContentLoaded 727ms 61ms 700ms 1.29s 748ms 1.29s
firstPaint 80ms 42ms 60ms 492ms 84ms 492ms
firstContentfulPaint 80ms 42ms 60ms 492ms 84ms 492ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 3.65 KiB (0.05%)
  • common: 20 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [3a00d0e]
UI Startup Metrics (1216 ± 100 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12161056168010012711399
load105391414829311141197
domContentLoaded104791114609211071190
domInteractive221486161862
firstPaint61489149942710491163
backgroundConnect2332182688236250
firstReactRender29208293445
getState218100132444
initialActions103112
loadScripts820679122092884966
setupStore1062731118
numNetworkReqs1367419670
BrowserifyPower User HomeuiStartup21881909274422723172744
load1179985186125413411861
domContentLoaded1155972181725113151817
domInteractive622118757137187
firstPaint857196186651210881866
backgroundConnect25724429812262298
firstReactRender905014428120144
getState21416428437235284
initialActions104114
loadScripts922736155324410821553
setupStore301748104048
numNetworkReqs1199318930140189
WebpackStandard HomeuiStartup8467261222968481094
load61856197080613847
domContentLoaded61055595076607823
domInteractive181285141556
firstPaint22459973218223715
backgroundConnect261361123156
firstReactRender31206693740
getState1152031316
initialActions104111
loadScripts60755393974605813
setupStore1163651321
numNetworkReqs1367419870
WebpackPower User HomeuiStartup1033893146319312161463
load653564956129704956
domContentLoaded642555941126677941
domInteractive48132286574228
firstPaint33759944319681944
backgroundConnect3992535833253
firstReactRender40374324143
getState1379316023153160
initialActions101011
loadScripts638553931122667931
setupStore17633102533
numNetworkReqs745710618101106
FirefoxBrowserifyStandard HomeuiStartup15011338208013415341809
load1260114915248212951456
domContentLoaded1260114915248212951456
domInteractive56311643157142
firstPaint------
backgroundConnect4325193245076
firstReactRender28226372943
getState1172441222
initialActions203122
loadScripts1236113114788012651434
setupStore1284961227
numNetworkReqs1266515753
BrowserifyPower User HomeuiStartup31222566433453134604334
load15181301203820717622038
domContentLoaded15181300203720617622037
domInteractive232100562159358562
firstPaint------
backgroundConnect50512412413587681241
firstReactRender886314923108149
getState1559724337167243
initialActions318138
loadScripts14561260182018717211820
setupStore873917132109171
numNetworkReqs1157722650125226
WebpackStandard HomeuiStartup16441428229318716472153
load13871221179510914181626
domContentLoaded13871221179410914171625
domInteractive55301252464112
firstPaint------
backgroundConnect49252503352117
firstReactRender33258593447
getState157196211250
initialActions103122
loadScripts13571201169710013921575
setupStore2052113512101
numNetworkReqs1367118767
WebpackPower User HomeuiStartup32232528465855136624658
load17301428226724619662267
domContentLoaded17301428226724619662267
domInteractive23981630167419630
firstPaint------
backgroundConnect383147867227646867
firstReactRender87481351898135
getState211105494114206494
initialActions327137
loadScripts16641407223825419212238
setupStore952918344133183
numNetworkReqs1256923758195237
📊 Page Load Benchmark Results

Current Commit: 3a00d0e | Date: 11/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±42ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 725ms (±40ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±13ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 42ms 1.01s 1.39s 1.06s 1.39s
domContentLoaded 725ms 40ms 700ms 1.05s 749ms 1.05s
firstPaint 77ms 13ms 64ms 200ms 84ms 200ms
firstContentfulPaint 77ms 13ms 64ms 200ms 84ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 3.65 KiB (0.05%)
  • common: 20 Bytes (0%)

@metamaskbot
Copy link
Collaborator

Builds ready [e09cd1c]
UI Startup Metrics (1257 ± 112 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12571082160911213241465
load108993013759911471278
domContentLoaded108292413679811431272
domInteractive2515112212291
firstPaint65892137544010931285
backgroundConnect2372222709241257
firstReactRender28204963041
getState22893112737
initialActions103112
loadScripts8526701124979111036
setupStore1072121115
numNetworkReqs1367419671
BrowserifyPower User HomeuiStartup21961897313829823793138
load1135987170522514311705
domContentLoaded1116962168822814221688
domInteractive561818355121183
firstPaint639151146848410131468
backgroundConnect24822930817251308
firstReactRender73431151785115
getState24718233352319333
initialActions112012
loadScripts889736141521911891415
setupStore27134383243
numNetworkReqs1269219635179196
WebpackStandard HomeuiStartup86873512511138601196
load6335741039100624902
domContentLoaded624566100894617883
domInteractive191288141557
firstPaint214601041220199869
backgroundConnect271287162662
firstReactRender3420252243741
getState1163741317
initialActions102011
loadScripts62156399691614872
setupStore1163641417
numNetworkReqs1367319870
WebpackPower User HomeuiStartup1127950158824214391588
load71660211571759241157
domContentLoaded69959111011649001101
domInteractive471418357104183
firstPaint3666411673446141167
backgroundConnect52111805384180
firstReactRender45405134651
getState1407316128156161
initialActions111011
loadScripts69558810911618861091
setupStore97285928
numNetworkReqs826312825121128
FirefoxBrowserifyStandard HomeuiStartup14861300208212115191767
load1246111914697812671418
domContentLoaded1246111914697812671418
domInteractive54322093454146
firstPaint------
backgroundConnect4126110154674
firstReactRender28225162844
getState1173751122
initialActions113122
loadScripts1222110214457312421372
setupStore13793111330
numNetworkReqs1266514750
BrowserifyPower User HomeuiStartup34272550472469742564724
load15821330231929818762319
domContentLoaded15821329231829818762318
domInteractive25772652220545652
firstPaint------
backgroundConnect648129124338410471243
firstReactRender85561131696113
getState17011921027195210
initialActions323033
loadScripts15271267226229318252262
setupStore1102922851148228
numNetworkReqs1277324262226242
WebpackStandard HomeuiStartup16101422228815316201956
load13551200171010713791625
domContentLoaded13551199171010713791625
domInteractive55291803063122
firstPaint------
backgroundConnect46211482352118
firstReactRender33258193645
getState146139161248
initialActions203123
loadScripts1326118216239813521593
setupStore196127221565
numNetworkReqs1367018767
WebpackPower User HomeuiStartup31352549394244436483942
load16671456197117718641971
domContentLoaded16661455197117718641971
domInteractive22682454132389454
firstPaint------
backgroundConnect425106798228642798
firstReactRender846212318104123
getState15611619829192198
initialActions217227
loadScripts16201408193517918341935
setupStore923350310889503
numNetworkReqs1298324159213241
📊 Page Load Benchmark Results

Current Commit: e09cd1c | Date: 11/17/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.12s (±52ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 778ms (±45ms) 🟢 | historical mean value: 718ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 84ms (±14ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.12s 52ms 1.07s 1.45s 1.15s 1.45s
domContentLoaded 778ms 45ms 734ms 1.09s 805ms 1.09s
firstPaint 84ms 14ms 60ms 196ms 96ms 196ms
firstContentfulPaint 84ms 14ms 60ms 196ms 96ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 3.68 KiB (0.05%)
  • common: 20 Bytes (0%)

@mj-kiwi mj-kiwi force-pushed the add-justification-field-to-revocation-details branch from dc8b63b to 01f7100 Compare November 19, 2025 02:56
@metamaskbot
Copy link
Collaborator

Builds ready [dc4099b]
📊 Page Load Benchmark Results

Current Commit: dc4099b | Date: 11/19/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±108ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 728ms (±107ms) 🟢 | historical mean value: 722ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 83ms (±86ms) 🟢 | historical mean value: 80ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 108ms 1.01s 2.08s 1.06s 2.08s
domContentLoaded 728ms 107ms 698ms 1.76s 744ms 1.76s
firstPaint 83ms 86ms 60ms 936ms 84ms 936ms
firstContentfulPaint 83ms 86ms 60ms 936ms 84ms 936ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 4.12 KiB (0.06%)
  • common: 20 Bytes (0%)

@mj-kiwi mj-kiwi marked this pull request as ready for review November 19, 2025 04:04
@metamaskbot
Copy link
Collaborator

Builds ready [662ce77]
UI Startup Metrics (1200 ± 96 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1200103914609612641367
load102388112368810851188
domContentLoaded101787712328710791178
domInteractive221482161871
firstPaint58983123041410221169
backgroundConnect2051932367208223
firstReactRender2718136132944
getState301673103447
initialActions104112
loadScripts818680103487877974
setupStore1174551217
numNetworkReqs1257720572
BrowserifyPower User HomeuiStartup18761544295522920432276
load1007897193415810001375
domContentLoaded99187119191569851358
domInteractive35161903828156
firstPaint6139719304159701332
backgroundConnect22620626612234248
firstReactRender82481421489107
getState17213233337192251
initialActions103112
loadScripts78367216671527791147
setupStore20977112739
numNetworkReqs957019228108166
WebpackStandard HomeuiStartup80273598963826951
load61256281859620768
domContentLoaded60855781359616762
domInteractive231384162074
firstPaint22077766146196599
backgroundConnect1053051017
firstReactRender28204553237
getState301354103746
initialActions103111
loadScripts60555580557614751
setupStore1354251524
numNetworkReqs1257820570
WebpackPower User HomeuiStartup14741121248224116161977
load68859014891406821030
domContentLoaded67758414721386651022
domInteractive39172504132144
firstPaint3011031482222409700
backgroundConnect1583261927
firstReactRender85501241393103
getState16112526635167248
initialActions106112
loadScripts67458214631366631013
setupStore24966143456
numNetworkReqs1516930057178289
FirefoxBrowserifyStandard HomeuiStartup12831107176713513281626
load107693913338511391234
domContentLoaded107593813328611381233
domInteractive62311983584136
firstPaint------
backgroundConnect42222393341135
firstReactRender22174942231
getState13630131925
initialActions102012
loadScripts105192112938011071202
setupStore1167091027
numNetworkReqs1257216660
BrowserifyPower User HomeuiStartup26641965392233928093447
load1165953169016812261566
domContentLoaded1164953169016812211566
domInteractive14535581126157509
firstPaint------
backgroundConnect197241042227209811
firstReactRender87521531994128
getState28678904269280861
initialActions208126
loadScripts1127920161415811781501
setupStore1225758182115699
numNetworkReqs95582243991194
WebpackStandard HomeuiStartup16781337222119718002047
load14301117197216815411729
domContentLoaded14301117197116815381729
domInteractive812924146123164
firstPaint------
backgroundConnect4722132235199
firstReactRender30229883240
getState1172541219
initialActions207123
loadScripts14001102195016215121678
setupStore15772131248
numNetworkReqs1256717764
WebpackPower User HomeuiStartup28592168376032430613508
load13841088184018715441739
domContentLoaded13831088184018715431738
domInteractive12428537117138442
firstPaint------
backgroundConnect16522881174185569
firstReactRender84391481992122
getState29583895268331869
initialActions4049827
loadScripts13491072180418315041713
setupStore1256801192124681
numNetworkReqs96542294696217
📊 Page Load Benchmark Results

Current Commit: 662ce77 | Date: 11/20/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±44ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±41ms) 🟢 | historical mean value: 729ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±13ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 44ms 1.01s 1.40s 1.06s 1.40s
domContentLoaded 722ms 41ms 702ms 1.06s 740ms 1.06s
firstPaint 77ms 13ms 60ms 188ms 88ms 188ms
firstContentfulPaint 77ms 13ms 60ms 188ms 88ms 188ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 4.13 KiB (0.06%)
  • common: 20 Bytes (0%)

@github-actions github-actions bot added size-M and removed size-L labels Nov 20, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [2fd2d06]
UI Startup Metrics (1224 ± 89 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1224104514308912951373
load104186912218711121187
domContentLoaded103386311958811051180
domInteractive241498192180
firstPaint57275120841310361164
backgroundConnect21419429414220239
firstReactRender2719121122944
getState331788134058
initialActions102112
loadScripts82767099787902975
setupStore1268181222
numNetworkReqs1257821573
BrowserifyPower User HomeuiStartup18751567275325320162453
load1008880168115310201433
domContentLoaded99387316701539951423
domInteractive35152023831157
firstPaint54814517043829321089
backgroundConnect22519828114234257
firstReactRender79501211287104
getState17212336146189271
initialActions102112
loadScripts78467514491507841224
setupStore20748102840
numNetworkReqs1226826441136215
WebpackStandard HomeuiStartup79572399062815958
load60755380357620754
domContentLoaded60354979756616748
domInteractive241494182075
firstPaint23974810171229631
backgroundConnect1053151026
firstReactRender28204053137
getState301388123748
initialActions102111
loadScripts60054778954614738
setupStore1272951422
numNetworkReqs1257720570
WebpackPower User HomeuiStartup14241201205621915541912
load66357810321206731002
domContentLoaded6535721016119657989
domInteractive35161693531150
firstPaint242102974174230637
backgroundConnect1474171831
firstReactRender8148135128797
getState15412225731169235
initialActions104112
loadScripts6505701006116655979
setupStore24767153456
numNetworkReqs1487230755186275
FirefoxBrowserifyStandard HomeuiStartup12571082177211213101493
load105692512357811171208
domContentLoaded105592112347811171207
domInteractive59292243482133
firstPaint------
backgroundConnect4121190254282
firstReactRender21183642234
getState126129141028
initialActions102022
loadScripts103191212087410841185
setupStore115134131027
numNetworkReqs1257117661
BrowserifyPower User HomeuiStartup25741768364633227443357
load1162954163416712451511
domContentLoaded1161954163416712451511
domInteractive15133551121167450
firstPaint------
backgroundConnect20127947221224782
firstReactRender85391432095119
getState19576883195163792
initialActions2015237
loadScripts1114935158515911671471
setupStore1209772184109732
numNetworkReqs99592234296207
WebpackStandard HomeuiStartup14131247189712714601685
load1200104014338712661363
domContentLoaded1199104014338812661363
domInteractive63261623685137
firstPaint------
backgroundConnect4020210294072
firstReactRender26204152935
getState176170311176
initialActions102112
loadScripts1178102514168412491328
setupStore146190211140
numNetworkReqs1256517663
WebpackPower User HomeuiStartup29252094383437030553736
load13981076186319515341780
domContentLoaded13981075186319515341780
domInteractive13329587130150475
firstPaint------
backgroundConnect19324823213226698
firstReactRender88412522995136
getState276841008270225860
initialActions4155937
loadScripts13621061182719414781738
setupStore1476852229116750
numNetworkReqs100682214394207
📊 Page Load Benchmark Results

Current Commit: 2fd2d06 | Date: 11/20/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.02s (±40ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 713ms (±36ms) 🟢 | historical mean value: 727ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±11ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.02s 40ms 999ms 1.31s 1.06s 1.31s
domContentLoaded 713ms 36ms 690ms 977ms 751ms 977ms
firstPaint 75ms 11ms 60ms 160ms 84ms 160ms
firstContentfulPaint 75ms 11ms 60ms 160ms 84ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 4.61 KiB (0.07%)
  • common: 20 Bytes (0%)

@mj-kiwi mj-kiwi marked this pull request as draft November 21, 2025 03:33
- Introduced `useGatorPermissionTokenInfo` hook to manage token info fetching logic.
- Updated `ReviewGatorPermissionItem` component to utilize the new hook for token info.
- Removed direct calls to `getGatorPermissionTokenInfo` and related state management.
- Enhanced test coverage for the new hook, including various scenarios for token info retrieval.
- Improved handling of native tokens and caching mechanisms for better performance.
@github-actions github-actions bot added size-XL and removed size-M labels Nov 21, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [c3b65be]
UI Startup Metrics (1229 ± 83 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1229106414578312841371
load103990112277911041188
domContentLoaded103389512207810911181
domInteractive231495162070
firstPaint53393121541310421168
backgroundConnect22019428314226249
firstReactRender271972102856
getState311876113652
initialActions104112
loadScripts822690101279878967
setupStore1062131217
numNetworkReqs1257720572
BrowserifyPower User HomeuiStartup18871529314428520612402
load1010879192418510071507
domContentLoaded99587118961839871494
domInteractive36152394428158
firstPaint5858619184129331314
backgroundConnect22419827815232257
firstReactRender80531531486101
getState18113334642201278
initialActions105112
loadScripts78867916731807851283
setupStore211054102842
numNetworkReqs1226928152176194
WebpackStandard HomeuiStartup817735103976855983
load61256281860621780
domContentLoaded60755781060617774
domInteractive241490182077
firstPaint23982792169221618
backgroundConnect1263481630
firstReactRender29204663339
getState291460103643
initialActions104111
loadScripts60455579958615764
setupStore1243241418
numNetworkReqs1257720573
WebpackPower User HomeuiStartup14571049249423715851963
load6785831382131686994
domContentLoaded6685771365130668983
domInteractive39162494332149
firstPaint269881387208242648
backgroundConnect1465271926
firstReactRender84501171292101
getState15712526630165225
initialActions104112
loadScripts6655751354127666974
setupStore231073143354
numNetworkReqs1486731455185275
FirefoxBrowserifyStandard HomeuiStartup11951019152611112671419
load101087413058610681174
domContentLoaded100986913058610681168
domInteractive61303314781160
firstPaint------
backgroundConnect332183133865
firstReactRender21175652134
getState105669822
initialActions102012
loadScripts98986012828110471159
setupStore1159412922
numNetworkReqs1156715664
BrowserifyPower User HomeuiStartup25981737370732427923163
load1136927159517611851535
domContentLoaded1135926159517611851535
domInteractive14630644135167462
firstPaint------
backgroundConnect18425944222185762
firstReactRender85422322393118
getState26782879252218864
initialActions218126
loadScripts1099904156816711471487
setupStore1115809168108624
numNetworkReqs93552374493207
WebpackStandard HomeuiStartup14471268196413414901743
load1224107515019112821405
domContentLoaded1224107414999112811405
domInteractive59282043579132
firstPaint------
backgroundConnect4118207274288
firstReactRender28206983139
getState136173191133
initialActions103012
loadScripts1200105814648712601372
setupStore196184321288
numNetworkReqs1256817663
WebpackPower User HomeuiStartup29982192399938432383737
load14691116208123416691922
domContentLoaded14681115208123416691921
domInteractive14130660139141489
firstPaint------
backgroundConnect21327892233245810
firstReactRender914318621101127
getState29880925288316890
initialActions3155727
loadScripts14311098203322716161816
setupStore1275793202105753
numNetworkReqs97652224391205
📊 Page Load Benchmark Results

Current Commit: c3b65be | Date: 11/21/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±43ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 732ms (±61ms) 🟢 | historical mean value: 732ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 90ms (±127ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 43ms 1.03s 1.40s 1.07s 1.40s
domContentLoaded 732ms 61ms 709ms 1.29s 746ms 1.29s
firstPaint 90ms 127ms 60ms 1.36s 88ms 1.36s
firstContentfulPaint 90ms 127ms 60ms 1.36s 88ms 1.36s
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 5.25 KiB (0.08%)
  • common: 20 Bytes (0%)

@mj-kiwi mj-kiwi marked this pull request as ready for review November 21, 2025 07:34
@mj-kiwi mj-kiwi marked this pull request as draft November 21, 2025 07:35
@metamaskbot
Copy link
Collaborator

Builds ready [0a2f776]
UI Startup Metrics (1205 ± 100 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12051052150710012661399
load102989213109310761202
domContentLoaded102186213029410701194
domInteractive221479151967
firstPaint52096131540810201154
backgroundConnect21419232418216258
firstReactRender29195193646
getState331473103953
initialActions107113
loadScripts816657110094873987
setupStore1172441219
numNetworkReqs1257720574
BrowserifyPower User HomeuiStartup19181555324928620932454
load1021882199418310151516
domContentLoaded100587019821809881498
domInteractive39172234331162
firstPaint5698520044139381348
backgroundConnect22619728614233253
firstReactRender82511611488108
getState17712833644189299
initialActions102112
loadScripts79667717481787871282
setupStore211051103039
numNetworkReqs1447229249186262
WebpackStandard HomeuiStartup813731116472842968
load61155893264618772
domContentLoaded60655292663614765
domInteractive2414107182079
firstPaint22676798159198606
backgroundConnect1153271428
firstReactRender2920117103237
getState28135093444
initialActions104112
loadScripts60455091662611755
setupStore1162541419
numNetworkReqs1257119569
WebpackPower User HomeuiStartup14421110217522415901925
load68058811581266851059
domContentLoaded66958311481256691046
domInteractive38161903934146
firstPaint277100888178317648
backgroundConnect1573561827
firstReactRender83531141290102
getState15612424827166216
initialActions105112
loadScripts66658111381236671037
setupStore25972153656
numNetworkReqs1466830754180266
FirefoxBrowserifyStandard HomeuiStartup12401070174811712931481
load104991713558511171187
domContentLoaded104891713558611171187
domInteractive60311513583136
firstPaint------
backgroundConnect3921151234290
firstReactRender21184842227
getState95424917
initialActions102012
loadScripts102590113227910971161
setupStore105667919
numNetworkReqs1156716660
BrowserifyPower User HomeuiStartup27151876366837128673555
load1156956166716811971500
domContentLoaded1155949166716811961499
domInteractive14332563125162474
firstPaint------
backgroundConnect236261174259310830
firstReactRender88491622298129
getState25479857243207848
initialActions218227
loadScripts1124939161716411571464
setupStore1436794209116772
numNetworkReqs98602244391211
WebpackStandard HomeuiStartup15101231208116115861869
load12771067160811913471553
domContentLoaded12771067160811913461553
domInteractive69272384492152
firstPaint------
backgroundConnect45202112750107
firstReactRender30208293241
getState1265681232
initialActions103122
loadScripts12501052158311113081434
setupStore156215221244
numNetworkReqs1256717663
WebpackPower User HomeuiStartup28302213357732030343445
load13711078184619514931760
domContentLoaded13701078184619514931760
domInteractive13327533124155451
firstPaint------
backgroundConnect14926631146195562
firstReactRender87401942497122
getState26681925270267860
initialActions515411645
loadScripts13361060181718914601717
setupStore1136754173119662
numNetworkReqs98642284494216
📊 Page Load Benchmark Results

Current Commit: 0a2f776 | Date: 11/21/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 984ms (±38ms) 🟢 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 681ms (±35ms) 🟢 | historical mean value: 728ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 75ms (±9ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 984ms 38ms 958ms 1.26s 1.01s 1.26s
domContentLoaded 681ms 35ms 660ms 942ms 700ms 942ms
firstPaint 75ms 9ms 64ms 152ms 84ms 152ms
firstContentfulPaint 75ms 9ms 64ms 152ms 84ms 152ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 53 Bytes (0%)
  • ui: 5 KiB (0.07%)
  • common: 20 Bytes (0%)

@mj-kiwi mj-kiwi marked this pull request as ready for review November 21, 2025 19:13
}, [accountText]);

// Handle copy button click
const handleCopyClick = useCallback(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

There is an existing useCopyToClipboard hook that already handles a lot of things and an existing CopyIcon component. Better use those for consistency and reusage.

color={TextColor.TextAlternative}
variant={TextVariant.BodyMd}
>
Justification
Copy link
Contributor

@MoMannn MoMannn Nov 25, 2025

Choose a reason for hiding this comment

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

Why are we handling the translation for this later? In other parts we have done it right away?

And if we are handling it seperatly, lets open an issue for that and here add a TODO comment for adding translation

? t('gatorPermissionUnknownTokenAmount')
: `${getDecimalizedHexValue(amountPerPeriod, decimals)} ${symbol}`,
value: loading
? t('gatorPermissionUnknownTokenAmount')
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a spinner here if in loading state?

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

Labels

size-XL team-delegation MetaMask Delegation Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants