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

Error message on welcome page #77

Closed
4 tasks done
gretaivan opened this issue Apr 28, 2021 · 0 comments
Closed
4 tasks done

Error message on welcome page #77

gretaivan opened this issue Apr 28, 2021 · 0 comments
Projects

Comments

@gretaivan
Copy link
Collaborator

gretaivan commented Apr 28, 2021

In welcome page file, use the error/setError state

  • add conditional error rendering on the page: when error is not empty display it for the user under the input boxes or buttons
  • change the handleCreate alert box to setError with alert message. (apprx line 62 and 64)
  • change handleJoin alert (apprx line88) to set error too
  • check that line 78 error setError(res.message); is also rendered when existing room name is created
@gretaivan gretaivan created this issue from a note in Quizzical (To do) Apr 28, 2021
@Sem-the-dev Sem-the-dev moved this from To do to In progress in Quizzical Apr 29, 2021
@Sem-the-dev Sem-the-dev moved this from In progress to To do in Quizzical Apr 29, 2021
Quizzical automation moved this from To do to Done Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant