-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Handle and set gas estimation when max mode is clicked #8176
Conversation
Did this to |
Builds ready [cfdba44]
|
Since it has to land on We can still pull this into an RC branch based on |
cfdba44
to
ea5cc17
Compare
Builds ready [5bb934b]
Page Load Metrics (747 ± 44 ms)
|
Now also handles the case of maxModeOn and a token is selected to render the correct Send Amount value in the customize gas modal page. Described here #8136 (comment) |
ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js
Outdated
Show resolved
Hide resolved
ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js
Outdated
Show resolved
Hide resolved
ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js
Outdated
Show resolved
Hide resolved
...ponents/app/gas-customization/gas-modal-page-container/gas-modal-page-container.container.js
Show resolved
Hide resolved
Builds ready [c97e6ec]
Page Load Metrics (642 ± 48 ms)
|
ui/app/pages/send/send-content/send-amount-row/send-amount-row.component.js
Outdated
Show resolved
Hide resolved
Builds ready [2264de8]
Page Load Metrics (568 ± 56 ms)
|
Add componentDidMount to SendAmountRow to check for maxMode boolean to update amount and gas.
da28749
to
15a7503
Compare
Builds ready [15a7503]
Page Load Metrics (675 ± 62 ms)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
...ponents/app/gas-customization/gas-modal-page-container/gas-modal-page-container.container.js
Outdated
Show resolved
Hide resolved
Co-Authored-By: Whymarrh Whitby <whymarrh.whitby@gmail.com>
Builds ready [c809a74]
Page Load Metrics (607 ± 68 ms)
|
* Handle and set gas estimation when max mode is clicked Add componentDidMount to SendAmountRow to check for maxMode boolean to update amount and gas.
Add componentDidMount to SendAmountRow component to check for maxMode boolean to update amount and gas.