From b4e26fdc8fc0b8980d8162a2f5f56d4ab4a654e6 Mon Sep 17 00:00:00 2001 From: tegwick Date: Wed, 18 Mar 2026 02:06:23 +0100 Subject: [PATCH] =?UTF-8?q?feat(dashboard):=20reorder=20nav=20=E2=80=94=20?= =?UTF-8?q?flat=20pages=20first=20(alpha),=20sections=20below=20(alpha),?= =?UTF-8?q?=20Reference=20last?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sub-pages within sections also sorted alphabetically. Co-Authored-By: Claude Sonnet 4.6 --- dashboard/observablehq.config.js | 48 +++++++++++++++----------------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/dashboard/observablehq.config.js b/dashboard/observablehq.config.js index b2684c3..92f4ce5 100644 --- a/dashboard/observablehq.config.js +++ b/dashboard/observablehq.config.js @@ -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",