metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

feat: Token Network Filter UI [Extension]

Open gambinish opened this issue 1 year ago • 2 comments

Description

WIP. This is a draft. Opening up for CI

Adds Token network filter controls

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

TBD

Screenshots/Recordings

TBD

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.

gambinish avatar Oct 16 '24 01:10 gambinish

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.

github-actions[bot] avatar Oct 16 '24 01:10 github-actions[bot]

Demo of WIP:

https://github.com/user-attachments/assets/545c24ba-786c-46cb-ba2e-e4e2e15ef0ae

gambinish avatar Oct 17 '24 17:10 gambinish

Builds ready [5b40705]
Page Load Metrics (1979 ± 122 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint29825221765486234
domContentLoaded166626711946255122
load174026761979254122
domInteractive13103502210
backgroundConnect886342412
firstReactRender48118932010
getState46718199
initialActions01000
loadScripts117620871436231111
setupStore1178392612
uiStartup189629062191271130

metamaskbot avatar Oct 22 '24 19:10 metamaskbot

Builds ready [f7f09da]
Page Load Metrics (1994 ± 76 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint28624311663662318
domContentLoaded17032248196014972
load17412340199415876
domInteractive14251634924
backgroundConnect9150343215
firstReactRender562951145024
getState597182412
initialActions01000
loadScripts12211709146512460
setupStore1276422512
uiStartup191430222274278134

metamaskbot avatar Oct 22 '24 20:10 metamaskbot

Builds ready [c6a408d]
Page Load Metrics (2046 ± 72 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint18322465205314670
domContentLoaded17732410199813766
load18212462204614972
domInteractive27109512010
backgroundConnect8143453818
firstReactRender532051032814
getState661272211
initialActions01000
loadScripts13151874150111856
setupStore1196272311
uiStartup202728542290209100
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 22 Bytes (0.00%)
  • ui: 5.52 KiB (0.07%)
  • common: 359 Bytes (0.00%)

metamaskbot avatar Oct 23 '24 17:10 metamaskbot

Builds ready [a2074cd]
Page Load Metrics (2146 ± 104 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint32726801963562270
domContentLoaded17662620210620699
load179226802146217104
domInteractive18139522914
backgroundConnect8184374119
firstReactRender532951326230
getState75825189
initialActions01000
loadScripts12892039157518086
setupStore1795392713
uiStartup199730552450288138
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 22 Bytes (0.00%)
  • ui: 5.49 KiB (0.07%)
  • common: 359 Bytes (0.00%)

metamaskbot avatar Oct 24 '24 17:10 metamaskbot

Builds ready [441d4cf]
Page Load Metrics (2190 ± 100 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint31224301886664319
domContentLoaded18102688215219895
load185326952190207100
domInteractive318347168
backgroundConnect9127413416
firstReactRender822171173416
getState697302914
initialActions01000
loadScripts13382018159715976
setupStore12101392914
uiStartup205629722470221106
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 22 Bytes (0.00%)
  • ui: 5.5 KiB (0.07%)
  • common: 359 Bytes (0.00%)

metamaskbot avatar Oct 24 '24 19:10 metamaskbot

Seeing this with a yarn start locally:

SCR-20241028-ntqu
RPC (npm:@metamask/message-signing-snap): 
Object
 -> 
Object
 TypeError: Cannot read properties of undefined (reading '0x1') '\n  at AssetListControlBar (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-4.js:1765:3)\n  at AssetList (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-4.js:1928:3)\n  at div\n  at chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-9.js:23983:3\n  at div\n  at Box (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-7.js:3824:3)\n  at div\n  at Box (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-7.js:3824:3)\n  at Tabs (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-7.js:12540:3)\n  at div\n  at chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-9.js:23983:3\n  at AccountOverviewTabs (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-6.js:2362:3)\n  at AccountOverviewLayout (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-6.js:2316:3)\n  at AccountOverviewEth\n  at AccountOverview (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-6.js:2536:48)\n  at div\n  at div\n  at div\n  at Home (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-10.js:8410:5)\n  at ConnectFunction (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-8.js:39902:41)\n  at C (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:16054:37)\n  at Route (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:15797:29)\n  at Authenticated (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-8.js:1193:5)\n  at ConnectFunction (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-8.js:39902:41)\n  at Switch (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:15999:29)\n  at div\n  at chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-9.js:23983:3\n  at div\n  at Routes (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-11.js:4667:1)\n  at ConnectFunction (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-8.js:39902:41)\n  at C (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:16054:37)\n  at MetamaskNotificationsProvider (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-7.js:14417:3)\n  at CurrencyRateProvider (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-7.js:14294:3)\n  at LegacyI18nProvider (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-10.js:323:1)\n  at I18nProvider (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-10.js:306:53)\n  at LegacyMetaMetricsProvider (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-7.js:14604:1)\n  at MetaMetricsProvider (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-7.js:14514:3)\n  at RenderedRoute (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:16767:7)\n  at Routes (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:17468:7)\n  at Router (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:17402:17)\n  at CompatRouter (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:13274:7)\n  at Router (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:15416:30)\n  at HashRouter (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-3.js:13755:35)\n  at Provider (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/common-8.js:39609:20)\n  at Index (chrome-extension://oehplhbehlbgjdapfkoemdgjlgbjpkkg/ui-10.js:9298:5)'

darkwing avatar Oct 28 '24 20:10 darkwing

Builds ready [cf78624]
Page Load Metrics (1824 ± 43 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint37719931750327157
domContentLoaded1608193317938239
load1616199118248943
domInteractive216943168
backgroundConnect879272110
firstReactRender50198913014
getState46217189
initialActions01000
loadScripts1165143613107034
setupStore1199342814
uiStartup18102354202611756
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 22 Bytes (0.00%)
  • ui: 5.49 KiB (0.07%)
  • common: 359 Bytes (0.00%)

metamaskbot avatar Oct 28 '24 22:10 metamaskbot

Builds ready [82255bc]
Page Load Metrics (1888 ± 101 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint167926641884213102
domContentLoaded167126521861210101
load168026681888210101
domInteractive1792442110
backgroundConnect979262110
firstReactRender543061085526
getState47215199
initialActions01000
loadScripts11602116136720196
setupStore1270322411
uiStartup187729032118229110
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 22 Bytes (0.00%)
  • ui: 5.49 KiB (0.07%)
  • common: 359 Bytes (0.00%)

metamaskbot avatar Oct 28 '24 23:10 metamaskbot

Builds ready [d45f754]
Page Load Metrics (2079 ± 131 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint38326891976449215
domContentLoaded171425972056269129
load172426092079273131
domInteractive19121552814
backgroundConnect768272110
firstReactRender614091498842
getState560192110
initialActions01000
loadScripts125919611537227109
setupStore1184342613
uiStartup192633792405414199
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 22 Bytes (0.00%)
  • ui: 5.49 KiB (0.07%)
  • common: 359 Bytes (0.00%)

metamaskbot avatar Oct 30 '24 16:10 metamaskbot