Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX: Remove portfolio from global menu #20221

Merged
merged 3 commits into from
Jul 27, 2023
Merged

Conversation

darkwing
Copy link
Contributor

Explanation

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

Screenshots/Screencaps

SCR-20230726-podq

Manual Testing Steps

  1. Open the Global Menu
  2. No more Portfolio link

Pre-merge author checklist

  • I've clearly explained:
    • What problem this PR is solving
    • How this problem was solved
    • How reviewers can test my changes
  • Sufficient automated test coverage has been added

Pre-merge reviewer checklist

  • Manual testing (e.g. pull and build branch, run in browser, test code being changed)
  • PR is linked to the appropriate GitHub issue
  • IF this PR fixes a bug in the release milestone, add this PR to the release milestone

If further QA is required (e.g. new feature, complex testing steps, large refactor), add the Extension QA Board label.

In this case, a QA Engineer approval will be be required.

@darkwing darkwing requested a review from a team as a code owner July 26, 2023 22:45
@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.

Copy link
Contributor

@garrettbear garrettbear left a comment

Choose a reason for hiding this comment

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

I assume still keeping the Portfolio dashboard content and only removing Portfolio view, so LGTM.
Love deleting code ❤️

Before

Screenshot 2023-07-26 at 5 15 04 PM

This PR

Screenshot 2023-07-26 at 5 16 57 PM

Copy link
Contributor

@garrettbear garrettbear left a comment

Choose a reason for hiding this comment

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

tests failed 😢

@darkwing
Copy link
Contributor Author

tests failed 😢

Ugh, I needed to code-fence a variable -- that doesn't get caught by the local linter. :(

@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Merging #20221 (306fb7d) into develop (41f6627) will decrease coverage by 0.00%.
Report is 2 commits behind head on develop.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop   #20221      +/-   ##
===========================================
- Coverage    68.68%   68.67%   -0.00%     
===========================================
  Files          986      986              
  Lines        37870    37865       -5     
  Branches     10138    10138              
===========================================
- Hits         26008    26003       -5     
  Misses       11862    11862              
Files Changed Coverage Δ
...i/components/multichain/global-menu/global-menu.js 67.27% <100.00%> (-2.73%) ⬇️

@metamaskbot
Copy link
Collaborator

Builds ready [306fb7d]
Page Load Metrics (1532 ± 41 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint112197133189
domContentLoaded1401178015328541
load1401178015328541
domInteractive1401178015328541
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: -583 Bytes (-0.01%)
  • common: -41 Bytes (-0.00%)

Copy link
Member

@NidhiKJha NidhiKJha left a comment

Choose a reason for hiding this comment

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

LGTM

@garrettbear garrettbear merged commit cd68bf9 into develop Jul 27, 2023
9 checks passed
@garrettbear garrettbear deleted the remove-portfolio-global branch July 27, 2023 16:35
@github-actions github-actions bot locked and limited conversation to collaborators Jul 27, 2023
@metamaskbot metamaskbot added the release-10.36.0 Issue or pull request that will be included in release 10.36.0 label Jul 27, 2023
@Gudahtt Gudahtt added release-11.1.0 Issue or pull request that will be included in release 11.1.0 and removed release-10.36.0 Issue or pull request that will be included in release 10.36.0 labels Sep 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-11.1.0 Issue or pull request that will be included in release 11.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants