Skip to content

Build KYC status indicator#273

Closed
Godfrey-Delight wants to merge 1 commit into
Nexacore-Org:mainfrom
Godfrey-Delight:feat/kyc-status-indicator
Closed

Build KYC status indicator#273
Godfrey-Delight wants to merge 1 commit into
Nexacore-Org:mainfrom
Godfrey-Delight:feat/kyc-status-indicator

Conversation

@Godfrey-Delight

@Godfrey-Delight Godfrey-Delight commented Jun 25, 2026

Copy link
Copy Markdown

📌 Pull Request Title

Build KYC status indicator

📋 Description

Updated UserProfile in lib/api/users.ts to include kycStatus, created components/dashboard/kyc-status-banner.tsx (fetches profile, shows amber warning + "Verify Now" CTA for unverified users, dismissible per session via localStorage, hidden for verified users), created components/dashboard/settings/kyc-section.tsx (green badge + "Your identity has been verified" for verified, red badge + "Verification required" + "Start Verification" button for unverified), and wired both into the dashboard page and the identity verification tab in settings, respectively.

🛠 Changes Implemented

  • List key changes made in this PR.
  • Mention any dependencies or external updates.

✅ How to Test

  1. Go to /dashboard as an unverified user, verify the amber KYC banner appears at the top with "Verify Now" button, then dismiss it and confirm it's hidden (won't reappear until next session)
  2. Go to /settings, click "Identity Verification" tab, verify the KYC section shows a red "Unverified" badge with "Start Verification" button; if already verified, it shows a green "Verified" badge
  3. Expect: both components read kycStatus from GET /users/profile. Banner hides for verified users and shows for unverified, the settings section reflects the correct status with matching badge/message/CTA

🔍 Screenshots (if applicable)

Attach screenshots or GIFs to show visual changes.

🚀 Checklist

  • Code follows project style guidelines.
  • Changes are tested and verified.
  • Documentation is updated (if needed).

🔗 Related Issues

updated UserProfile in lib/api/users.ts to include kycStatus, created components/dashboard/kyc-status-banner.tsx (fetches profile, shows amber warning + "Verify Now" CTA for unverified users, dismissible per session via localStorage, hidden for verified users), created components/dashboard/settings/kyc-section.tsx (green badge + "Your identity has been verified" for verified, red badge + "Verification required" + "Start Verification" button for unverified), and wired both into the dashboard page and the identity verification tab in settings respectively.
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@Godfrey-Delight is attempting to deploy a commit to the Emmanuel Dorcas' projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 25, 2026

Copy link
Copy Markdown

@Godfrey-Delight Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@portableDD

Copy link
Copy Markdown
Contributor

@Godfrey-Delight please your pr should target v2 and not main please fix

@Godfrey-Delight Godfrey-Delight closed this by deleting the head repository Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[V2 200pts] Build the KYC status indicator on the dashboard and settings page

2 participants