Uppercase slash-separated breadcrumb that derives from the current pathname per docs/specs/2026-04-11-nexus-layout-overhaul.md §4.2. Leaf segment in text-primary (volt), non-leaf segments in text-muted-foreground (silver). Pure function deriveBreadcrumbSegments is exported for unit testing and covers 16 route patterns plus the catch-all HOME fallback. The derivation intentionally collapses Phase 11's soon-to-be-demoted routes (issues/agents/routines/goals/approvals/costs/activity/inbox/ execution-workspaces) under the PROJECTS umbrella segment. When Phase 11 lands and those routes become /projects/:slug/<tab>, the derivation will naturally produce PROJECTS / PROJECT-SLUG without code changes. Part of Phase 8 of the Nexus layout overhaul (task 2 of 7). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adapters | ||
| api | ||
| components | ||
| context | ||
| fixtures | ||
| hooks | ||
| lib | ||
| pages | ||
| plugins | ||
| types | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||
| vite-env.d.ts | ||