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

feat(signup): Error handling #1849

Merged
merged 2 commits into from
May 20, 2022
Merged

feat(signup): Error handling #1849

merged 2 commits into from
May 20, 2022

Conversation

jefflembeck
Copy link
Contributor

This covers a few different kinds of error. If the user manages to put in
incorrect or bad data, this will show. Also, if the user uses an email
that's already been used, an error will show.

This leads us to an interesting place where we need to think out how we
want to handle global (banner) vs local (in the form itself?) errors and
how we make those easy enough to get into.

For global, this PR addresses the top bar by making it a tint of red with a dark text. This catches the eye quite a bit better than our normal alert banner.

(merge #1848 first)

This covers a few different kind of error. If the user manages to put in
incorrect or bad data, this will show. Also, if the user uses an email
that's already been used, an error will show.

This leads us to an interesting place where we need to think out how we
want to handle global (banner) vs local (in the form itself?) errors and
how we make those easy enough to get into
The notification banner wasn't quite noticeable. You need something that
screams a little.

Also this commit has some cleanup in CPSignupClient where the libs being
referenced were no longer in use
@jefflembeck jefflembeck merged commit 5b64538 into master May 20, 2022
@jefflembeck jefflembeck deleted the signup-exists-fix branch May 20, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant