-
Couldn't load subscription status.
- Fork 45
fix: various fixes and improvements to numeric text field and large token input #1528
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c2f7192
fix: numeric text field would round 0.000 to 0
0xAlunara 060420f
fix: avoid calling onBalance when input changes from 0.00 to 0.0
0xAlunara a9f60d3
refactor: useUniqueDebounce options made more general, add docs
0xAlunara 0405aed
refactor: remove unused import
0xAlunara bf482e4
test: rename ClientWrapper to ComponentTestWrapper and make config op…
0xAlunara 04a29de
refactor: return debounce cancel function
0xAlunara 56af7e5
fix: temporary values getting erased by a debounce
0xAlunara bac9ffd
fix: also handle a sole - as input numeric text field input
0xAlunara 197ed9c
fix: always allow negative numbers to be put in, only clamp on blur
0xAlunara 966fbc1
fix: handle additional sole input characters like - and ,
0xAlunara 2868a79
test: update and fix all numeric input field tests
0xAlunara 59d3329
test: remove useless initial value test portion
0xAlunara 60e33f2
chore: improve numeric text field tests
0xAlunara 0bb8f0d
test: simplify rounding test
0xAlunara 0e661c7
fix: cancel is used as a dependency
0xAlunara a57bcf8
refactor: move equals function to global scope because of re-renders
0xAlunara 2f7977b
refactor: double negation
0xAlunara decee41
fix: extend decimal function to include the domain of big numbers
0xAlunara e32fcbe
refactor: use decimal function
0xAlunara 99794e5
refactor: decimal function returns original string if valid
0xAlunara 48bead6
Merge branch 'main' into fix/lti-decimals
DanielSchiavini a09301a
Merge branch 'main' into fix/lti-decimals
DanielSchiavini 31a4e25
Merge branch 'main' of github.com:curvefi/curve-frontend into fix/lti…
DanielSchiavini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.