-
Notifications
You must be signed in to change notification settings - Fork 124
fix-password-validation-not-working #595
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
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @ashgansh and the rest of your teammates on |
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.
@ashgansh I think that the "too weak" error message should be shown as soon as the first validation comes back (14 second timestamp in first video)
this would let the user make a stronger password BEFORE they start the confirmation step
also, i think previously the color of the strength bars were dynamic
red for weak
amber for medium
green for strong
maybe im imagining it @BlankParticle ?
Yeah the remote validation doesn't occur until atleast 8 letters are there, also about the strength meter colors, it doesnt play well with when using the same component for both strength and confirm password. |
when user under 8 chars returning an error note: |
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.
🫡
TL;DR
Updated the password validation logic in the PasswordCard component to only show the password mismatch message when both passwords are filled and to simplify the validation logic.
What changed?
How to test?
Why make this change?
Improving user experience by providing clearer validation messages and simplifying the component's logic.
What does this PR do?
Fixes # (issue)
If there is not an issue for this, please create one first. This is used to tracking purposes and also helps use understand why this PR exists
Type of change
Checklist
Required
console.logs
git pull origin main
Appreciated
Current Change
Past Behavior
Nothing would happen until a user entered at least 8 chars.