Services page: surface uninstalled components with one-click Install button #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Today the cockpit's Services page lists only services hero_proc already knows about. Components that are part of the canonical demo stack but not yet started (because their dependency isn't met, e.g. hero_books needs hero_aibroker which needs a BYO AI key) are invisible from the cockpit, so a tester who pastes their AI key in Settings has no UI path to actually bring the dependent service up. Proposal: list every component from the host's
cockpit-services.toml(or the canonical 12-component array); render rows for services hero_proc doesn't know about as greyed-out with an "Install" button instead of the normal restart/stop/upgrade icons. The button shells out tolab build <repo> --download --install+lab service <name> --startserver-side (lab is already on the VM and is what setup-binaries.sh uses), polls until the service appears in hero_proc, then the row brightens in place with the full action set. No row movement, no separate "available" section — just per-row state toggle. Closes the tester-side UX gap where alice signs into her cockpit, pastes an AI key, but has no way to start hero_books from the UI.Scope expansion — full Hero service catalog, not just the auto-installed set
After live-walking the s172d demo, a sharper framing of this issue: the cockpit Services page is the platform's service catalog, period. There is no separate "store" surface to ship later. So the scope of this issue is broader than "render the 12 auto-installed components":
lab build <repo> --download --installthenlab service startserver-side, polls until the service appears in Hero Proc's service list, then the row brightens in place with the full action set.This collapses what was previously planned as a future "hero_store" catalog arc into the same Services page that already exists. No new top-level surface; the cockpit IS the catalog. The hero_store-style separate browseable marketplace concept is deferred until paid services and onboarding flows exist (a future paid-tier concern).