shell: dashboard-composition — the production dashboard shell, every surface at its mount #125

Closed
opened 2026-07-26 22:03:36 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #22 (shell). Filed from Ben's rulings 2026-07-26 after the review sweep of 6596977..9e946b7: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now.

What to build

The dashboard stops being a component library: a production bootstrap mounts NavChrome with every feature surface delivered into its slots via the mount table, driven by a real navigator (the same intents the component tests drive today). The placeholder outlet goes away. Surfaces keep running over their existing fake clients — the transport arc swaps those out underneath later without touching composition.

Acceptance criteria

  • Given a dev run of the dashboard, when it loads, then NavChrome renders with every tab surface live at its declared mount — no placeholder.
  • Given any navigation intent a surface emits, then the production navigator routes it (the flows' cross-surface edges work by clicking, not only in tests).
  • Given the mount-table contract, composition consumes it — no surface is hand-wired outside the table.

Blocked by

None — can start immediately.

Task manifest

task: shell:dashboard-composition
implements_flow: shell
implements_edge: "DN chrome → every mount live; production navigator for all cross-surface intents"
wireframe: docs/ux/wireframes/shell/shell-dn-nav-chrome.html
interface: "a production dashboard bootstrap + navigator composing all surfaces into NavChrome via the mount table"
seam: "a composition test proving every mount-table entry renders its surface and every declared intent routes"
acceptance: "see Acceptance criteria above"
depends_on: []
out_of_scope: [real transports (transport arc), app-side shell (app:bootstrap)]
needs_human_decision: []
## Parent Feature spec: #22 (shell). Filed from Ben's rulings 2026-07-26 after the review sweep of `6596977..9e946b7`: integration-last was deliberate seam-first sequencing — now build the integration layer; and pay all standards debt now. ## What to build The dashboard stops being a component library: a production bootstrap mounts NavChrome with every feature surface delivered into its slots via the mount table, driven by a real navigator (the same intents the component tests drive today). The placeholder outlet goes away. Surfaces keep running over their existing fake clients — the transport arc swaps those out underneath later without touching composition. ## Acceptance criteria - [ ] Given a dev run of the dashboard, when it loads, then NavChrome renders with every tab surface live at its declared mount — no placeholder. - [ ] Given any navigation intent a surface emits, then the production navigator routes it (the flows' cross-surface edges work by clicking, not only in tests). - [ ] Given the mount-table contract, composition consumes it — no surface is hand-wired outside the table. ## Blocked by None — can start immediately. ## Task manifest ```yaml task: shell:dashboard-composition implements_flow: shell implements_edge: "DN chrome → every mount live; production navigator for all cross-surface intents" wireframe: docs/ux/wireframes/shell/shell-dn-nav-chrome.html interface: "a production dashboard bootstrap + navigator composing all surfaces into NavChrome via the mount table" seam: "a composition test proving every mount-table entry renders its surface and every declared intent routes" acceptance: "see Acceptance criteria above" depends_on: [] out_of_scope: [real transports (transport arc), app-side shell (app:bootstrap)] needs_human_decision: [] ```
Author
Owner

Done in b8102f0 (on origin/main).

The dashboard is now composed by bootstrapDashboard (dashboard/src/bootstrap.ts): it mounts NavChrome (via the new DashboardComposition.vue) with every mount-table tab (ADR 0094) filled by its feature surface — the chrome placeholder outlet is gone.

  • Acceptance 1 (every mount live, no placeholder): a new mountRegistry (dashboard/src/lib/mountRegistry.ts) binds one surface per MOUNT_TABLE entry (Overview/Fleet → shell, Services → monitoring, Members → members, Backups → backups, Settings → shell+provisioning). The composition iterates the table and renders each tab s surface into NavChrome s named slot; DashboardShell.vue forwards those slots to the outlet.
  • Acceptance 2 (production navigator routes every intent): ProductionDashboardNavigator (dashboard/src/lib/dashboardNavigator.ts) replaces FakeDashboardNavigator. Tab selection and chrome/surface drill-ins become a reactive selectedTab over the six tabs (alert count + monitoring chips → Services, coverage → Backups, needs-attention → Fleet, per docs/ux/flows/shell.mermaid); a drill-in into a feature with no resting tab yet (device-add, rescue, codes ledger) is recorded as a pending route, never dropped — the same discipline AppNavigator uses.
  • Acceptance 3 (composition consumes the table): the registry is keyed off MOUNT_TABLE and throws if the table declares a tab with no binding — no surface is hand-wired outside it.

Surfaces keep running over their seam-first fake clients (defaultDashboardDeps); the transport arc swaps them for real clients by passing a different DashboardDeps without moving the registry or composition.

Evidence: composition seam test dashboard/tests/unit/dashboardComposition.test.ts (14 tests) — every mount-table entry renders its live surface with no placeholder, every declared intent routes, registry complete over the table. Full run: 615 dashboard tests green, vue-tsc + eslint clean. Out of scope and untouched: real transports (transport arc), app-side shell.

Done in b8102f0 (on origin/main). The dashboard is now composed by `bootstrapDashboard` (`dashboard/src/bootstrap.ts`): it mounts NavChrome (via the new `DashboardComposition.vue`) with every mount-table tab (ADR 0094) filled by its feature surface — the chrome placeholder outlet is gone. - **Acceptance 1** (every mount live, no placeholder): a new `mountRegistry` (`dashboard/src/lib/mountRegistry.ts`) binds one surface per `MOUNT_TABLE` entry (Overview/Fleet → shell, Services → monitoring, Members → members, Backups → backups, Settings → shell+provisioning). The composition iterates the table and renders each tab s surface into NavChrome s named slot; `DashboardShell.vue` forwards those slots to the outlet. - **Acceptance 2** (production navigator routes every intent): `ProductionDashboardNavigator` (`dashboard/src/lib/dashboardNavigator.ts`) replaces `FakeDashboardNavigator`. Tab selection and chrome/surface drill-ins become a reactive `selectedTab` over the six tabs (alert count + monitoring chips → Services, coverage → Backups, needs-attention → Fleet, per `docs/ux/flows/shell.mermaid`); a drill-in into a feature with no resting tab yet (device-add, rescue, codes ledger) is recorded as a `pending` route, never dropped — the same discipline `AppNavigator` uses. - **Acceptance 3** (composition consumes the table): the registry is keyed off `MOUNT_TABLE` and throws if the table declares a tab with no binding — no surface is hand-wired outside it. Surfaces keep running over their seam-first **fake clients** (`defaultDashboardDeps`); the transport arc swaps them for real clients by passing a different `DashboardDeps` without moving the registry or composition. Evidence: composition seam test `dashboard/tests/unit/dashboardComposition.test.ts` (14 tests) — every mount-table entry renders its live surface with no placeholder, every declared intent routes, registry complete over the table. Full run: 615 dashboard tests green, `vue-tsc` + `eslint` clean. Out of scope and untouched: real transports (transport arc), app-side shell.
ben closed this issue 2026-07-27 12:13:39 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#125
No description provided.