DashboardSupportWelcome

👤 USER DOCS

Getting Started

Daily Operations

Shift Workspace & TasksPre-Shift SetupLine-Up CardsShift ReportsForms

Staff & Locations

Staff SchedulingManaging Locations

Oversight

Manager ReportsAnalyticsPre-Shift & Compliance

Incidents & Feedback

Incident ReportingAnonymous FeedbackMessages & Announcements

AI & Settings

AI ChatgearApp Settings

Administration

Dashboard & OnboardingAdmin

⚙️ DEVELOPER DOCS

Getting Started

Getting StartedDevelopmentDeployment Guide

Architecture

Architecture OverviewData FlowArchitecture Decision Records

Core Domain

Core DomainDatabase ReferenceLocations DomainAuth & RBACScheduling DomainReports DomainIncidents DomainNotifications DomainAudit Log & OptimizationDesign Audit Findings

Frontend

Frontend ArchitectureFormsLoading SkeletonsComponentsPWA & NotificationsimageScreenshots

API Reference

API Reference

Endpoints

POS Sales APIOptimization Data APISchedule Shifts APIEmployee Export APIReports APIIncidents APIAI Chat APIPush Notifications APIWebhooks APICron API

Contributing

ContributingcodeCode Examples

Security

Security & Compliance
Danvas IconDanvas
Danvas IconDanvas

Dashboard & Onboarding

Role-based dashboards and first-time user setup

Danvas provides role-specific dashboards that surface the most relevant information for each user type, plus a guided onboarding flow for first-time users.

Role-Based Dashboards

Admin Dashboard

Admins see a comprehensive operational overview:

  • KPI Ribbon — Key metrics at a glance (open incidents, pending reports, active staff)
  • Status Cards — Quick status of each location
  • Incidents List — Recent unresolved incidents
  • Staff Table — Active staff with compliance status
  • Weekly MVP Board — Top recognized employees from hero mentions

Member Dashboard

Staff members see a focused view:

  • My Shifts — Upcoming scheduled shifts
  • Unread Announcements — New board announcements
  • Pending Tasks — Incomplete shift tasks
  • Recent Activity — Personal report history
  • Unread Pre-Shift Count — Number of pre-shift briefings not yet acknowledged

Dashboard Data Flow

Dashboards are server-side rendered with data fetched via React.cache():

App Settings

User settings and notification preferences in Danvas

Admin

User management, roles, and access control

On this page

Role-Based DashboardsAdmin DashboardMember DashboardDashboard Data FlowOnboarding FlowStep 1: Phone NumberStep 2: Job RolesSkip OptionWhat Happens on Completion
// Example: Admin dashboard fetches
const data = await getServerDashboardData({
  teamId: auth.teamId,
  userId: auth.userId,
  role: auth.role,
});

Onboarding Flow

First-time users see a guided onboarding wizard on their initial login.

Step 1: Phone Number

User enters their phone number. This is used for:

  • Push notification delivery
  • Account recovery contact

Step 2: Job Roles

User selects their job roles (e.g., Server, Cook, Manager, Bartender). Roles help with:

  • Schedule assignment filtering
  • Report type suggestions
  • Task assignment targeting

Skip Option

Users can skip the onboarding flow and complete it later from Settings. Skipped users will see the onboarding prompt on their next login until completed.

What Happens on Completion

  1. Phone number is stored in the user record
  2. Job roles are associated with the user
  3. Welcome email is queued via Resend
  4. User is redirected to their role-specific dashboard