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

remove customize-gas modal and related code that is no longer used #16004

Merged
merged 4 commits into from
Sep 28, 2022

Conversation

brad-decker
Copy link
Contributor

@brad-decker brad-decker commented Sep 27, 2022

Explanation

I was recently reviewing old tickets for possible contributor experience issues and saw #9713. The gas buttons that this ticket refers to is the now-replaced gas UI where we displayed a slider and three buttons. During EIP-1559 v1 we changed the 'CUSTOMIZE_GAS' modal to the 'LEGACY_CUSTOMIZE_GAS' modal and the only place that called it. However in #11712 we removed the only place that opened this modal.

The only thing inside the customize gas modal folder that was used was the advanced gas input component, which I elevated out of that modal folder into app components.

This allows for the removal of the button group selector and various other selectors as well as the modal itself and related code.

More Information

Fixes #9713

Screenshots/Screencaps

Before

After

Manual Testing Steps

There should be no functional changes in this PR, the code removed was not used.

Pre-Merge Checklist

  • PR template is filled out
  • IF this PR fixes a bug, a test that would have caught the bug has been added
  • PR is linked to the appropriate GitHub issue
  • PR has been added to the appropriate release Milestone

@metamaskbot
Copy link
Collaborator

Builds ready [c7d1336]
Page Load Metrics (2569 ± 161 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint913791286129
domContentLoaded216132302544335161
load218132302569335161
domInteractive216132302544335161

highlights:

storybook

@brad-decker brad-decker marked this pull request as ready for review September 28, 2022 13:50
@brad-decker brad-decker requested review from a team and kumavis as code owners September 28, 2022 13:50
@brad-decker brad-decker requested a review from mcmire September 28, 2022 13:50
@brad-decker brad-decker merged commit 99808eb into develop Sep 28, 2022
@brad-decker brad-decker deleted the remove-dead-code branch September 28, 2022 20:00
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move getRenderableGasButtonData and refactor dependencies accordingly
4 participants