Repository navigation
Description
This was generated by AI during triage.
Agent Brief
Category: enhancement
Summary: Link the Console header's <h1> machine name (page.hostname) to /?section=overview so clicking it from any Console page or Fleet-scoped view returns to the full Overview Inbox.
Current behavior:
Every Console page renders the serving machine's name in the top-left <header> <h1> as plain text (<h1>{{ page.hostname }}</h1>, and <h1>{{ crate::console::hostname() }}</h1> on the Account template). When viewing another page or a Fleet-filtered page (for example /cronjobs?machine=stephens or /?machine=stephens), clicking the machine heading at the top left does nothing.
Desired behavior:
The Console header's <h1> machine name links to /?section=overview (<h1><a href="/?section=overview">...</a></h1>) across Console pages that use the shared Console header (and the signed-in /account page if it shares the header heading), clearing any page or machine filter and returning to the serving Console's Overview Inbox. The heading link inherits the <h1> text color and has no default underline (color: inherit; text-decoration: none;, with underline on :hover / :focus-visible) so the header's visual appearance is preserved across all Themes. Unauthenticated sign-in / password-reset views either omit the link or redirect to sign-in as usual.
Key interfaces:
- Shared Console
<header>template (page.hostnameinside<h1>): wrap the hostname text in<a href="/?section=overview">. - Console stylesheet (
header h1 a): inherit the heading color and suppress the default link underline while keeping hover/focus-visible affordance across all built-in and custom Themes. - User manual (
docs/guide.mdand generatedsite/docs/index.html): note that clicking the serving machine's name in the Console header returns to Overview (/?section=overview).
Acceptance criteria:
- Every Console page using the shared header renders
<h1><a href="/?section=overview"><hostname></a></h1>. - Activating the header machine name from any Console view (including Fleet-scoped views such as
/cronjobs?machine=<name>or/?machine=<name>and non-Overview sections such as/?section=done) navigates to/?section=overviewwith nomachinefilter. -
header h1 ainherits the heading color and does not show a default underline at rest across Themes, while remaining keyboard-focusable. - Automated Console tests verify the header
<h1>link to/?section=overviewand navigation back to Overview from a machine-scoped or secondary Console page. -
docs/guide.mdandsite/docs/index.html(npm run docs --prefix site/npm run docs:check --prefix site) are updated in step.
Out of scope:
- Changing the
<nav aria-label="Other Consoles">Fleet links or the<nav aria-label="Pages">navigation bar. - Changing how
/?page=inboxor section folder links preserve or clear query parameters.
Activity