Route Map

Every public and authenticated route with path helpers.

Canonical paths are defined in src/lib/routes.ts. Always use these helpers instead of hardcoding strings.

Public routes

RouteDescription
/Landing page
/loginSign in
/auth/callbackOAuth code exchange
/share/[token]Public share links
/docs/*Documentation

Hub routes

RouteDescription
/projectsProject grid
/projects/[id]Project home (files, initiatives)
/projects/[id]/boards/[boardId]Review board
/projects/[id]/canvas/[canvasId]Ideas canvas (full-bleed)
/projects/[id]/docs/[docId]Text document (Monaco)
/projects/[id]/i/[init]/a/[asset]Asset deep link
/tasks/todayTasks — Today view
/tasks/upcomingTasks — Upcoming
/tasks/inboxTasks — Inbox
/tasks/labels/[slug]Tasks by label
/for-youInbox triage feed
Projects grid in the hub
/projects — authenticated hub home

Route helpers

ts
import {
  projectPath,
  reviewBoardPath,
  canvasPath,
  textDocumentPath,
  forYouLensPath,
  taskDeepLinkPath,
} from "@/lib/routes";