feat(onboarding): add email verification code UI#3052
Open
baktun14 wants to merge 2 commits intofeat/auth0-verification-backendfrom
Open
feat(onboarding): add email verification code UI#3052baktun14 wants to merge 2 commits intofeat/auth0-verification-backendfrom
baktun14 wants to merge 2 commits intofeat/auth0-verification-backendfrom
Conversation
…to-advance Implement 6-digit code input with OTP autofill, cooldown timer for resend, auto-advance on verification success, and toast notifications for errors. Extracts VerificationCodeInput component and simplifies EmailVerificationContainer/Step separation.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Remove redundant refs (cooldownRef, isSendingRef) that duplicated state, fix resend button showing "Verifying..." label, remove dead user.id guard, and inject redirect as dependency to simplify VerifyEmailPage tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Part of CON-197 — Replace Auth0's default email verification link with a 6-digit code flow.
This is PR 2 of 2 — frontend only. Split from #2824 to make review manageable.
Depends on PR 1 (backend): #3051
What
VerificationCodeInput: 6-digit OTP input with autofill support (extracted per review feedback)EmailVerificationStep: code entry UI with cooldown timer and resendEmailVerificationContainer: lean container orchestrating send/verify/resend (UI concerns moved to view per review feedback)VerifyEmailPage: updated to use new code-based verificationSessionService: simplified to remove legacy verification logicuseEmailVerificationRequiredEventHandler: updated for code-based flow13 files changed (~670 additions, ~465 deletions)