-
Notifications
You must be signed in to change notification settings - Fork 7
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
Feature/49 sign up verification #100
Conversation
67233ac
to
7568ea2
Compare
Co-authored-by: Sunjay Armstead <sunjay@codingzeal.com>
Co-authored-by: Sunjay Armstead <sunjay@codingzeal.com>
…ation Co-authored-by: Sunjay Armstead <sunjay@codingzeal.com>
Co-authored-by: Ryan <aarchaeopteryxx@gmail.com>
de8e740
to
b978952
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
just an aside, you can do user?.thing
now instead of user && user.thing
also, do you think it might be worthwhile to create a mapping of response errors?
const API_ERRORS = {
EXPECTED_SOMETIMES_ERROR: "Sometimes this will happen",
...
}
So that we're not matching response.error === "i didnt do something"
like this (potentially in multiple places), instead matching response.error === API_ERRORS.EXPECTED_SOMETIMES...
. I mention it cause it's bitten me in the past - I've had a few components matching the same string for response errors... Probably overkill at this time but thought i'd throw it out there since i saw that here.
@archae0pteryx |
Opened a new Issue #104 for handling the error response messages between api and web sides. |
Pull Request
Story
Fix #49
Description
Add sign up email verification
Screenshots
Affected Areas
List out the areas affected by your code change.
Tests
Describe the tests.
Was this feature tested on all browsers?
Related PRs
Add any related pull requests
Definition of Done
PR Comments Emoji Legend
😻 -
⚠️ -
:heart_cat_eyes:
Compliment to code/idea/etc♻️ -
:recycle:
Non-blocking proposed refactor➕ -
:heavy_plus_sign:
Non-blocking proposed addition🔥 -
:fire:
Non-blocking proposed removal❓ -
:question:
Non-blocking question:warning:
Blocking comment that must be addressed before PRGifs for life (required)