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

feat: Edit gas, Drawer, DeleteWallet, ComponentErrorBoundary, CollectilbleContracts, BrowsserBottomBar events migration #8656

Merged
merged 8 commits into from
Feb 26, 2024

Conversation

tommasini
Copy link
Contributor

@tommasini tommasini commented Feb 21, 2024

Description

Edit gas, Drawer, DeleteWallet, ComponentErrorBoundary, CollectilbleContracts, BrowsserBottomBar components under UI folder, with new Segment metrics.

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

EditGasFee1559: https://recordit.co/anjzzwWcSa
EditGasFeeLegacy: https://recordit.co/slAa7Fpgza
CollectibleContracts: https://recordit.co/QFiCkWzVGX
BrowserBottomBar: https://recordit.co/ciQb4P51Fg

Before

After

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

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.

@tommasini tommasini added needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking team-mobile-platform labels Feb 21, 2024
@tommasini tommasini requested a review from a team as a code owner February 21, 2024 16:32
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

@Cal-L Cal-L left a comment

Choose a reason for hiding this comment

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

Let's fix the unit test

@codecov-commenter
Copy link

codecov-commenter commented Feb 22, 2024

Codecov Report

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

Project coverage is 41.43%. Comparing base (baed762) to head (6a11b88).
Report is 1 commits behind head on main.

Files Patch % Lines
app/components/UI/DrawerView/index.js 0.00% 4 Missing ⚠️
app/components/UI/BrowserBottomBar/index.js 0.00% 2 Missing ⚠️
app/components/UI/CollectibleContracts/index.js 33.33% 2 Missing ⚠️
app/components/UI/EditGasFee1559/index.js 33.33% 2 Missing ⚠️
app/components/UI/EditGasFeeLegacy/index.js 33.33% 2 Missing ⚠️
app/components/UI/DeleteWalletModal/index.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8656      +/-   ##
==========================================
- Coverage   41.46%   41.43%   -0.03%     
==========================================
  Files        1263     1263              
  Lines       30610    30611       +1     
  Branches     3008     3008              
==========================================
- Hits        12693    12685       -8     
- Misses      17164    17173       +9     
  Partials      753      753              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@Cal-L Cal-L left a comment

Choose a reason for hiding this comment

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

LGTM, pending Sonarcloud

Copy link
Contributor

@NicolasMassart NicolasMassart left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link

sonarcloud bot commented Feb 26, 2024

@NicolasMassart NicolasMassart merged commit 88a04ac into main Feb 26, 2024
28 checks passed
@NicolasMassart NicolasMassart deleted the feat/batch_1129_segment_8 branch February 26, 2024 16:39
@github-actions github-actions bot locked and limited conversation to collaborators Feb 26, 2024
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Feb 26, 2024
@metamaskbot metamaskbot added release-7.18.0 Issue or pull request that will be included in release 7.18.0 in-progress labels Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in-progress release-7.18.0 Issue or pull request that will be included in release 7.18.0 Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking team-mobile-platform
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

6 participants