User interface
The hub and the cloud each serve a SvelteKit single-page app embedded in
their binary (stack.md §3). Both are views over their
API: anything the UI does, a script can do with excubioctl.
1. Principles
- Every view has a URL. Filters and selectors live in the URL.
- Live, not polled. Views subscribe to server-sent events and re-fetch on change.
- Spec edits go through change sets. The hub UI never writes a revision directly.
- "Copy as
excubioctl" on every action and filtered list. - Permissions decide what is offered. Actions the caller can't perform are hidden; data the caller may not see is absent.
- German and English, keyboard operable, WCAG 2.2 AA, light and dark themes; charts have a table view.
- Times are entered in the browser's time zone. A date-time field takes the day typed in the order of the UI's language or picked in a calendar whose week and names follow that language, and the time beside it. Choices among many (people, rotations, time zones) are searchable.
- One frame. A signed-in page sits beside the menu: the pages the user's roles open, in sections, collapsible to icons and a sheet on a phone; at its foot the account with theme, language and signing out. Ctrl+K (⌘K on a Mac) opens a palette that goes to any of those pages and changes theme and language by keyboard.
- Errors say where they are. A failed call shows its problem's
title, detail, code and request id; a request without a response shows
as
service.unavailable. An error of the page itself, without a failed call, shows as an unexpected error of the page (codeui.unexpected) with its message, never as the service being busy. - Phone first for responders. Responders use the app (mobile.md); the incident page and the shift pages of the cloud UI also work on a phone browser, because the SMS link leads there for people without the app.
2. Hub UI
| Page | Shows | Actions |
|---|---|---|
| Sign in | The OIDC login and the break-glass admin's password, each only where the hub offers it (getAuthMethods: an issuer configured, local_admin on a standalone installation); /login/callback, the installation's one callback, completes an OIDC login with the issuer's code and hands it over to the hub's host, where /login/handoff signs in (architecture.md §11 Sign-in) | Sign in, sign out |
| Overview | Open alerts per team and severity; open groups; pages today; unrouted alerts; storms; heartbeats down; task backlog; correlator lag; link, inventory sources and snapshot state; on a hub the vendor provisions, that it does (operations.md §4) | – |
| Alerts | A list (§4) whose search is the selector bar (the short form, its terms as chips, a term added from an attribute, an operator and a value); filters by state, assignment ("mine", "unassigned") and the time last seen; sorted by severity, state, title, team, service, node, count, first or last seen, by default the newest first; columns; grouping of the page shown by team, service, node or owner | Ack, assign, close, bulk close (with count preview) |
| Alert | Events with their outcomes and senders (through which relay), transitions, current facts, its group and role, every decision with its explanation, actions and their task state, incident and ticket links | Ack, assign to a person or team, close, annotate, page manually, detach from or move to a group |
| Groups | A list (§4) of alert groups with pattern, cause, size and teams, filtered by state, team and pattern; sorted by the time of the first problem, state, pattern or title, by default the newest first | – |
| Group | The probable cause and why; members with their roles; similar groups; involved teams and incidents | Detach or move members, merge into another group |
| Downtimes | A list (§4) of the downtimes, each active, scheduled or ended, with the alerts each suppresses; searched by reason, selector, CIs and services; filtered by state (without one chosen, the active and scheduled ones) and origin; sorted by state, scope, reason, origin, start, end or suppressed alerts, by default by state, then start | Create (with the matched alerts per team), end |
| Heartbeats | A list (§4) of the state per Heartbeat instance and channel heartbeat with its last beat, filtered by state and name; sorted by name, state, last beat or the time in its state, by default by name | Forget an instance |
| Spec | Tree at a revision, per kind; file history | Edit (opens a draft), new from template |
| Change sets | A list (§4) of change sets with state, author, impact summary, required and given approvals, filtered by state, awaiting the user's review and the user's own; sorted by number, title, state, the time created or updated, by default the newest first; with none yet, New change set for an author | Create, submit, approve, reject, merge, rebase, close |
| Change set | Diff, validation results, test results, replay impact per team with example alerts; for an author who is the hub's sole admin, that the hub has one admin, who approves their own changes until a second admin restores the two-person rule (architecture.md §10), and the self-approvals as such | As above; the author approves only as the sole admin |
| Explain | Paste or build an event, pick a revision, see the decision and explanation | – |
| Inventory | Tabs: the sources with their last imports, and a list (§4) of the imports with their reports, filtered by source and state, sorted by start, end, state or source, by default the newest first; the snapshots with merge report (ambiguous records, unmapped classes), and the differences of two, filtered by kind, in the server's order; a list of the data-quality issues per assignment group, filtered by team and group, in the server's order; CI lookup with aliases, sources, services and team | Import a source now, upload CSV files |
| Shadow | Shadow comparison per team (migration.md §2); for a team, a list (§4) of its cases filtered by class and time, sorted by time, class, node or check, by default the newest first | Explain a case |
| Cutover | Readiness checks per team with what fails (migration.md §4) | – |
| Hygiene | The hygiene report per team (pipeline.md §18) | – |
| Relays | A list (§4) of relays with state (connected to which nodes, disconnected since, refused with its version, revoked), version, spool use and dropped datagrams, last contact, certificate expiry, allowlist and listeners (architecture.md §13); searched by name, version, node and allowlist; filtered by state; sorted by name, state, version, spool use, last contact or certificate expiry, by default by name | Issue an enrolment token (shown once), revoke, delete a revoked relay |
| Admin | Sources and their intake tokens, revoked ones included, secrets (write-only), bundles, role bindings with pending confirmations and, while the hub has a sole admin, that it has one admin, whose bindings take effect at once, and that a second admin restores the two-person rule, API tokens. Sources, secrets, bundles, role bindings and API tokens are lists (§4), each searched by its name: sources filtered by channel and owner, sorted by name, channel, owner, each intake count or the last event; secrets filtered by format, owner, declaration and whether a value is stored, sorted by name, format, owner, declaration or current version; bundles filtered by signing key, sorted by name, version, key or import, by default by name, then version; role bindings filtered by state, role, team and user, sorted by subject, role, scope, state or creation, by default by creation; API tokens filtered by owner and showing the live or the revoked ones, sorted by name, owner, expiry or last use; sources, secrets and tokens by default by name. Usage: the hub's state, its limits against today's use and its usage per UTC day (api/hub.yaml getUsage), for every viewer | Create, revoke, set, confirm |
| Admin › Users | A list (§4) of the hub's users whose search is a part of the name, filtered by kind and IdP group; sorted by name, kind, creation or last sign-in, by default by name | Create and delete service accounts |
| Audit | A list (§4) of the audit events filtered by action, actor, object and the times since and until; sorted by the order they were recorded in, by default the newest first; the chain check; the SIEM sinks | Verify; manage sinks |
The menu offers the pages the user's roles open. A user signed in without a role sees on the Overview that the hub's pages open once an admin grants one, with a link to their API tokens; the event stream follows for them too. A page the user's roles don't open, reached by its URL, says so.
On a managed installation, a host where no hub answers
(architecture.md §11 Front
door), such as the installation's own host, a deleted hub's or a
mistyped one, shows one page on every path but the sign-in callback,
its document answered 404: that no hub is at this address, that each
hub has its own address, its name in front of the hub domain
(https://<name>.<hub domain>, the domain the API names with
hub.unknown_host), and that the cloud UI's Hubs page
(§3) lists an organisation's hubs with their addresses.
The page is the same on every such host and offers no sign-in.
3. Cloud UI
| Page | Shows | Actions |
|---|---|---|
| Incident | Title, alerts, timeline of deliveries (with push receipts) and responses, who is on call, unanswered marker; for groups the probable cause, members, involved rotations and linked incidents | Ack, snooze, un-ack, decline, escalate, reassign, invite, join, merge, resolve, add note (optionally shared with stakeholders) |
| My shifts | Upcoming shifts, swaps offered to me, absences, punch-in state | Request swap, accept swap, override myself, record an absence, punch in or out, calendar feed |
| Me | Contact methods with verification state, devices with readiness and login expiry, notification rules with their media chains, shift reminder, language; the QR code for the app's sign-in; for a tenant under evaluation or trial delivery the evaluation inbox: the person's codes, pages and notices, newest first (on-call.md §4) | Add, verify, remove, test; revoke a device, test page; reply from the inbox as an SMS from a verified number |
| Numbers | A list (§4) of the tenant's sender and caller numbers and Watch's numbers filtered by medium and part; sorted by number, country or part, by default by number; how to let them through "do not disturb" | Download contact card |
| Teams | A list (§4) of the teams searched by name and slug, filtered by the person's own; sorted by name or the number of members, by default by name; a team's page: members with role, source and last login, rotations, stakeholders | Manage (by role); remove a member, also one from the IdP group |
| Rotation | Calendar of shifts with layers, overrides, swap requests, absences, gaps and unreachable people; push readiness of the people; holiday calendar; handset; escalation; grouping; number test | Edit layers and overrides, preview the next 30 days |
| Incidents | A list (§4) filtered by state, team, rotation, kind, unanswered, delivered to me and the time triggered; sorted by title, state, rotation, kind or the time triggered, by default unanswered incidents first, then those delivered to the person, then the newest; on a phone too one table, whose incident column carries the code, rotation, time and state | Bulk ack of the selected incidents the person may respond to |
| Hubs | A list (§4) of the hubs searched by name, URL, version and allowlist, filtered by link (connected, not connected, revoked) and hosting; sorted by name, link, version or when Watch last confirmed the hub, by default by name; each with its state, link state, versions, rotation allowlist, an empty one as a warning that the hub pages no rotation with the fix (edit it, for example to */*), when Watch last confirmed the hub; a vendor-run hub shows its hosting (shared or dedicated), links to its URL and shows why its installation failed to set it up (architecture.md §12) | Create, run by the customer (enrolment token) or by the vendor (operations.md §4); edit the allowlist, issue a new enrolment token of a hub the customer runs, revoke, decommission |
| Watch | A list (§4) of the checks searched by name, hub and rotation, filtered by state and type; sorted by name, state, rotation or the last beat, by default by name; each check's history and notifications; of a tenant under evaluation each notification's text (watch.md §2) | Create, edit, pause, resume, new token, delete, test |
| Reports | Pages per team, response times, unanswered pages, out-of-hours load, number tests; per person shift hours, pages and out-of-hours pages as the tenant's person reporting allows (compliance.md §7); deliveries per medium, the synthetic tests' SMS on a line of their own (on-call.md §6) | Export |
| Settings | Rotation minimums, person reporting, office hours, the country calling codes allowed for contact numbers, incident retention, codes for SMS acknowledgements, holiday calendars, support grants to vendor operators (tenant admins) | Edit, grant, revoke |
| Audit | A list (§4) of the audit events filtered by the time since and until; sorted by the entry's sequence, which is the order of time, by default the newest first; chain check, SIEM sinks | Export the audit, incidents and shifts; verify; manage sinks |
| Getting started | For a tenant admin while the tenant has no team besides the reserved excubio or no hub: the steps to its first team, its first rotation and a hub run by the vendor, each shown done once it is; the hub's provisioning state, why its installation failed to set it up, and its URL once it is ready | Create the team, open the new rotation, create the hub on a shared installation of the vendor with the allowlist */*, which the page states, so the first hub pages every rotation (architecture.md §12: the API's default is empty) |
| Access | Two lists (§4): the person's API tokens (all of the tenant's for tenant admins) searched by name and scope, filtered by state and owner (a person or a service account), sorted by name, expiry or creation, by default by name; the people with tenant roles searched by name, filtered by role, sorted by person or role, by default by person | Create and revoke tokens, a service account's configuration token (scope config, with its description and a required expiry; architecture.md §10) by tenant admins; grant and revoke tenant roles (tenant admins) |
The menu offers the pages the person's roles open. After the sign-in a tenant admin of a tenant without a team of its own or without a hub lands on Getting started, which leads on to Incidents; a member of a team, an auditor or a tenant admin lands on Incidents; a person in no team and without a tenant role lands on Me, which says that the incidents, shifts and team pages open once they are in a team, and works as for anyone. A page the person's roles don't open, reached by its URL, says so.
The cloud UI's pages are on the tenant's host. The installation's own
host, the host of the public URL, has one page besides the sign-in
callbacks, and every other path of it leads there: it says this is the
Excubio cloud and asks for the organisation's address, the tenant's slug
(or its host or URL), and goes to https://<slug>.<installation host>/
without asking whether that tenant exists. With the billing service's
sign-up page set (EXCUBIO_SIGNUP_URL,
operations.md §3) the page also
offers "create an organisation", which leads there; an installation
without it, such as a private one, offers no such entry. The billing
service creates the tenant and sends the person to the tenant's host,
where they sign in and, as its first admin, land on Getting started. The UI tells the two kinds of
host apart by getHost (api/cloud.yaml). A tenant's
host whose tenant doesn't exist says that no organisation is at this
address and leads to the installation's page. A problem that keeps the UI
from loading shows its title, detail and request id, as every page's
error does.
For a tenant under evaluation delivery (on-call.md §4) every page of the cloud UI carries a banner that says nothing reaches a phone or mailbox. For a tenant under trial delivery every page shows its tenant admins a banner with the plan's name and the trial's rules: SMS only to verified numbers of the country calling codes listed, the day's SMS sent and its cap, no calls, and pages that can't go by SMS reaching the app and the evaluation inbox; and that a paid plan for the account at the billing service lifts them. The incident's timeline names why a delivery went to the inbox or no call was made.
The incident page also opens from the signed link of an SMS
(/l/<token>, on-call.md §5) without a
login, with the responses a link allows. The Watch page calls Watch
directly (api/watch.yaml): it signs in once per
browser tab with PKCE at the installation's Zitadel for Watch's client
(getWatchAccess, api/cloud.yaml).
4. Lists
Every list of the hub and the cloud follows these rules. A list the API pages (alerts, incidents, audit entries, change sets, groups, users, heartbeats, inventory imports, shadow cases) is sorted, counted and paged by the server; a small list whose endpoint returns every row (a hub's sources, a tenant's hubs, …) is searched, filtered and sorted in the browser by the same URL parameters, all its rows on one page, without the pagination.
- State in the URL. Filters, sort, rows per page and the page are
query parameters named as the API's (
selector,state,since,sort,limit,cursor, …), so a link shows the same list. A change of a filter, the sort or the rows per page replaces the history entry and starts at the first page; paging adds an entry, so Back returns to the page before. Columns and grouping are parameters beside them (cols,group) and keep the page. - One toolbar above the list: the list's search (the selector bar on Alerts), a button per filter that lists its values, with their counts where the API gives them, and shows the chosen ones, a time filter with recent ranges or a day and time (§1), Reset while anything filters, and at its end the grouping and the columns.
- Sorted. A sortable column's header is a button: ascending,
descending (severity, counts and times descending first), then the
list's default order; with Shift it adds the column to the sort. On a
list the API pages the sort is the API's
sortand orders every page, not only the one shown. - Pages. Below the list: the rows' positions with the number of
matches ("101–200 of 4,259"; "of more than 10,000" past the count's
bound,
api/hub.yamlconventions), First page, Previous page (once reached by Next page), Next page, and the rows per page (25, 50, 100 or 250; 100 by default). The next page starts after the last row shown, whatever changed in between. - Empty is explained. An empty list says whether nothing exists yet and how the first one comes, or that the filters match nothing, with Clear filters; a page past the first that emptied leads back to the first.
- Selection. A list with a bulk action has a checkbox on each row it applies to and, while rows are selected, a bar with their number and the action. Incidents acknowledges the selected incidents of the page; the API takes incidents by id, not a filter.
- Saved views. On Alerts and Incidents, Views › Save view… names the current URL query (filters, sort, columns, grouping, rows per page); the menu opens a view, Rename or delete… manages them. Views are kept in the browser, per person and per hub or tenant.
- Rows. Numbers are right-aligned with tabular figures, times relative
("4 min ago") with the absolute time on hover, and the row's name links
to its page. "Copy as
excubioctl" beside the list gives the list command with its filters and sort. - Live. The page shown is fetched again when an event of its type arrives; a page past the first starts at the same row, so new alerts and incidents show on the first page, and a selector being edited keeps its text.