Skip to content

Conversation

ghgoodreau
Copy link
Contributor

@ghgoodreau ghgoodreau commented Oct 16, 2025

Description

This PR does three things:

  1. adds the account type tag for bitcoin
  2. fixes a bug where Bitcoin was being selected as fromChain and toChain automatically, which is not intended.
  3. updates the mUSD tag to also use the new tag component

Open in GitHub Codespaces

Changelog

CHANGELOG entry: added account type tags for bitcoin

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.

@ghgoodreau ghgoodreau changed the title feat: native segwit tag for bitcoin, fix tochain selection from bitco… feat: native segwit tag for bitcoin, fix tochain selection from bitcoin Oct 16, 2025
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-swaps-and-bridge Swaps and Bridge team label Oct 16, 2025
@metamaskbot
Copy link
Collaborator

metamaskbot commented Oct 16, 2025

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/core-extension-ux (3 files, +12 -26)
  • 📁 ui/
    • 📁 components/
      • 📁 multichain/
        • 📁 asset-picker-amount/
          • 📁 asset-picker-modal/
            • 📄 Asset.tsx +2 -0
            • 📄 types.ts +2 -0
        • 📁 token-list-item/
          • 📄 token-list-item.tsx +8 -26

💎 @MetaMask/metamask-assets (1 files, +1 -1)
  • 📁 ui/
    • 📁 components/
      • 📁 app/
        • 📁 assets/
          • 📁 token-cell/
            • 📁 cells/
              • 📄 token-cell-title.tsx +1 -1

🔄 @MetaMask/swaps-engineers (3 files, +40 -7)
  • 📁 ui/
    • 📁 ducks/
      • 📁 bridge/
        • 📄 selectors.ts +18 -7
        • 📄 types.ts +2 -0
    • 📁 hooks/
      • 📁 bridge/
        • 📄 useTokensWithFiltering.ts +20 -0

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 1a500eb | Date: 10/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±70ms) 🟡 | historical mean value: 1.05s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 734ms (±67ms) 🟢 | historical mean value: 735ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±12ms) 🟢 | historical mean value: 78ms ⬇️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 70ms 1.01s 1.32s 1.27s 1.32s
domContentLoaded 734ms 67ms 695ms 996ms 936ms 996ms
firstPaint 77ms 12ms 60ms 176ms 88ms 176ms
firstContentfulPaint 77ms 12ms 60ms 176ms 88ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [1a500eb]
UI Startup Metrics (1257 ± 72 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1257112716027213041368
load107694212536311121181
domContentLoaded106893112446411031174
domInteractive18144561737
firstPaint70688128043310971180
backgroundConnect25724036114259281
firstReactRender2918157172947
getState1554071930
initialActions60699625
loadScripts81968899362854919
setupStore1063541120
WebpackHomeuiStartup8527201104788741036
load65658493380670873
domContentLoaded64857992379648865
domInteractive16114881435
firstPaint18358910165195601
backgroundConnect21104072834
firstReactRender261670103135
getState832331113
initialActions3011248
loadScripts64557791277646854
setupStore952231114
FirefoxBrowserifyHomeuiStartup14591285177010815171687
load1235107615528213011372
domContentLoaded1234107615528213001372
domInteractive1053335156107252
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3422137133850
firstReactRender31265753241
getState1059611818
initialActions52778416
loadScripts1213105815288112731352
setupStore12761101133
WebpackHomeuiStartup15521382195611316111804
load1338119716969314021493
domContentLoaded1338119716959314021492
domInteractive1113338575106355
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect361696144067
firstReactRender282281102838
getState94718815
initialActions4173735
loadScripts1315117816709213791473
setupStore135139191046
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -71.86 KiB (-1.58%)
  • ui: 1.6 KiB (0.02%)
  • common: 57.49 KiB (0.69%)

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 3f75b5e | Date: 10/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±78ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 743ms (±75ms) 🟢 | historical mean value: 735ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±14ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 78ms 1.02s 1.44s 1.30s 1.44s
domContentLoaded 743ms 75ms 704ms 1.09s 954ms 1.09s
firstPaint 78ms 14ms 60ms 208ms 88ms 208ms
firstContentfulPaint 78ms 14ms 60ms 208ms 88ms 208ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [3f75b5e]
UI Startup Metrics (1271 ± 73 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1271114514637313241411
load109198012816911401235
domContentLoaded108497512756911291228
domInteractive18135171738
firstPaint678140128144411071237
backgroundConnect2562432919259282
firstReactRender27175072846
getState1556481929
initialActions60819817
loadScripts835725102968876982
setupStore1062231218
WebpackHomeuiStartup8397211068708501041
load63358290469643854
domContentLoaded62557789569634849
domInteractive16116291435
firstPaint18154898167191602
backgroundConnect21114062532
firstReactRender27176983235
getState941931114
initialActions3010247
loadScripts62357488466632838
setupStore1053541115
FirefoxBrowserifyHomeuiStartup14271253209714014731703
load1197107214318412521363
domContentLoaded1196107214318412521362
domInteractive98342925697253
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect32227993548
firstReactRender30254643141
getState12520121833
initialActions52285421
loadScripts1175105713888112271342
setupStore146139181156
WebpackHomeuiStartup15611405208111315941790
load1339118816598013731498
domContentLoaded1339118816588013731497
domInteractive953034149101183
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect352071104165
firstReactRender352781113570
getState94486917
initialActions51748314
loadScripts1315116616337913481474
setupStore13674131050
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -71.86 KiB (-1.58%)
  • ui: 1.6 KiB (0.02%)
  • common: 57.49 KiB (0.69%)

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 20ddd26 | Date: 10/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.07s (±72ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 754ms (±70ms) 🟢 | historical mean value: 738ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 82ms (±14ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.07s 72ms 1.03s 1.38s 1.28s 1.38s
domContentLoaded 754ms 70ms 713ms 1.05s 955ms 1.05s
firstPaint 82ms 14ms 64ms 196ms 92ms 196ms
firstContentfulPaint 82ms 14ms 64ms 196ms 92ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [20ddd26]
UI Startup Metrics (1261 ± 69 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1261113514546913031396
load108396912846411141204
domContentLoaded107896412786411081198
domInteractive18145581742
firstPaint62185128244510951204
backgroundConnect2532392827257264
firstReactRender25195052637
getState165103111929
initialActions61678616
loadScripts830725102862856952
setupStore1062831016
WebpackHomeuiStartup841730110258866963
load63258788156640776
domContentLoaded62458186255634769
domInteractive16125181440
firstPaint18257894188174607
backgroundConnect2311158152533
firstReactRender2817101113236
getState941631115
initialActions307246
loadScripts62057982348632727
setupStore1051631214
FirefoxBrowserifyHomeuiStartup14751263192011815331683
load1238107214538713121379
domContentLoaded1238107114528713111378
domInteractive1013530252104256
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect362286114062
firstReactRender31276863242
getState96768917
initialActions4256549
loadScripts1215105414318612871354
setupStore156153251152
WebpackHomeuiStartup15951428197410816421896
load1366121117058714051513
domContentLoaded1365121117048714051513
domInteractive983134550100188
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3620120164169
firstReactRender3326152133441
getState10313216923
initialActions6117918414
loadScripts1342119416548413771495
setupStore13659111134
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -71.86 KiB (-1.58%)
  • ui: 1.57 KiB (0.02%)
  • common: 57.49 KiB (0.69%)

@metamaskbot
Copy link
Collaborator

📊 Page Load Benchmark Results

Current Commit: 0c8ed0b | Date: 10/16/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±72ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 737ms (±69ms) 🟢 | historical mean value: 738ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±15ms) 🟢 | historical mean value: 78ms ⬆️ (historical data)
📈 Detailed Results
Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 72ms 1.01s 1.33s 1.27s 1.33s
domContentLoaded 737ms 69ms 697ms 1.00s 947ms 1.00s
firstPaint 78ms 15ms 60ms 208ms 92ms 208ms
firstContentfulPaint 78ms 15ms 60ms 208ms 92ms 208ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Results generated automatically by MetaMask CI

@metamaskbot
Copy link
Collaborator

Builds ready [0c8ed0b]
UI Startup Metrics (1238 ± 75 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyHomeuiStartup1238110714987512851379
load106592413077011111186
domContentLoaded105991713037011051179
domInteractive17136161724
firstPaint688144118742910861166
backgroundConnect2512392848256265
firstReactRender25194752637
getState1464971727
initialActions40213511
loadScripts813680104868862934
setupStore962331014
WebpackHomeuiStartup8427111121838601046
load64357994687638886
domContentLoaded63557493986631876
domInteractive15115181437
firstPaint20258922194198593
backgroundConnect22114782637
firstReactRender26176383133
getState942831114
initialActions3011246
loadScripts63357293784630865
setupStore952731113
FirefoxBrowserifyHomeuiStartup1433126517489914681644
load1217106613917112641344
domContentLoaded1217106613917112641343
domInteractive1023429750102245
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect3221108123643
firstReactRender29254432938
getState85868814
initialActions4217338
loadScripts1196104813696912421313
setupStore126105131033
WebpackHomeuiStartup16171421211512616601851
load13851243174410014411625
domContentLoaded13851243174310014411624
domInteractive1173340576116363
firstPaintNaNNaNNaNNaNNaNNaN
backgroundConnect352273104160
firstReactRender302381113250
getState10415115913
initialActions7216219416
loadScripts1363122717019914201598
setupStore146248251037
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -71.71 KiB (-1.58%)
  • ui: 1.79 KiB (0.03%)
  • common: 58.31 KiB (0.7%)

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

Labels

size-S team-swaps-and-bridge Swaps and Bridge team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants