Skip to content

Conversation

@Julink-eth
Copy link
Contributor

@Julink-eth Julink-eth commented Dec 8, 2025

Description

Add the discover button for tron network to redirect to the Portfolio Ecosystem page.
This is under feature flag, it will only be activated when the ecosystem page is live.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: Added the discover button for Tron network

Related issues

Fixes: NA

Manual testing steps

  1. Go to the networks menu
  2. Click on the 3 dots next to Tron
  3. Click on the discover button
  4. You will be redirected to https://portfolio.metamask.io/explore/networks/tron (The page will not display anything if it has not been activated yet which is normal)

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

Adds Tron to the portfolio landing page URL map to enable the Explore link for Tron.

  • Constants
    • Update shared/constants/network.ts:
      • Add MultichainNetworks.TRON to CHAIN_ID_PORTFOLIO_LANDING_PAGE_URL_MAP with https://app.metamask.io/explore/networks/tron.

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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 8, 2025

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

Builds ready [c644fa9]
UI Startup Metrics (1246 ± 89 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1246102015988913011388
load102787413097110731128
domContentLoaded101987113017010651121
domInteractive221590102243
firstPaint68978135841010561119
backgroundConnect21719326013225244
firstReactRender473196155876
getState3315124183874
initialActions103111
loadScripts811665106868855905
setupStore1264151223
numNetworkReqs86337629
BrowserifyPower User HomeuiStartup18691643253913719372074
load1066875134010311351257
domContentLoaded1055868133110311231247
domInteractive261689102746
firstPaint569101134442410361220
backgroundConnect263195823120237541
firstReactRender43357764455
getState18414426124193241
initialActions103112
loadScripts84666611281039171030
setupStore17770101540
numNetworkReqs69581971768107
WebpackStandard HomeuiStartup858727114264887969
load65558283956698754
domContentLoaded65057883256690746
domInteractive23164572440
firstPaint24083837185206708
backgroundConnect1263771430
firstReactRender65353795175153
getState261456103544
initialActions103112
loadScripts64757683055688744
setupStore1173351320
numNetworkReqs86336626
WebpackPower User HomeuiStartup14691150193917115771785
load721592106694764918
domContentLoaded715586105993757908
domInteractive261783112754
firstPaint23695889153235692
backgroundConnect85763915372546
firstReactRender47386854962
getState18014430531191255
initialActions104111
loadScripts712584105592748895
setupStore1584481436
numNetworkReqs68561211366104
FirefoxBrowserifyStandard HomeuiStartup12631092173311313161491
load103491513126810731166
domContentLoaded103491513126810731166
domInteractive59311773282134
firstPaint------
backgroundConnect3617136183774
firstReactRender35305973555
getState127200201024
initialActions102012
loadScripts101190012836510501132
setupStore94293920
numNetworkReqs86255724
BrowserifyPower User HomeuiStartup26411635414860731003442
load1615973283155121442397
domContentLoaded1614972283055121442397
domInteractive9232114117876177
firstPaint------
backgroundConnect155161180207178397
firstReactRender5335103126076
getState156801047106173253
initialActions208127
loadScripts1526959259250720072355
setupStore685117917148321
numNetworkReqs69551211570116
WebpackStandard HomeuiStartup15351299192611115911752
load1250109215557712901371
domContentLoaded1249109215557712901371
domInteractive63282353884134
firstPaint------
backgroundConnect46211402648121
firstReactRender433510794655
getState177154231450
initialActions103122
loadScripts1226106815267612661344
setupStore147135151339
numNetworkReqs86286725
WebpackPower User HomeuiStartup27981821413752331893458
load18711170343449022712472
domContentLoaded18711170343349022712472
domInteractive14832108826692974
firstPaint------
backgroundConnect151211086191184387
firstReactRender5840119136191
getState1437838561170274
initialActions217124
loadScripts17881154251544121902350
setupStore825103114271340
numNetworkReqs71561191767117
📊 Page Load Benchmark Results

Current Commit: c644fa9 | Date: 12/8/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

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

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.01s 41ms 979ms 1.33s 1.03s 1.33s
domContentLoaded 707ms 38ms 678ms 1.00s 725ms 1.00s
firstPaint 74ms 12ms 56ms 180ms 80ms 180ms
firstContentfulPaint 74ms 12ms 56ms 180ms 80ms 180ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 849 Bytes (0.02%)
  • ui: 72 Bytes (0%)
  • common: 1.53 KiB (0.02%)

@metamaskbot
Copy link
Collaborator

Builds ready [bf135b7]
UI Startup Metrics (1273 ± 89 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1273106514958913321410
load104487112397711011164
domContentLoaded103786012327610901148
domInteractive23165882340
firstPaint54396122241410241124
backgroundConnect21719724911224243
firstReactRender4832107155877
getState3715136204374
initialActions104112
loadScripts827651102976875941
setupStore1374961523
numNetworkReqs86316629
BrowserifyPower User HomeuiStartup18551606210410519361996
load1071888127610311621228
domContentLoaded1061883126710211531218
domInteractive25176582645
firstPaint58287124941910481213
backgroundConnect272199732124238567
firstReactRender42355954455
getState18514428528205235
initialActions102112
loadScripts84867610641059441009
setupStore1695581436
numNetworkReqs68581111266107
WebpackStandard HomeuiStartup843717108566881954
load65556982864686795
domContentLoaded65056482264681789
domInteractive21164362238
firstPaint23574734174208660
backgroundConnect1256091230
firstReactRender57342324148163
getState231382102741
initialActions102112
loadScripts64856281964679787
setupStore1072531018
numNetworkReqs86316629
WebpackPower User HomeuiStartup14641178195316015941740
load72059394580762883
domContentLoaded71258593679752873
domInteractive25166392749
firstPaint29390843216280756
backgroundConnect61759212147509
firstReactRender48409574961
getState19513566762238266
initialActions103112
loadScripts70958393379747871
setupStore1493861433
numNetworkReqs68582061767102
FirefoxBrowserifyStandard HomeuiStartup13031129163712113681560
load106995314449111141250
domContentLoaded106894714449211141250
domInteractive59332042985101
firstPaint------
backgroundConnect3922123224196
firstReactRender36307573752
getState106122111011
initialActions103122
loadScripts104593014198510911202
setupStore954141012
numNetworkReqs86265725
BrowserifyPower User HomeuiStartup25381539345056229613190
load1594933242650820832249
domContentLoaded1593933242050820832248
domInteractive6030994966588
firstPaint------
backgroundConnect1762111922411781027
firstReactRender5033104125574
getState1496638549173246
initialActions208123
loadScripts1508911224647619532179
setupStore4643547538233
numNetworkReqs70561191478100
WebpackStandard HomeuiStartup15291302228615415921799
load12431088174510312941459
domContentLoaded12431088174510312931459
domInteractive53261603078122
firstPaint------
backgroundConnect4317170244596
firstReactRender39328774151
getState168168191625
initialActions103122
loadScripts12201072171410112721436
setupStore126160161124
numNetworkReqs86356824
WebpackPower User HomeuiStartup28351787452859032253446
load19021199352752223202512
domContentLoaded19011199352052223202512
domInteractive8829104716869209
firstPaint------
backgroundConnect2062412872901841067
firstReactRender5636171195792
getState1398426547174227
initialActions208123
loadScripts17751160256846621712390
setupStore4533377534257
numNetworkReqs71561201474103
📊 Page Load Benchmark Results

Current Commit: bf135b7 | Date: 12/8/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±42ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 722ms (±39ms) 🟢 | historical mean value: 730ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 42ms 1.01s 1.32s 1.08s 1.32s
domContentLoaded 722ms 39ms 698ms 994ms 756ms 994ms
firstPaint 77ms 11ms 60ms 172ms 84ms 172ms
firstContentfulPaint 77ms 11ms 60ms 172ms 84ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 58 Bytes (0%)
  • ui: 0 Bytes (0%)
  • common: 96 Bytes (0%)

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

Projects

Status: Needs dev review

Development

Successfully merging this pull request may close these issues.

3 participants