From 02b7d4ae62dbcc955807ef288d0fbd313dfe23b5 Mon Sep 17 00:00:00 2001 From: tegwick Date: Wed, 18 Mar 2026 02:01:10 +0100 Subject: [PATCH] =?UTF-8?q?feat(dashboard):=20CUST-WP-0019=20=E2=80=94=20R?= =?UTF-8?q?epository=20nav=20section,=20config.js=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit T01: Restructure nav — "Repos" → collapsible "Repository" section with Repo Sync, SBOM, Debt as sub-pages; Debt moved out of Workstreams T02: workstream-dod.md migrated from inline const API to config.js import T03: todo.md suggestion filter (done in previous commit) Closes CUST-WP-0019. Resolves UI suggestion c2fc284a. Co-Authored-By: Claude Sonnet 4.6 --- state-hub/dashboard/observablehq.config.js | 15 +++++++++++---- state-hub/dashboard/src/policy/workstream-dod.md | 2 +- workplans/CUST-WP-0019-dashboard-ux-polish.md | 8 ++++---- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/state-hub/dashboard/observablehq.config.js b/state-hub/dashboard/observablehq.config.js index 50ef694..b2684c3 100644 --- a/state-hub/dashboard/observablehq.config.js +++ b/state-hub/dashboard/observablehq.config.js @@ -22,7 +22,17 @@ export default { { name: "Todo", path: "/todo" }, // ── Organizational Entity Views ─────────────────────────────────────────── { name: "Domains", path: "/domains" }, - { name: "Repos", path: "/repos" }, + { + name: "Repository", + path: "/repos", + collapsible: true, + open: false, + pages: [ + { name: "Repo Sync", path: "/repo-sync" }, + { name: "SBOM", path: "/sbom" }, + { name: "Debt", path: "/techdept" }, + ], + }, { name: "Goals", path: "/goals" }, { name: "Workstreams", @@ -33,7 +43,6 @@ export default { { name: "Decisions", path: "/decisions" }, { name: "Tasks", path: "/tasks" }, { name: "Interventions", path: "/interventions" }, - { name: "Debt", path: "/techdept" }, { name: "UI Feedback", path: "/ui-feedback" }, { name: "Extends", path: "/extensions" }, { name: "Dependencies", path: "/dependencies" }, @@ -41,8 +50,6 @@ export default { }, // ── Functional Report Views ──────────────────────────────────────────────── { name: "Contributions", path: "/contributions" }, - { name: "SBOM", path: "/sbom" }, - { name: "Repo Sync", path: "/repo-sync" }, { name: "Inbox", path: "/inbox" }, { name: "Progress", path: "/progress" }, // ── Policy ──────────────────────────────────────────────────────────────── diff --git a/state-hub/dashboard/src/policy/workstream-dod.md b/state-hub/dashboard/src/policy/workstream-dod.md index 94a8c80..ae6762f 100644 --- a/state-hub/dashboard/src/policy/workstream-dod.md +++ b/state-hub/dashboard/src/policy/workstream-dod.md @@ -3,7 +3,7 @@ title: Workstream Definition of Done --- ```js -const API = "http://127.0.0.1:8000"; +import {API} from "../components/config.js"; ``` ```js diff --git a/workplans/CUST-WP-0019-dashboard-ux-polish.md b/workplans/CUST-WP-0019-dashboard-ux-polish.md index a45d832..31cbdee 100644 --- a/workplans/CUST-WP-0019-dashboard-ux-polish.md +++ b/workplans/CUST-WP-0019-dashboard-ux-polish.md @@ -3,7 +3,7 @@ id: CUST-WP-0019 type: workplan title: "State Hub Dashboard — UX Polish" domain: custodian -status: active +status: done owner: custodian topic_slug: custodian created: "2026-03-18" @@ -32,7 +32,7 @@ by priority; each is independently deliverable. ```task id: CUST-WP-0019-T01 -status: todo +status: done priority: high state_hub_task_id: "d7f0b3db-57d3-42b3-bc2f-1d2c4b7082e5" ``` @@ -61,7 +61,7 @@ entry with a section group containing three children. Update any hardcoded ```task id: CUST-WP-0019-T02 -status: todo +status: done priority: low state_hub_task_id: "6843fa20-cea2-46ec-9c99-abaf7c561559" ``` @@ -80,7 +80,7 @@ values — leave as-is or add named exports like `POLL_SLOW = 30_000` to ```task id: CUST-WP-0019-T03 -status: todo +status: done priority: low state_hub_task_id: "4074bace-f977-4b44-bfae-c8691fca2aca" ```