-
Notifications
You must be signed in to change notification settings - Fork 8
fix: [LC-1229] Stay on verify code step even if page is refresh during email login #897
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
Conversation
|
✅ Deploy Preview for staging-learncardapp canceled.
|
✅ Deploy Preview for learncarddocs canceled.
|
|
👋 Hey there! It looks like you modified code, but didn't update the documentation in If this PR introduces new features, changes APIs, or modifies behavior that users or developers need to know about, please consider updating the docs. 🏄 Windsurf TipYou can ask Windsurf to help:
Windsurf will review your changes and suggest appropriate documentation updates based on what was modified. 📚 Documentation Guide
This is an automated reminder. If no docs are needed, feel free to ignore this message. |
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.
✨ PR Review
LGTM
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Review using Guidelines Learn how
|
🥷 Code experts: TaylorBeeston TaylorBeeston has most 👩💻 activity in the files. See details
Activity based on git-commit:
Knowledge based on git-blame:
Activity based on git-commit:
Knowledge based on git-blame: ✨ Comment |
|
@claude please review this PR and provide a recommendation on merging |
|
Claude finished @Custard7's task —— View job PR Review and AnalysisTodo List
Code ReviewChange SummaryThe PR fixes a user experience issue in the email login verification flow by making the "verify code" step persist across page refreshes. The change is minimal but effective: Before: const shouldVerifyCode = query.get('verifyCode');After: const shouldVerifyCode = Boolean(query.get('verifyCode') || verificationEmail);Analysis✅ Strengths
✅ Code Quality
✅ Architecture Alignment
VerificationThe fix logic is sound:
Looking at lines Recommendation: ✅ APPROVE FOR MERGEThis is a well-executed bug fix that:
The only note is that a changeset may be needed if this should trigger version bumps for the affected applications, but that's a process matter rather than a code quality issue. |
goblincore
left a comment
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.
@smurflo2 LGTM!
Overview
🎟 Relevant Jira Issues
LC-1229
📚 What is the context and goal of this PR?
During the login with email flow, a user reported that the flow reset back to the "enter email" step (rather than staying on the "enter code" step) when they switched to their email and back.
This PR adds more robust logic for when the "enter code" step should be shown, so it now persists even when the page/app is refreshed.
🥴 TL; RL:
Stay on this step even if page is refreshed

💡 Feature Breakdown (screenshots & videos encouraged!)
🛠 Important tradeoffs made:
🔍 Types of Changes
💳 Does This Create Any New Technical Debt? ( If yes, please describe and add JIRA TODOs )
Testing
🔬 How Can Someone QA This?
📱 🖥 Which devices would you like help testing on?
🧪 Code Coverage
Documentation
📝 Documentation Checklist
User-Facing Docs (
docs/→ docs.learncard.com)docs/tutorials/)docs/how-to-guides/)docs/sdks/)docs/core-concepts/)docs/apps/)Internal/AI Docs
Visual Documentation
- Mermaid diagram — Complex flow, state machine, or architecture
B[LearnCard] --> C[Network]