MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.52k stars 4.7k forks source link

feat: Removed multichain flag for v1 release #24362

Closed NidhiKJha closed 1 week ago

NidhiKJha commented 2 weeks ago

This PR is to remove all the Multichain flags from code except the send and swap flow

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2431

Manual testing steps

  1. Run the extension without Multichain flag.
  2. All the changes should be there

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

salimtb commented 1 week ago

@NidhiKJha you have 1 broken unit test

github-actions[bot] commented 1 week ago

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.

sleepytanya commented 1 week ago

I'm not sure if 'Select networks for each site' in Experimental settings should be ON by default? Seems like multichain doesn't work correctly? Sorry, if I'm missing something :).

https://github.com/MetaMask/metamask-extension/assets/104780023/a7056a1c-0876-46d5-9edc-978a3ac7b49e

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 30.00000% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 67.45%. Comparing base (ed850ee) to head (ef8a63d).

Files Patch % Lines
ui/index.js 0.00% 12 Missing :warning:
ui/components/multichain/app-header/app-header.js 0.00% 1 Missing :warning:
...i/components/multichain/global-menu/global-menu.js 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #24362 +/- ## =========================================== + Coverage 67.37% 67.45% +0.08% =========================================== Files 1286 1286 Lines 50114 50077 -37 Branches 13004 12985 -19 =========================================== + Hits 33761 33777 +16 + Misses 16353 16300 -53 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

metamaskbot commented 1 week ago
Builds ready [3f07521]
Page Load Metrics (944 ± 636 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint701831062814
domContentLoaded96623168
load5633899441324636
domInteractive96623168
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 529 Bytes (0.01%)
  • common: 96 Bytes (0.00%)
metamaskbot commented 1 week ago
Builds ready [ef8a63d]
Page Load Metrics (659 ± 494 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7012787168
domContentLoaded9441794
load5626266591029494
domInteractive9441794
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 0 Bytes (0.00%)
  • ui: 938 Bytes (0.01%)
  • common: 96 Bytes (0.00%)