-
Notifications
You must be signed in to change notification settings - Fork 100
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
Mario/2670 add max amount #2956
Conversation
So this is missing the warning if there is no more funds for fees left as discussed in the issue |
i might propose we add this button to this would mean we wouldn't have to duplicate the HTML. do you think this would be a good approach? |
Added message: Warning! you should probably leave some left over for fees |
Codecov Report
@@ Coverage Diff @@
## develop #2956 +/- ##
===========================================
+ Coverage 92.83% 92.87% +0.03%
===========================================
Files 129 129
Lines 2234 2259 +25
Branches 389 388 -1
===========================================
+ Hits 2074 2098 +24
- Misses 155 156 +1
Partials 5 5
|
Codecov Report
@@ Coverage Diff @@
## develop #2956 +/- ##
===========================================
+ Coverage 92.83% 93.09% +0.25%
===========================================
Files 129 129
Lines 2234 2258 +24
Branches 389 388 -1
===========================================
+ Hits 2074 2102 +28
+ Misses 155 151 -4
Partials 5 5
|
Co-Authored-By: Jordan Bibla <jbibla@gmail.com>
Good suggestion. Looks great, I've no other comments apart from that. |
TmField is already super cluttered. If we want to do this, let's create another component AmountInput or similar which has limited functionality. We thought about this here #1885. I propose we don't do the refactor here and I reopen the according issue. |
Closes #2670
Description:
Add max button to amount field in transfer, delegate and undelegate modals.
Thank you! 🚀
For contributor:
yarn changelog
for a guided process.Files changed
in the github PR explorerFor reviewer: