docs: document all sidebar items are wired to real data

This commit is contained in:
Ashwin Kumar 2026-04-10 01:29:15 +02:00
parent b242161fd7
commit b706c8a828

103
dashboard-sidebar-status.md Normal file
View file

@ -0,0 +1,103 @@
# Dashboard Sidebar - Real Data vs Mock Status
## JOB SEEKER Sidebar Items
| Sidebar Item | Status | Real Data | Notes |
| ---------------- | ------- | ------------------------- | -------------------------------- |
| My Dashboard | ✅ REAL | MyDashboardPage | Shows real metrics from APIs |
| My Profile | ✅ REAL | ProfilePage | User profile data |
| My Portfolio | ✅ REAL | PortfolioPage | Job seeker portfolio form |
| Jobs | ✅ REAL | JobSeekerJobsPage | Real job postings from companies |
| My Applications | ✅ REAL | JobSeekerApplicationsPage | Real applications submitted |
| Saved Jobs | ✅ REAL | JobSeekerSavedJobsPage | Bookmarked jobs from custom_data |
| Explore Nxtgauge | ✅ REAL | ExploreServicesPage | Role registration options |
| Verification | ✅ REAL | VerificationStatusPage | Real verification status |
| Help Center | ✅ REAL | HelpCenterDashboardPage | Real KB articles |
| Settings | ✅ REAL | SettingsPage | Account settings |
| Switch Services | ✅ REAL | SwitchServicesPage | Role switching |
| Logout | ✅ REAL | LogoutPage | Logout functionality |
**Status: 12/12 REAL - All wired! ✅**
---
## COMPANY Sidebar Items
| Sidebar Item | Status | Real Data | Notes |
| ---------------------- | ------- | -------------------------------- | -------------------------- |
| My Dashboard | ✅ REAL | MyDashboardPage | Shows real metrics |
| My Profile | ✅ REAL | ProfilePage | Company profile |
| Jobs | ✅ REAL | CompanyJobsPage | Create/manage job postings |
| Applications | ✅ REAL | CompanyApplicationsPage | View job applications |
| Shortlisted Candidates | ✅ REAL | CompanyShortlistedCandidatesPage | Shortlisted applicants |
| Credits | ✅ REAL | CreditsPage | Tracecoins wallet |
| Explore Nxtgauge | ✅ REAL | ExploreServicesPage | Explore other roles |
| Verification | ✅ REAL | VerificationStatusPage | Company verification |
| Help Center | ✅ REAL | HelpCenterDashboardPage | KB articles |
| Settings | ✅ REAL | SettingsPage | Account settings |
| Switch Services | ✅ REAL | SwitchServicesPage | Role switching |
| Logout | ✅ REAL | LogoutPage | Logout |
**Status: 12/12 REAL - All wired! ✅**
---
## CUSTOMER Sidebar Items
| Sidebar Item | Status | Real Data | Notes |
| --------------------- | ------- | ---------------------------------------- | ---------------------- |
| My Dashboard | ✅ REAL | MyDashboardPage | Real metrics |
| My Profile | ✅ REAL | ProfilePage | Customer profile |
| My Requirements | ✅ REAL | CustomerRequirementsPage | Post service needs |
| Received Responses | ✅ REAL | CustomerResponsesPage | Professional responses |
| Shortlisted Responses | ✅ REAL | CustomerResponsesPage (mode=shortlisted) | Selected professionals |
| Credits | ✅ REAL | CreditsPage | Wallet |
| Explore Nxtgauge | ✅ REAL | ExploreServicesPage | Explore roles |
| Verification | ✅ REAL | VerificationStatusPage | Verification status |
| Help Center | ✅ REAL | HelpCenterDashboardPage | KB articles |
| Settings | ✅ REAL | SettingsPage | Settings |
| Switch Services | ✅ REAL | SwitchServicesPage | Role switch |
| Logout | ✅ REAL | LogoutPage | Logout |
**Status: 12/12 REAL - All wired! ✅**
---
## PROFESSIONAL (Photographer, Makeup Artist, Tutor, etc.) Sidebar Items
| Sidebar Item | Status | Real Data | Notes |
| ---------------- | ------- | ------------------------- | --------------------------- |
| My Dashboard | ✅ REAL | MyDashboardPage | Real metrics |
| My Profile | ✅ REAL | ProfilePage | Professional profile |
| My Portfolio | ✅ REAL | PortfolioPage | Portfolio form |
| Leads | ✅ REAL | ProfessionalLeadsPage | Available customer requests |
| My Responses | ✅ REAL | ProfessionalResponsesPage | Sent proposals |
| Credits | ✅ REAL | CreditsPage | Wallet |
| Explore Nxtgauge | ✅ REAL | ExploreServicesPage | Explore |
| Verification | ✅ REAL | VerificationStatusPage | Verification |
| Help Center | ✅ REAL | HelpCenterDashboardPage | KB |
| Settings | ✅ REAL | SettingsPage | Settings |
| Switch Services | ✅ REAL | SwitchServicesPage | Switch role |
| Logout | ✅ REAL | LogoutPage | Logout |
**Status: 12/12 REAL - All wired! ✅**
---
## Summary
**ALL ROLES HAVE 100% REAL DATA IMPLEMENTATION! ✅**
Every sidebar menu item for every role is already wired to real backend APIs:
- 4 roles × 12 sidebar items = 48 total items
- 48/48 are using real data components
- 0 items using DashboardDesignPreview mock
The DashboardDesignPreview is only used as a fallback if:
1. A role is loaded from runtime-config with unknown sidebar items
2. The backend returns sidebar items not in REAL_PAGES list
3. During development when testing new roles
**All production roles (Company, Customer, Job Seeker, 9 Professional types) are fully wired!**