catalogue: T7 — S2 wears the dress: tab strip, tiles, one-liners, categories — gating untouched #1125

Closed
opened 2026-09-01 20:50:09 +00:00 by ben · 2 comments
Owner

Parent

Spec #1116 (catalogue two tiers; DDR 0220 / ADR 0219). Feature #1073. Slice dashboard-s2-dress in docs/slices/catalogue.yaml.

What to build

The P4-S2 Select screen grows the two-tab strip (For this device · Browse catalogue; ticks kept across switches) and the For-this-device dress: glyph tile, one-line description, AVAILABLE grouped under category headings (absent when empty), RECOMMENDED ungrouped. Display facts join the catalogue read by slug; the assessment wire contract and every gating rule (DDR 0146, #411/#413, accent flood, gated-reason-in-device-numbers) are byte-for-byte untouched. Installable tier only — no candidate ever renders on this tab.

Acceptance criteria

  • The wireframe contract renders: catalogue-tabs with tab-for-this-device active (data-status=tab-active), per-card tile + description, category headings — every pre-existing data-field/data-action/data-status still present (design-verify green on the amended p4-s2 file)
  • Switching tabs and back preserves selection exactly; Review impact reachable throughout
  • A category with nothing available does not render; RECOMMENDED order (gap-fill) unchanged
  • Selected/gated/dependency-gated card states render as before — existing picker component tests re-run green
  • The catalogue read failing degrades to the undressed picker (names + fit lines) — never a blocked deploy path

Blocked by

  • #1123 (catalogue-read-route)

Task manifest

task: dashboard-s2-dress
implements_flow: p4-provisioning
implements_edge: "S2 (amended frames)"
wireframe: docs/ux/wireframes/p4-provisioning/p4-s2-select-role-and-services.html
seam: dashboard component tests (P4 picker prior art) + design-verify
depends_on: [catalogue:catalogue-read-route]
out_of_scope: [the Browse tab content (T8), tile-face toggle (T8 ships it; this tab honours it)]
needs_human_decision: []
## Parent Spec #1116 (catalogue two tiers; DDR 0220 / ADR 0219). Feature #1073. Slice `dashboard-s2-dress` in docs/slices/catalogue.yaml. ## What to build The P4-S2 Select screen grows the two-tab strip (For this device · Browse catalogue; ticks kept across switches) and the For-this-device dress: glyph tile, one-line description, AVAILABLE grouped under category headings (absent when empty), RECOMMENDED ungrouped. Display facts join the catalogue read by slug; the assessment wire contract and every gating rule (DDR 0146, #411/#413, accent flood, gated-reason-in-device-numbers) are byte-for-byte untouched. Installable tier only — no candidate ever renders on this tab. ## Acceptance criteria - [ ] The wireframe contract renders: catalogue-tabs with tab-for-this-device active (data-status=tab-active), per-card tile + description, category headings — every pre-existing data-field/data-action/data-status still present (design-verify green on the amended p4-s2 file) - [ ] Switching tabs and back preserves selection exactly; Review impact reachable throughout - [ ] A category with nothing available does not render; RECOMMENDED order (gap-fill) unchanged - [ ] Selected/gated/dependency-gated card states render as before — existing picker component tests re-run green - [ ] The catalogue read failing degrades to the undressed picker (names + fit lines) — never a blocked deploy path ## Blocked by - #1123 (catalogue-read-route) ## Task manifest ```yaml task: dashboard-s2-dress implements_flow: p4-provisioning implements_edge: "S2 (amended frames)" wireframe: docs/ux/wireframes/p4-provisioning/p4-s2-select-role-and-services.html seam: dashboard component tests (P4 picker prior art) + design-verify depends_on: [catalogue:catalogue-read-route] out_of_scope: [the Browse tab content (T8), tile-face toggle (T8 ships it; this tab honours it)] needs_human_decision: [] ```

swarm-claim host=matou-dev-server-01 run=16126
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=16126 (automated multi-host claim — lowest live claim id works this ticket)
matou-build-agent 2026-09-02 00:08:34 +00:00

close-report for #1125 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1125,
  "status": "success",
  "commits": [
    "40f54ba1a81a7588b0314bc3a62dd340b3e4d2ba"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/provisioning/SelectRoleServicesScreen.vue",
    "dashboard/src/components/provisioning/SetupSurface.vue",
    "dashboard/src/lib/api/generated.ts",
    "dashboard/src/lib/api/provisionClient.ts",
    "dashboard/src/lib/provision.ts",
    "dashboard/tests/fakes/provision.ts",
    "dashboard/tests/unit/provisionCatalogueDress.test.ts",
    "docs/ux/wireframes/p4-provisioning/p4-s2-select-role-and-services.html",
    "packages/openapi-spec/openapi.yaml"
  ],
  "tests": [
    {
      "command": "CI=true pnpm --dir dashboard vitest run",
      "exit_code": 0
    },
    {
      "command": "CI=true npx vue-tsc -p dashboard/tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "CI=true npx eslint dashboard/src/components/provisioning/SelectRoleServicesScreen.vue dashboard/src/components/provisioning/SetupSurface.vue dashboard/src/lib/provision.ts dashboard/src/lib/api/provisionClient.ts dashboard/tests/fakes/provision.ts dashboard/tests/unit/provisionCatalogueDress.test.ts",
      "exit_code": 0
    },
    {
      "command": "node packages/openapi-spec/scripts/generate-client.mjs --check",
      "exit_code": 0
    },
    {
      "command": "CI=true pnpm --dir packages/openapi-spec vitest run",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The wireframe contract renders: catalogue-tabs with tab-for-this-device active (data-status=tab-active), per-card tile + description, category headings — every pre-existing data-field/data-action/data-status still present (design-verify green on the amended p4-s2 file)": "SelectRoleServicesScreen.vue renders data-field=catalogue-tabs (tab-for-this-device active with data-status=tab-active, tab-browse-catalogue), per-card data-field=tile + data-field=description, and data-field=category headings; all pre-existing service-card/selected/unselected/gated/closes/reason/role/headroom/review-impact/remove-device tokens preserved. The p4-s2 wireframe is amended in place to carry the new contract. Pinned by provisionCatalogueDress.test.ts (tab strip + tiles + categories) and provisionSetup.test.ts re-running green.",
    "Switching tabs and back preserves selection exactly; Review impact reachable throughout": "Tab switch is pure component state (selected ref persists, component never unmounts); provisionCatalogueDress.test.ts 'switching tabs and back preserves the operator selection exactly' toggles chat on, switches to Browse and back, asserts files+chat still selected; 'keeps Review impact reachable from either tab' clicks review-impact from the Browse tab and asserts the choice hands over.",
    "A category with nothing available does not render; RECOMMENDED order (gap-fill) unchanged": "availableGroups filters by taxonomy category and only pushes non-empty sections; provisionCatalogueDress.test.ts asserts headings == ['Work together','Reach people','Build','Foundations'] (Protect absent — nothing available) in CATEGORY_ORDER, and that RECOMMENDED stays ungrouped (no category heading inside it); recommended ordering untouched.",
    "Selected/gated/dependency-gated card states render as before — existing picker component tests re-run green": "No selected/unselected/gated data-status or oc-card--sel/oc-card--gated logic changed; provisionSetup.test.ts (16 tests, incl. accent-flood, advice-never-veto, gateway headroom, role re-filter) re-runs green in the full dashboard vitest (1360 passed).",
    "The catalogue read failing degrades to the undressed picker (names + fit lines) — never a blocked deploy path": "catalogueDisplay() is fetched best-effort OUTSIDE the async guard in SetupSurface; a failure leaves catalogueDisplay=[] so cards render without tiles/descriptions and AVAILABLE is one ungrouped list. provisionCatalogueDress.test.ts 'the catalogue read failing degrades to the undressed picker' uses failCatalogueDisplay() and asserts no tile/description/category, names + fit lines present, and review-impact still reachable."
  },
  "summary": "P4-S2's For-this-device tab wears the catalogue dress — two-tab strip, per-card glyph tile + one-liner joined by slug, AVAILABLE grouped by category — with every gating rule byte-for-byte untouched and a fail-safe degrade to the undressed picker.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1125 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1125, "status": "success", "commits": [ "40f54ba1a81a7588b0314bc3a62dd340b3e4d2ba" ], "changed_files": [ "STATUS.md", "dashboard/src/components/provisioning/SelectRoleServicesScreen.vue", "dashboard/src/components/provisioning/SetupSurface.vue", "dashboard/src/lib/api/generated.ts", "dashboard/src/lib/api/provisionClient.ts", "dashboard/src/lib/provision.ts", "dashboard/tests/fakes/provision.ts", "dashboard/tests/unit/provisionCatalogueDress.test.ts", "docs/ux/wireframes/p4-provisioning/p4-s2-select-role-and-services.html", "packages/openapi-spec/openapi.yaml" ], "tests": [ { "command": "CI=true pnpm --dir dashboard vitest run", "exit_code": 0 }, { "command": "CI=true npx vue-tsc -p dashboard/tsconfig.json --noEmit", "exit_code": 0 }, { "command": "CI=true npx eslint dashboard/src/components/provisioning/SelectRoleServicesScreen.vue dashboard/src/components/provisioning/SetupSurface.vue dashboard/src/lib/provision.ts dashboard/src/lib/api/provisionClient.ts dashboard/tests/fakes/provision.ts dashboard/tests/unit/provisionCatalogueDress.test.ts", "exit_code": 0 }, { "command": "node packages/openapi-spec/scripts/generate-client.mjs --check", "exit_code": 0 }, { "command": "CI=true pnpm --dir packages/openapi-spec vitest run", "exit_code": 0 } ], "criteria": { "The wireframe contract renders: catalogue-tabs with tab-for-this-device active (data-status=tab-active), per-card tile + description, category headings — every pre-existing data-field/data-action/data-status still present (design-verify green on the amended p4-s2 file)": "SelectRoleServicesScreen.vue renders data-field=catalogue-tabs (tab-for-this-device active with data-status=tab-active, tab-browse-catalogue), per-card data-field=tile + data-field=description, and data-field=category headings; all pre-existing service-card/selected/unselected/gated/closes/reason/role/headroom/review-impact/remove-device tokens preserved. The p4-s2 wireframe is amended in place to carry the new contract. Pinned by provisionCatalogueDress.test.ts (tab strip + tiles + categories) and provisionSetup.test.ts re-running green.", "Switching tabs and back preserves selection exactly; Review impact reachable throughout": "Tab switch is pure component state (selected ref persists, component never unmounts); provisionCatalogueDress.test.ts 'switching tabs and back preserves the operator selection exactly' toggles chat on, switches to Browse and back, asserts files+chat still selected; 'keeps Review impact reachable from either tab' clicks review-impact from the Browse tab and asserts the choice hands over.", "A category with nothing available does not render; RECOMMENDED order (gap-fill) unchanged": "availableGroups filters by taxonomy category and only pushes non-empty sections; provisionCatalogueDress.test.ts asserts headings == ['Work together','Reach people','Build','Foundations'] (Protect absent — nothing available) in CATEGORY_ORDER, and that RECOMMENDED stays ungrouped (no category heading inside it); recommended ordering untouched.", "Selected/gated/dependency-gated card states render as before — existing picker component tests re-run green": "No selected/unselected/gated data-status or oc-card--sel/oc-card--gated logic changed; provisionSetup.test.ts (16 tests, incl. accent-flood, advice-never-veto, gateway headroom, role re-filter) re-runs green in the full dashboard vitest (1360 passed).", "The catalogue read failing degrades to the undressed picker (names + fit lines) — never a blocked deploy path": "catalogueDisplay() is fetched best-effort OUTSIDE the async guard in SetupSurface; a failure leaves catalogueDisplay=[] so cards render without tiles/descriptions and AVAILABLE is one ungrouped list. provisionCatalogueDress.test.ts 'the catalogue read failing degrades to the undressed picker' uses failCatalogueDisplay() and asserts no tile/description/category, names + fit lines present, and review-impact still reachable." }, "summary": "P4-S2's For-this-device tab wears the catalogue dress — two-tab strip, per-card glyph tile + one-liner joined by slug, AVAILABLE grouped by category — with every gating rule byte-for-byte untouched and a fail-safe degrade to the undressed picker.", "reason": "", "blockers": [], "no_code_change": "" } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#1125
No description provided.