-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Validate sign up form elements on page reload #8506
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8506 +/- ##
==========================================
- Coverage 82.01% 81.89% -0.12%
==========================================
Files 101 101
Lines 5894 5894
==========================================
- Hits 4834 4827 -7
- Misses 1060 1067 +7
|
Code Climate has analyzed commit 930e33f and detected 0 issues on this pull request. View more on Code Climate. |
This looks awesome. Does it show any errors on initial page load? Thanks! |
@jywarren no it won't show any errors on initial page load, I fixed that. Please try it out in gitpod and let me know if any changes are required. 😄 |
Awesome. Thanks so much for the fix!!! |
* Validate sign up form elements on page reload * Refactor validate condition to reduce complexity
* Validate sign up form elements on page reload * Refactor validate condition to reduce complexity
* Validate sign up form elements on page reload * Refactor validate condition to reduce complexity
* Validate sign up form elements on page reload * Refactor validate condition to reduce complexity
* Validate sign up form elements on page reload * Refactor validate condition to reduce complexity
* Validate sign up form elements on page reload * Refactor validate condition to reduce complexity
* Validate sign up form elements on page reload * Refactor validate condition to reduce complexity
Fixes #8463 (<=== Add issue number here)
Reinstates the changes of #7768
Validates the email and username elements of signup form on page reload when an error is faced during sign up. The error could be :
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!