feat(dashboard): CUST-WP-0019 — Repository nav section, config.js cleanup

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 <noreply@anthropic.com>
This commit is contained in:
2026-03-18 02:01:10 +01:00
parent fa70641dae
commit 02b7d4ae62
3 changed files with 16 additions and 9 deletions

View File

@@ -22,7 +22,17 @@ export default {
{ name: "Todo", path: "/todo" }, { name: "Todo", path: "/todo" },
// ── Organizational Entity Views ─────────────────────────────────────────── // ── Organizational Entity Views ───────────────────────────────────────────
{ name: "Domains", path: "/domains" }, { 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: "Goals", path: "/goals" },
{ {
name: "Workstreams", name: "Workstreams",
@@ -33,7 +43,6 @@ export default {
{ name: "Decisions", path: "/decisions" }, { name: "Decisions", path: "/decisions" },
{ name: "Tasks", path: "/tasks" }, { name: "Tasks", path: "/tasks" },
{ name: "Interventions", path: "/interventions" }, { name: "Interventions", path: "/interventions" },
{ name: "Debt", path: "/techdept" },
{ name: "UI Feedback", path: "/ui-feedback" }, { name: "UI Feedback", path: "/ui-feedback" },
{ name: "Extends", path: "/extensions" }, { name: "Extends", path: "/extensions" },
{ name: "Dependencies", path: "/dependencies" }, { name: "Dependencies", path: "/dependencies" },
@@ -41,8 +50,6 @@ export default {
}, },
// ── Functional Report Views ──────────────────────────────────────────────── // ── Functional Report Views ────────────────────────────────────────────────
{ name: "Contributions", path: "/contributions" }, { name: "Contributions", path: "/contributions" },
{ name: "SBOM", path: "/sbom" },
{ name: "Repo Sync", path: "/repo-sync" },
{ name: "Inbox", path: "/inbox" }, { name: "Inbox", path: "/inbox" },
{ name: "Progress", path: "/progress" }, { name: "Progress", path: "/progress" },
// ── Policy ──────────────────────────────────────────────────────────────── // ── Policy ────────────────────────────────────────────────────────────────

View File

@@ -3,7 +3,7 @@ title: Workstream Definition of Done
--- ---
```js ```js
const API = "http://127.0.0.1:8000"; import {API} from "../components/config.js";
``` ```
```js ```js

View File

@@ -3,7 +3,7 @@ id: CUST-WP-0019
type: workplan type: workplan
title: "State Hub Dashboard — UX Polish" title: "State Hub Dashboard — UX Polish"
domain: custodian domain: custodian
status: active status: done
owner: custodian owner: custodian
topic_slug: custodian topic_slug: custodian
created: "2026-03-18" created: "2026-03-18"
@@ -32,7 +32,7 @@ by priority; each is independently deliverable.
```task ```task
id: CUST-WP-0019-T01 id: CUST-WP-0019-T01
status: todo status: done
priority: high priority: high
state_hub_task_id: "d7f0b3db-57d3-42b3-bc2f-1d2c4b7082e5" 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 ```task
id: CUST-WP-0019-T02 id: CUST-WP-0019-T02
status: todo status: done
priority: low priority: low
state_hub_task_id: "6843fa20-cea2-46ec-9c99-abaf7c561559" 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 ```task
id: CUST-WP-0019-T03 id: CUST-WP-0019-T03
status: todo status: done
priority: low priority: low
state_hub_task_id: "4074bace-f977-4b44-bfae-c8691fca2aca" state_hub_task_id: "4074bace-f977-4b44-bfae-c8691fca2aca"
``` ```