Add email verification component
We should have a component at the top of the page on Code Corps that indicates whether your email is verified, allow you to queue an email for resending the verification, and checks for updates on whether you are verified.
This is blocked by the API right now.
Considering code-corps/code-corps-api#20 and the discussion therein, I would still consider this blocked by API, so I'll mark it as such. If someone wants to tackle the ember side of it, for now, what we need is the following.
- Assume the
usermodel will have anemailVerifiedproperty, ofbooleantype. - If this property is
false, theemail-verificationcomponent should be visible at the top.
This is how much is clear for now.
What is unclear is how exactly the component should behave. Will update as I get more information.
The component probably needs to be able to:
- trigger a resend
- if the email has hard bounced, needs to not be retryable
- ability to update the email inline