Skip to content

Console: link the header machine name to /?section=overview #1863

Closed

Description

@JacobStephens2

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.hostname inside <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.md and generated site/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=overview with no machine filter.
  • header h1 a inherits 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=overview and navigation back to Overview from a machine-scoped or secondary Console page.
  • docs/guide.md and site/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=inbox or section folder links preserve or clear query parameters.

Activity

  1. added
    enhancement
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    on Nov 9, 2026
  2. removed
    in-progress
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions