ProjectR Docs
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

Hi, Welcome back (Web)
Screendashboard/overview

Hi, Welcome back

KPI and trend dashboard for a date window.

src/app/dashboard/overview/page.tsx

Entry

  • 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 skeletonsrc/features/overview/components/kpi-cards.tsx:302
Empty
No data in selected range · KPI cards with nothing in rangesrc/features/overview/components/kpi-cards.tsx:131
Empty
No product data · Top products list emptysrc/features/overview/components/top-products.tsx:108
Empty
No recent sales · Recent sales list emptysrc/features/overview/components/recent-sales.tsx:115
Empty
No date window · Campaign has no datessrc/features/overview/components/gamification-metrics.tsx:108
Error
Failed to load statistics · Alert with message and Try againsrc/app/dashboard/overview/error.tsx:19
Gate
Access denied for apps · All 11 overview queries need dashboardsrc/app/dashboard/overview/page.tsx:13
Gate
Recent sale link denied · Dashboard role lands on AccessDenied at the admin-only user pagesrc/features/overview/components/recent-sales.tsx:77
Edge
List limits · Recent sales, top products, Raya campaigns capped at 20src/features/overview/components/analytics-dashboard.tsx:245

On this page