-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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: Change password hint color to red when invalid, else grey #5130
Merged
marcaaron
merged 26 commits into
Expensify:main
from
mananjadhav:fix/password-hint-color
Nov 22, 2021
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
254e1d3
fix(password-hint-color): Change password hint color to red when it i…
mananjadhav 5a3e33b
fix(password-hint-color): Changed function flow from isInvalidPasswo…
mananjadhav d33a958
Merge branch 'main' of https://github.com/mananjadhav/App into fix/pa…
mananjadhav 25e16ad
style(password-hint-color): Fixed style changes
mananjadhav 821a6b1
style(password-hint-color): Moved style prop to newline
mananjadhav 226a6cd
Merge branch 'main' of https://github.com/mananjadhav/App into fix/pa…
mananjadhav 8a8e16b
fix(password-hint-color): Changed logic from onBlur to onClick
mananjadhav 52501c6
Merge branch 'main' of https://github.com/mananjadhav/App into fix/pa…
mananjadhav 5cfca27
fix(password-onsubmit-error): Changed all errors to onSubmit
mananjadhav 7e90a49
fix(password-onsubmit-error): Clear error when user starts typing
mananjadhav 835794e
fix(password-hint-color): Added jsdoc comments
mananjadhav bb49ca2
Merge branch 'main' of https://github.com/mananjadhav/App into fix/pa…
mananjadhav c9f7c97
fix(password-hint-color): Moved isValidPassword to utils and removed …
mananjadhav 4c4bb9e
fix(password-hint-color): Split functions validate and submit
mananjadhav b76536d
fix(password-hint-color): Updated translations for password errors
mananjadhav a167491
fix(password-hint-color): Split errors into different flags and updat…
mananjadhav 5d1648c
fix(password-hint-color): Show error only for one of the flags
mananjadhav 097c007
fix(password-hint-color): Show API error only if no UI error
mananjadhav dfc570a
fix(password-hint-color): Show errors and hint based condition
mananjadhav 73db2f5
Merge branch 'main' of https://github.com/mananjadhav/App into fix/pa…
mananjadhav c6b2766
fix(password-hinit-color): Fixed lint issues and minor typos
mananjadhav e9399f3
Merge branch 'main' of https://github.com/mananjadhav/App into fix/pa…
mananjadhav 8d97c12
fix(password-hint-color): Removed unwanted comments and renamed params
mananjadhav d3c5afc
fix(password-hint-color): Updated conditions and moved new password p…
mananjadhav 7be90c8
fix(password-hinit-color): Changed _.some to _.every for better reada…
mananjadhav c94d639
fix(password-hint-color): Changed redirect from Settings to back
mananjadhav 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
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.
NAB,
!this.state.newPassword
check should be performed insideisValidPassword()
?