feat(dashboard): reorder nav — flat pages first (alpha), sections below (alpha), Reference last

Sub-pages within sections also sorted alphabetically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-18 02:06:23 +01:00
parent f0e9bb0143
commit b4e26fdc8f

View File

@@ -17,23 +17,34 @@ export default {
root: "src",
title: "Custodian State Hub",
pages: [
// ── Overview ──────────────────────────────────────────────────────────────
{ name: "Overview", path: "/" },
{ name: "Todo", path: "/todo" },
// ── Organizational Entity Views ───────────────────────────────────────────
{ name: "Domains", path: "/domains" },
// ── Pages (alphabetical) ──────────────────────────────────────────────────
{ name: "Contributions", path: "/contributions" },
{ name: "Domains", path: "/domains" },
{ name: "Goals", path: "/goals" },
{ name: "Inbox", path: "/inbox" },
{ name: "Overview", path: "/" },
{ name: "Progress", path: "/progress" },
{ name: "Todo", path: "/todo" },
// ── Sections (alphabetical) ───────────────────────────────────────────────
{
name: "Policy",
collapsible: true,
open: false,
pages: [
{ name: "Workstream DoD", path: "/policy/workstream-dod" },
],
},
{
name: "Repository",
path: "/repos",
collapsible: true,
open: false,
pages: [
{ name: "Debt", path: "/techdept" },
{ name: "Repo Sync", path: "/repo-sync" },
{ name: "SBOM", path: "/sbom" },
{ name: "Debt", path: "/techdept" },
],
},
{ name: "Goals", path: "/goals" },
{
name: "Workstreams",
path: "/workstreams",
@@ -41,27 +52,14 @@ export default {
open: false,
pages: [
{ name: "Decisions", path: "/decisions" },
{ name: "Tasks", path: "/tasks" },
{ name: "Interventions", path: "/interventions" },
{ name: "UI Feedback", path: "/ui-feedback" },
{ name: "Extends", path: "/extensions" },
{ name: "Dependencies", path: "/dependencies" },
{ name: "Extends", path: "/extensions" },
{ name: "Interventions", path: "/interventions" },
{ name: "Tasks", path: "/tasks" },
{ name: "UI Feedback", path: "/ui-feedback" },
],
},
// ── Functional Report Views ────────────────────────────────────────────────
{ name: "Contributions", path: "/contributions" },
{ name: "Inbox", path: "/inbox" },
{ name: "Progress", path: "/progress" },
// ── Policy ────────────────────────────────────────────────────────────────
{
name: "Policy",
collapsible: true,
open: true,
pages: [
{ name: "Workstream DoD", path: "/policy/workstream-dod" },
],
},
// ── Reference ─────────────────────────────────────────────────────────────
// ── Reference (always last) ───────────────────────────────────────────────
{
name: "Reference",
path: "/reference",