catalogue wire: url and floorMet are painted but never sent; brand_line is sent but missing from openapi; two logo marks are duplicates #1436

Closed
opened 2026-09-12 15:03:50 +00:00 by ben · 1 comment
Owner

Parent

Control-panel UI pass (Ben, 2026-09-10 → 09-12, commit 078cd5b3 on founding-ui-two-colour-rail-ceremony, merged to main 2026-09-12). Filed from the end-of-pass review (#1399 sweep): every place the shipped UI shows or implies something the product does not do yet. Browser harness: cd dashboard && pnpm harness → http://localhost:5198/panel.html?scenario=steady&tab=<tab>.

Gap

  • dashboard/src/components/shell/ServiceCards.vue:74-80 renders card.url as the service's door link; catalogue.ts:35, 63 declare url? and floorMet?. InstallableEntry on the Go side (controlapi/catalogue.go:67-108, openapi ~:7579-7650) has NEITHER, and catalogueBrowse is a blind camelize (provisionClient.ts:267-269). Live: no service card ever shows its link, and the catalogue's Install / Unavailable gate (DDR 0225) is silently absent because floorMet is always undefined.
  • brand_line IS on the Go wire and in the UI but is missing from openapi — a regen of the client drops it (spec drift).
  • Logos (dashboard/src/assets/service-logos/*.svg) are real Simple Icons marks, but front-door.svg == static-sites.svg (Caddy) and calendar.svg == files.svg (Nextcloud) — two services wearing one face; and the wire's logo asset ref (openapi ~:7610, catalogue.go:75) is ignored in favour of the local glob (serviceLogos.ts:23-31), so a community's own service logo never shows.

What to do

  • openapi + Go: add url (the service's public door, from the same render the Portal uses), floor_met (bool, from the assess floor check the setup journey already runs), and brand_line to InstallableEntry; regen.
  • serviceLogos.ts: prefer the wire's logo ref when present, fall back to the local mark; give calendar and static-sites distinct marks (or the product's own mark).
  • browseCatalogue/services unit tests assert the link and the gate from the wire, and the live test asserts url resolves to the rendered front door.

Acceptance criteria

  • Given a running files service, then its Overview card links to the community's files URL from the wire.
  • Given a not-yet-running service no device can host, then the catalogue reads Unavailable with the missing floor named; given one a device can host, then Install shows.
  • pnpm -C dashboard exec openapi-typescript regen leaves brandLine in the generated types.
## Parent Control-panel UI pass (Ben, 2026-09-10 → 09-12, commit `078cd5b3` on `founding-ui-two-colour-rail-ceremony`, merged to main 2026-09-12). Filed from the end-of-pass review (#1399 sweep): every place the shipped UI shows or implies something the product does not do yet. Browser harness: `cd dashboard && pnpm harness` → `http://localhost:5198/panel.html?scenario=steady&tab=<tab>`. ## Gap - `dashboard/src/components/shell/ServiceCards.vue:74-80` renders `card.url` as the service's door link; `catalogue.ts:35, 63` declare `url?` and `floorMet?`. `InstallableEntry` on the Go side (`controlapi/catalogue.go:67-108`, openapi ~:7579-7650) has NEITHER, and `catalogueBrowse` is a blind camelize (`provisionClient.ts:267-269`). Live: no service card ever shows its link, and the catalogue's Install / Unavailable gate (DDR 0225) is silently absent because `floorMet` is always undefined. - `brand_line` IS on the Go wire and in the UI but is missing from openapi — a regen of the client drops it (spec drift). - Logos (`dashboard/src/assets/service-logos/*.svg`) are real Simple Icons marks, but `front-door.svg == static-sites.svg` (Caddy) and `calendar.svg == files.svg` (Nextcloud) — two services wearing one face; and the wire's `logo` asset ref (openapi ~:7610, `catalogue.go:75`) is ignored in favour of the local glob (`serviceLogos.ts:23-31`), so a community's own service logo never shows. ## What to do - openapi + Go: add `url` (the service's public door, from the same render the Portal uses), `floor_met` (bool, from the assess floor check the setup journey already runs), and `brand_line` to `InstallableEntry`; regen. - `serviceLogos.ts`: prefer the wire's `logo` ref when present, fall back to the local mark; give calendar and static-sites distinct marks (or the product's own mark). - `browseCatalogue`/`services` unit tests assert the link and the gate from the wire, and the live test asserts `url` resolves to the rendered front door. ## Acceptance criteria - [ ] Given a running files service, then its Overview card links to the community's files URL from the wire. - [ ] Given a not-yet-running service no device can host, then the catalogue reads Unavailable with the missing floor named; given one a device can host, then Install shows. - [ ] `pnpm -C dashboard exec openapi-typescript` regen leaves `brandLine` in the generated types.

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

swarm-claim host=matou-dev-server-01 run=22579 (automated multi-host claim — lowest live claim id works this ticket)
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.

Dependencies

No dependencies set.

Reference
Matou/idss#1436
No description provided.