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

feat: Gas Fees Redesign PoC

Open pedronfigueiredo opened this issue 9 months ago • 2 comments

Description

Implements a new Gas Fees component to be used on the redesign transactions.

This component leverages the existing modals for Type 0 and Type 2 transactions.

This PR also includes e2e test setup for Legacy, EIP1559 and L2 fee breakdown txs.

Open in GitHub Codespaces

Related issues

Fixes: #24047

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

After

Type 0 Transaction

Screenshot 2024-06-06 at 11 57 17 Screenshot 2024-06-06 at 11 57 19

Type 2 Transaction

Screenshot 2024-06-06 at 12 26 29 Screenshot 2024-06-06 at 12 26 32

Type 2 Transaction on a L2 that provides L1 fees breakdown

Screenshot 2024-06-06 at 12 28 13 Screenshot 2024-06-06 at 12 28 19 Screenshot 2024-06-06 at 12 28 26

Pre-merge author checklist

  • [ ] I’ve followed MetaMask Coding Standards.
  • [ ] I've completed the PR template to the best of my ability
  • [ ] 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.

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.

pedronfigueiredo avatar May 22 '24 16:05 pedronfigueiredo