The password toggle functionality is now modular, improving code reuse.
The notification display logic is encapsulated in a function, reducing redundancy.
Validation Improvements:
The email validation is more flexible, allowing any valid domain instead of just gmail.com.
Password strength validation is streamlined with specific conditions (length, case, numbers, special characters) and offers visual feedback through a strength indicator.
Form Interaction:
Both sign-in and sign-up forms have clear validation logic, and the flow is more user-friendly, using notifications for errors or success.
Password Strength Indicator:
Provides a more dynamic user experience, adjusting colors and messages based on password complexity.
Modal Handling:
The forgot password modal logic is improved for smoother interactions, including closing behavior and email validation for sending reset links.
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Reusability & Readability:
Validation Improvements:
gmail.com
.Form Interaction:
Password Strength Indicator:
Modal Handling:
What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)