Screen MapDashboard
Overview
Dashboard: every screen, state and flow in Overview.
1 screens and overlays, 9 states, 0 flows. Frames show a real screenshot where one was captured and a wireframe card where the state needs data or conditions a device run cannot produce.
Screens and states
Hi, Welcome back
Screen
dashboard/overviewHi, Welcome back
KPI and trend dashboard for a date window.
src/app/dashboard/overview/page.tsxEntry
- Sidebar Dashboard
- Post sign-in default
- AccessDenied Dashboard button
Exits
- Date range → re-query
- Top product row → /dashboard/products/id
- Recent sale row → /dashboard/users/id
- Campaign rows → campaign pages
States · 9
Loading
Page skeleton · loading.tsx plus per-chart skeletons and KPI skeleton
src/features/overview/components/kpi-cards.tsx:302Empty
No data in selected range · KPI cards with nothing in range
src/features/overview/components/kpi-cards.tsx:131Empty
No product data · Top products list empty
src/features/overview/components/top-products.tsx:108Empty
No recent sales · Recent sales list empty
src/features/overview/components/recent-sales.tsx:115Empty
No date window · Campaign has no dates
src/features/overview/components/gamification-metrics.tsx:108Error
Failed to load statistics · Alert with message and Try again
src/app/dashboard/overview/error.tsx:19Gate
Access denied for apps · All 11 overview queries need dashboard
src/app/dashboard/overview/page.tsx:13Gate
Recent sale link denied · Dashboard role lands on AccessDenied at the admin-only user page
src/features/overview/components/recent-sales.tsx:77Edge
List limits · Recent sales, top products, Raya campaigns capped at 20
src/features/overview/components/analytics-dashboard.tsx:245