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.
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
Fix Inconsistency in the security page and Request money page #23712
Fix Inconsistency in the security page and Request money page #23712
Changes from 9 commits
cd43eb7
704f2c4
ba129c4
d08e690
3e3db82
9036fc6
b6783cb
d0dedfa
fb5fe6c
ffeb57e
0edc5a0
e088bdb
22ff035
5a9f99b
bcfe688
2f141f9
36c4c63
8983bd4
3d109c6
8b7fee0
71e8fe1
05db4e3
43478ce
b0ceccf
06619d0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
I'm thinking that maybe in order to be congruent with the
Form
pages we should only clear the error once the user has input a valid amount. Example:Screen.Recording.2023-08-21.at.16.27.08.mov
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.
@Ollyws I just updated.
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.
Could we update the alignment to match the other Form pages? Thanks.
Also I'm wondering if we can stop the input from moving up when the error is added, it's a bit jarring:
Screen.Recording.2023-08-22.at.15.57.19.mov
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.
@Ollyws I think it's hard to prevent jumping because the input has style flex:1.
@shawnborton I think we should confirm here again. Should we disable the next button of money request flow?
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.
What does this look like on mobile where we show the full keypad too?
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.
it looks like this.
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.
Some UI could be broken as @Ollyws commented here So I think we should only not disable the button in
CodesSteps
ofTwoFactor
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.
I feel like we should consider moving that error message to be below the green button for consistency. I think it's probably okay if the UI jumps slightly because the alternatives aren't really too great. We'd have to give a an area a fixed height to prevent jumping, which kind of feels like we'd be optimizing for the less common case.
Also, we should make the error text use our text.Supporting color, but keep the dot red.
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.
What does that mean? I saw the error message is always above the confirm button.
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.
@shawnborton please help me in the comment above when you have a chance.
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.
But then that makes an awkward gap between the green button and the keypad. So I think for this one, we should move the error message to be below the green submit button.