Remove tooltip and add modal in Identity verification flow in settings#1263
Remove tooltip and add modal in Identity verification flow in settings#1263Zishan-7 merged 3 commits intopeanut-wallet-devfrom
Conversation
Zishan-7
commented
Sep 30, 2025
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughReplaces direct navigation from the Profile "Identity Verification" item with modal-driven flows: adds local UI state to open either an "already verified" modal or an "initiate KYC" modal; new modals provide CTAs to navigate to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
src/components/Profile/index.tsx (1)
142-165: Simplify redundant responsive class.The
ctaClassNameappliesflex-colat both the base andsm:breakpoints. Since they're identical, you can simplify to justflex-col.Apply this diff:
icon="shield" - ctaClassName="flex-col sm:flex-col" + ctaClassName="flex-col" ctas={[Otherwise, the modal implementation is well-structured with clear CTAs and appropriate messaging.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/components/Profile/index.tsx(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Deploy-Preview
🔇 Additional comments (2)
src/components/Profile/index.tsx (2)
19-19: LGTM!The state declaration follows React conventions and is properly initialized.
65-71: Remove navigation-prevention suggestion. TheProfileMenuItemcomponent renders a plainCard(no<Link>) whenever anonClickprop is provided, so there’s no default navigation to cancel.Likely an incorrect or invalid review comment.
…ntity-verification-modal