Dashboard Routes
The dashboard route group is the authenticated workspace for account, admin, analytics, billing, content, communications, customer, and settings workflows.
On this page
Dashboard map
| Sub-route | Feature module | What it owns |
|---|---|---|
| /dashboard | Dashboard route-private components | Main command center, quick actions, and status cards. |
| /account | features/account | Profile, avatar, notification preferences, password changes, sessions, and deletion. |
| /admin/branding | features/branding | Brand identity and public brand settings. |
| /admin/security, /admin/audit-log | features/compliance | Security overview, permission matrix, audit log, and retention operations. |
| /admin/team, /team, /team/[id] | features/team | Staff access management and public team directory. |
| /admin/waitlist | features/waitlist | Waitlist review, bulk actions, export, and conversion state. |
| /analytics/platform, /analytics/revenue | features/analytics | Platform, revenue, usage, credit, and trend dashboards. |
| /billing, /billing/history, /billing/setup, /billing/customers | features/billing | Plans, checkout, account-owned billing activity, a dedicated single-container history page, setup checks, and operator customer billing. |
| /communications, /communications/inbox, /communications/outbound/* | features/contact, features/notifications | Inbound support and outbound notification operations. |
| /content/* | features/posts | CMS lists, SEO, content editing entrypoints, and public content management. |
| /customers, /customers/[providerCustomerId] | features/customers | Customer list and provider customer detail. |
| /settings, /settings/website, /settings/seo | features/settings | Website settings, SEO defaults, localization, and operational settings. |
Dashboard shell
The dashboard shell owns authenticated layout, header, sidebar, and route composition.
Navigation
Dashboard navigation is role-aware and should point directly to feature-owned routes.
Feature delegation
Dashboard pages should delegate UI, queries, actions, and persistence to the feature module that owns the behavior.
Dashboard modification rules
- Keep page.tsx files thin.
- Add server-side guards for admin and operator-only routes.
- Update navigation and search metadata when adding or removing dashboard surfaces.
- Test role visibility with super_admin and user behavior when access changes.