Problem
There is no mentor portal page in the app. Mentors who click "Mentor" on the Dashboard or "Vouch for Learners" CTA are taken to /vouch which is a vouch management page, not a full mentor dashboard. The product vision requires a dedicated mentor portal with:
- Mentor profile showing own reputation score and tier
- Vouch requests list
- Active vouches list with expiry and repayment status
- Vouch impact preview
- Revoke vouch with confirmation
- Vouch risk warning
Root Cause
The mentor portal was never built. Only the vouch management sub-page exists (Vouch.tsx).
What To Build
- Create
/mentor route with mentor dashboard layout
- Add mentor profile section showing reputation, tier, and stats
- Move vouch request list from Vouch.tsx into mentor portal
- Add active vouches list with revoke functionality
- Add loading, error, and empty states for all sections
- Add auth guard to ensure only mentors can access
Files To Touch
src/router/index.tsx — add /mentor route
src/pages/MentorDashboard.tsx — new file
src/services/vouching.service.ts — ensure API calls exist
src/hooks/useMentor.ts — new hook for mentor data
Acceptance Criteria
Mandatory Checks
Problem
There is no mentor portal page in the app. Mentors who click "Mentor" on the Dashboard or "Vouch for Learners" CTA are taken to
/vouchwhich is a vouch management page, not a full mentor dashboard. The product vision requires a dedicated mentor portal with:Root Cause
The mentor portal was never built. Only the vouch management sub-page exists (Vouch.tsx).
What To Build
/mentorroute with mentor dashboard layoutFiles To Touch
src/router/index.tsx— add /mentor routesrc/pages/MentorDashboard.tsx— new filesrc/services/vouching.service.ts— ensure API calls existsrc/hooks/useMentor.ts— new hook for mentor dataAcceptance Criteria
Mandatory Checks