Services page: populate URL column with clickable links for _admin and _web services #12
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?
The Services page has a URL column but renders an em-dash for every row. Services whose service.toml declares a
[[binaries.sockets]]withwebui = trueandprotocol = "http"(every_adminand_webbinary in the canonical stack) have a publicly reachable URL of the formhttps://{request_host}/{service_root}/{socket_type}/, which the cockpit can compute from data it already has access to. Proposal: read each running service'sservice.toml, find any sockets withwebui = true, render the computed URL as a clickable anchor in the URL column (one URL per row; if a binary has multiple webui sockets, render them comma-separated or pick the canonical one). Clicking opens the service's own UI in a new tab, giving the tester a discoverable "open this service" affordance without having to remember the URL pattern. This pairs naturally with the install-uninstalled-services proposal: after a tester pastes a BYO AI key and installs hero_books from the catalog, the URL column immediately shows the link to/hero_books/web/so the tester can click in.