Closed
Description
Category
Suggestion
Description
As a new user, I can sign up to create an account. The new user gets an error if:
1- Leaves the "Full Name" field blank
2- Leaves the "Email" field blank or enters an invalid email (for example without @ sign)
3- Chooses a password that contains less than 6 characters
4- Leaves "LeetCode Username" blank
Suggestion to improve: It is more attractive to show the error below the field with a style that is compatible with the UI of the website.
Additional Context
Steps to reproduce the situations:
For 1:
- Go to https://leetcode-journal.vercel.app/auth/register
- Leave the Full Name field blank and press "Register" button
For 2:
- Go to https://leetcode-journal.vercel.app/auth/register
- Enter a name in "Full Name" field
- Leave the "Email" field blank or enter an invalid email address
For 3:
- Go to https://leetcode-journal.vercel.app/auth/register
- Fill "Full Name" and "Email fields" with valid inputs
- Leave the password field blank or enter a password that contains less that 6 characters
For 4:
- Go to https://leetcode-journal.vercel.app/auth/register
- Fill "Full Name" , "Email fields" , and "password" fields with valid inputs
- Leave "LeetCode Username" field blank
Impact Level
Low
Contribution Guidelines
- I have searched existing issues to avoid duplicates
- I would like to help resolve this issue