Skip to content
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

User Signup Form Validation and Toast Message #656

Merged
merged 11 commits into from
Sep 19, 2023

Conversation

shubhamsinghbundela
Copy link
Contributor

@shubhamsinghbundela shubhamsinghbundela commented Sep 18, 2023

Issue Closes #654

Parent ticket: Real-Dev-Squad/todo-action-items#178

What is the change?

  • Allow user to input anything in "firstname" and "lastname" input field

  • If the input in the "firstname" or "lastname" fields violates certain criteria i.e. input not contain spaces, non-alphabetical characters, numbers, more than 20 character, an error message should be displayed below the respective input field ("firstname" and "lastname") and generateusername button will disable

  • If the input in both the "firstname" and "lastname" fields meet the criteria, a button will enable and a username should be generated.

  • When the "sign-in-with-github" session is logged out, and the "generateUsername" button is clicked, A toast message should be displayed.

  • Feature under feature flag

Is Development Tested?

  • Yes
  • No

After Change Video

Kqjzv20NbY.mp4

Test video:

chrome_LwPlDrPZex.mp4

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 18, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: d60556d
Status: ✅  Deploy successful!
Preview URL: https://45553578.www-rds.pages.dev
Branch Preview URL: https://feature-input-validation.www-rds.pages.dev

View logs

@shubhamsinghbundela shubhamsinghbundela marked this pull request as ready for review September 18, 2023 22:48
@vinit717 vinit717 merged commit 8bc55ac into develop-ember Sep 19, 2023
@vinit717 vinit717 deleted the feature/input-validation branch September 19, 2023 12:45
@shubhamsinghbundela shubhamsinghbundela self-assigned this Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants