catalogue: T8 — the Browse catalogue tab: two tiers, search that never dead-ends, the tile toggle #1126

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

Parent

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

What to build

P4-S2b renders the whole catalogue from the one read: category sections; search over name/product/description; RUNNING / INSTALLABLE / CANDIDATE pills; running-where lines; dashed candidate cards carrying Request where the tick would be; requested cards reading "Requested on ‹date›"; arrived cards wearing their history; the glyph/logo tile-face toggle (per-operator remembered, honoured on both tabs, glyph fallback when no curated logo); and the always-present closing Suggest something else card. No tick renders on this tab.

Acceptance criteria

  • The wireframe contract renders (p4-s2b-browse-catalogue.html): catalogue-search, tile-face states, category sections, catalogue-card data-status ∈ {installable, installable-running, arrived, candidate, requested}, request-history, suggest-something-else
  • Search matching nothing names the query, offers clear-search, keeps the Suggest card pre-filled with the miss — the tab never dead-ends
  • The toggle flips every tile at once and is remembered across sessions for this operator; a logo-less entry falls back to its glyph
  • Candidate cards are visibly not installable — no tick, no selectability, Request present; installable cards carry running-where or the plain not-yet reason
  • Copy audit: Catalogue / candidate / Mātou — never store, marketplace, app store, vote, pending

Blocked by

  • #1125 (dashboard-s2-dress)
  • #1123 (catalogue-read-route)

Task manifest

task: dashboard-browse-tab
implements_flow: p4-provisioning
implements_edge: "S2→S2b, S2b→S2"
wireframe: docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html
seam: dashboard component tests + design-verify
depends_on: [catalogue:dashboard-s2-dress, catalogue:catalogue-read-route]
out_of_scope: [the confirm/failed dialogs (T9), arrival stamping (T10)]
needs_human_decision: []
## Parent Spec #1116 (catalogue two tiers; DDR 0220 / ADR 0219). Feature #1073. Slice `dashboard-browse-tab` in docs/slices/catalogue.yaml. ## What to build P4-S2b renders the whole catalogue from the one read: category sections; search over name/product/description; RUNNING / INSTALLABLE / CANDIDATE pills; running-where lines; dashed candidate cards carrying Request where the tick would be; requested cards reading "Requested on ‹date›"; arrived cards wearing their history; the glyph/logo tile-face toggle (per-operator remembered, honoured on both tabs, glyph fallback when no curated logo); and the always-present closing Suggest something else card. No tick renders on this tab. ## Acceptance criteria - [ ] The wireframe contract renders (p4-s2b-browse-catalogue.html): catalogue-search, tile-face states, category sections, catalogue-card data-status ∈ {installable, installable-running, arrived, candidate, requested}, request-history, suggest-something-else - [ ] Search matching nothing names the query, offers clear-search, keeps the Suggest card pre-filled with the miss — the tab never dead-ends - [ ] The toggle flips every tile at once and is remembered across sessions for this operator; a logo-less entry falls back to its glyph - [ ] Candidate cards are visibly not installable — no tick, no selectability, Request present; installable cards carry running-where or the plain not-yet reason - [ ] Copy audit: Catalogue / candidate / Mātou — never store, marketplace, app store, vote, pending ## Blocked by - #1125 (dashboard-s2-dress) - #1123 (catalogue-read-route) ## Task manifest ```yaml task: dashboard-browse-tab implements_flow: p4-provisioning implements_edge: "S2→S2b, S2b→S2" wireframe: docs/ux/wireframes/p4-provisioning/p4-s2b-browse-catalogue.html seam: dashboard component tests + design-verify depends_on: [catalogue:dashboard-s2-dress, catalogue:catalogue-read-route] out_of_scope: [the confirm/failed dialogs (T9), arrival stamping (T10)] needs_human_decision: [] ```

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

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

close-report for #1126 — status success

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

envelope
{
  "issue": 1126,
  "status": "success",
  "commits": [
    "3507d1f0b95d4b64d77bd14c776491141378b3bb"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/provisioning/SelectRoleServicesScreen.vue",
    "dashboard/src/components/provisioning/SetupSurface.vue",
    "dashboard/src/lib/api/provisionClient.ts",
    "dashboard/src/lib/catalogue.ts",
    "dashboard/src/lib/provision.ts",
    "dashboard/tests/fakes/provision.ts",
    "dashboard/tests/unit/browseCatalogue.test.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run (dashboard, full suite)",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc --noEmit -p tsconfig.json (dashboard)",
      "exit_code": 0
    },
    {
      "command": "npx eslint (changed files)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "The wireframe contract renders (p4-s2b-browse-catalogue.html): catalogue-search, tile-face states, category sections, catalogue-card data-status in {installable, installable-running, arrived, candidate, requested}, request-history, suggest-something-else": "SelectRoleServicesScreen.vue Browse tab renders data-field catalogue-search / tile-face (data-status tile-face-glyphs|tile-face-logos) / category / catalogue-card (data-status installable|installable-running|arrived|candidate|requested) / request-history / suggest-something-else; pinned by browseCatalogue.test.ts 'renders the whole catalogue' + 'dresses every card status' + 'renders an arrived entry wearing its history'",
    "Search matching nothing names the query, offers clear-search, keeps the Suggest card pre-filled with the miss — the tab never dead-ends": "search-empty state names the query and offers clear-search; Suggest card stays pre-filled ('Suggest \"<q>\"' + 'your search is carried across'); pinned by browseCatalogue.test.ts 'a miss names the query...' + 'clear-search restores the whole catalogue' + 'matches over name, product and description'",
    "The toggle flips every tile at once and is remembered across sessions for this operator; a logo-less entry falls back to its glyph": "tile-face toggle lives in SelectRoleServicesScreen, persisted to localStorage (idss:catalogue:tile-face), honoured on both tabs; logo-less entry renders its glyph; pinned by browseCatalogue.test.ts 'flips every tile at once...', 'is remembered across sessions', 'is honoured on the For-this-device tab too'",
    "Candidate cards are visibly not installable — no tick, no selectability, Request present; installable cards carry running-where or the plain not-yet reason": "candidate cards are dashed plain divs (oc-pcard--cand), no tick, 'would run', Request button; installable cards carry running-where; pinned by browseCatalogue.test.ts 'makes a candidate visibly not installable' + 'names where an installable runs, or the plain not-yet reason'",
    "Copy audit: Catalogue / candidate / Mātou — never store, marketplace, app store, vote, pending": "Browse tab copy says Mātou and candidate and contains none of store/marketplace/app store/vote/pending/declined; pinned by browseCatalogue.test.ts 'copy audit'"
  },
  "summary": "Built the P4-S2b Browse catalogue tab: both tiers by category from the one catalogue read, search that never dead-ends, and the per-operator glyph/logo tile toggle honoured on both tabs.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1126 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1126, "status": "success", "commits": [ "3507d1f0b95d4b64d77bd14c776491141378b3bb" ], "changed_files": [ "STATUS.md", "dashboard/src/components/provisioning/SelectRoleServicesScreen.vue", "dashboard/src/components/provisioning/SetupSurface.vue", "dashboard/src/lib/api/provisionClient.ts", "dashboard/src/lib/catalogue.ts", "dashboard/src/lib/provision.ts", "dashboard/tests/fakes/provision.ts", "dashboard/tests/unit/browseCatalogue.test.ts" ], "tests": [ { "command": "npx vitest run (dashboard, full suite)", "exit_code": 0 }, { "command": "npx vue-tsc --noEmit -p tsconfig.json (dashboard)", "exit_code": 0 }, { "command": "npx eslint (changed files)", "exit_code": 0 } ], "criteria": { "The wireframe contract renders (p4-s2b-browse-catalogue.html): catalogue-search, tile-face states, category sections, catalogue-card data-status in {installable, installable-running, arrived, candidate, requested}, request-history, suggest-something-else": "SelectRoleServicesScreen.vue Browse tab renders data-field catalogue-search / tile-face (data-status tile-face-glyphs|tile-face-logos) / category / catalogue-card (data-status installable|installable-running|arrived|candidate|requested) / request-history / suggest-something-else; pinned by browseCatalogue.test.ts 'renders the whole catalogue' + 'dresses every card status' + 'renders an arrived entry wearing its history'", "Search matching nothing names the query, offers clear-search, keeps the Suggest card pre-filled with the miss — the tab never dead-ends": "search-empty state names the query and offers clear-search; Suggest card stays pre-filled ('Suggest \"<q>\"' + 'your search is carried across'); pinned by browseCatalogue.test.ts 'a miss names the query...' + 'clear-search restores the whole catalogue' + 'matches over name, product and description'", "The toggle flips every tile at once and is remembered across sessions for this operator; a logo-less entry falls back to its glyph": "tile-face toggle lives in SelectRoleServicesScreen, persisted to localStorage (idss:catalogue:tile-face), honoured on both tabs; logo-less entry renders its glyph; pinned by browseCatalogue.test.ts 'flips every tile at once...', 'is remembered across sessions', 'is honoured on the For-this-device tab too'", "Candidate cards are visibly not installable — no tick, no selectability, Request present; installable cards carry running-where or the plain not-yet reason": "candidate cards are dashed plain divs (oc-pcard--cand), no tick, 'would run', Request button; installable cards carry running-where; pinned by browseCatalogue.test.ts 'makes a candidate visibly not installable' + 'names where an installable runs, or the plain not-yet reason'", "Copy audit: Catalogue / candidate / Mātou — never store, marketplace, app store, vote, pending": "Browse tab copy says Mātou and candidate and contains none of store/marketplace/app store/vote/pending/declined; pinned by browseCatalogue.test.ts 'copy audit'" }, "summary": "Built the P4-S2b Browse catalogue tab: both tiers by category from the one catalogue read, search that never dead-ends, and the per-operator glyph/logo tile toggle honoured on both tabs.", "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#1126
No description provided.