-
Notifications
You must be signed in to change notification settings - Fork 97
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
feat(TokenEnterAmount): add new flow to EnterAmount.tsx #6245
Merged
Merged
Changes from 56 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
e5ab0a5
add new TokenEnterAmount component
sviderock 2fbc1b2
fix exports
sviderock b12d50f
Merge branch 'main' into slava/add-new-enter-amount-component
sviderock 8af7b8d
Add reusable useEnterAmount hook
sviderock 44c0aab
remove unused code
sviderock 1aa17d6
change flow on send
sviderock 4ed89fc
fix tests
sviderock d0c7099
fix jumpstart
sviderock b7e5107
remove unnecessary changes
sviderock 6ca6f92
Merge branch 'main' into slava/add-new-enter-amount-component
sviderock f2185bc
Merge branch 'slava/add-new-enter-amount-component' into slava/add-en…
sviderock 8762401
Merge branch 'slava/add-enter-amount-hook' into slava/change-send-flow
sviderock 98938bc
fix knip
sviderock 5a3f776
uncomment some tests
sviderock 9360626
fixes
sviderock b3f3c67
add tests
sviderock 8ce68a4
clear up console logs
sviderock c2773fa
Merge branch 'slava/add-new-enter-amount-component' into slava/add-en…
sviderock 37455cb
WIP: tests for the hook
sviderock 8357b18
reformat groupNumber, finish number formatting tests
sviderock f5db952
add useEnterAmount initial tests
sviderock 130b620
finish tests
sviderock 10fb5bd
revert unnecessary change
sviderock 112e5f9
Merge branch 'main' into slava/add-new-enter-amount-component
sviderock bce9c2b
Merge branch 'slava/add-new-enter-amount-component' into slava/add-en…
sviderock 7048f8e
Merge branch 'slava/add-enter-amount-hook' into slava/change-send-flow
sviderock a08f3a9
format input values
sviderock 22f4a44
fix tests
sviderock 78218f6
fix zero values for readable amounts
sviderock cea53aa
add comments
sviderock 060a81a
Merge branch 'slava/add-enter-amount-hook' into slava/change-send-flow
sviderock 8d80b3d
add comment
sviderock f9b5e31
unskip test that checks logic when fiat prices unavailable
sviderock 0d64a5b
fix as per the review
sviderock 2031bbc
fix as per the review comments
sviderock d7b5f0a
Merge branch 'main' into slava/add-new-enter-amount-component
sviderock 6d738e4
Merge branch 'slava/add-new-enter-amount-component' into slava/add-en…
sviderock 4c9ed39
remove refs and their handlers outside of the component
sviderock e1dbbec
refactor tests related to amount formatting
sviderock e9fc844
rename readabale to display
sviderock ec1f0a8
change variables names
sviderock 96bc9b3
Merge branch 'slava/add-enter-amount-hook' into slava/change-send-flow
sviderock 2c6f88b
fix tests after changes to hook
sviderock 1a0c2bc
Merge branch 'main' into slava/add-new-enter-amount-component
sviderock 6921dc5
Merge branch 'slava/add-new-enter-amount-component' into slava/add-en…
sviderock bcb4c6f
Merge branch 'slava/add-enter-amount-hook' into slava/change-send-flow
sviderock 5d85bbd
remove unused callback
sviderock da1652b
change derived to processedAmounts
sviderock f57fac6
rename readable to displayAmount
sviderock 39c6766
remove unnecessary hooks and mocks
sviderock cdd8396
fix tests as per review
sviderock 6bb7c89
fix tests
sviderock 1f40e7c
fix test
sviderock 5cec1fb
Merge branch 'slava/add-enter-amount-hook' into slava/change-send-flow
sviderock b9f21de
fix as per the comments, adjust to "max" button
sviderock 3858035
Merge branch 'main' into slava/change-send-flow
sviderock 4eb45ba
unskip "max" tests
sviderock 639e612
replace props.children check with .toHaveTextContent() in tests
sviderock 080de6d
fix lint
sviderock e0de08b
add spacing for title
sviderock 8001e05
fix percentages
sviderock ae82212
rename handler for better clarity
sviderock 7714b4d
clear percentage on token select
sviderock b91f09d
change as per the review
sviderock fbcd741
Merge branch 'main' into slava/change-send-flow
sviderock 757a759
revert some changes
sviderock 8aed766
remove unused ref
sviderock ac325bd
fix 2e2
sviderock c5bc604
fix assets e2e
sviderock c0b5ab2
try to fix assets again
sviderock 81991b5
ignore currency symbols for unformat function, cover new functions wi…
sviderock 7c746d6
revert changes with removing symbols
sviderock 12b4e47
fix: fee amount formatting on android
kathaypacific 6d6ae26
fix: avoid showing fees when no amount
kathaypacific e54e741
fix: more than max amount set when max amount selected
kathaypacific 1aa565d
fix: ensure token symbol displayed in secondary amount
kathaypacific 5e2dbee
chore: increase switch icon touch area
kathaypacific 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
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
maybe add a TODO to unskip?
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.
@kathaypacific I think this is also outdated!