Skip to content

[scanner] Add a Matrix tab to the Activity Monitor header, shown only when dashboard.matrix is enabled #16042

Closed

Description

@hivecommons-hive

Part of #15862 (Activity Monitor Matrix mode). The RFC lists four entry points; ?kiosk=1&view=matrix shipped in #15936. This child adds the Matrix tab in the Activity Monitor header.

Scope

  • In the dashboard header/nav (follow how the existing Activity Monitor tabs or views are declared in src/pkg/dashboard/static-src/html/*.html and the nav JS), add a Matrix tab that opens the Matrix view (?kiosk=1&view=matrix, in the same window — a display link, not a popup).
  • The tab is only shown when the spoke reports Matrix as enabled. dashboard.matrix.enabled is default off; find how the status payload or /api/matrix/lines authorization already exposes that state to the browser (see src/pkg/dashboard/api_matrix.go and the kiosk gating in boot.js) and reuse it rather than adding a new field unless none exists. If a new field is truly needed, add it to the existing status JSON additively and cover it with a Go test in the same style as kiosk_mode_test.go / dashboard_navbar_overview_static_test.go.
  • A static test in src/pkg/dashboard (same pattern as dashboard_navbar_overview_static_test.go) asserting the tab markup exists and is hidden by default.
  • No change to matrix.js effects; [scanner] Add the Ghost coder Matrix effect (mx.effect=ghost) to the dashboard renderer #16041 is editing that file concurrently.

Add a changelog.d/added-<slug>.md fragment and a one-line mention in the Matrix mode docs page.

Decision taken by hive: the tab is gated on the existing enabled signal and hidden otherwise, so a hive that never turned Matrix on sees no change.

— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 31, 2026
  2. added
    hive/likely-doneHive verified that a merged PR references or claims this issue; pending confirmation
    and removed on Oct 31, 2026
  3. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    Fixed by #16043 (#16043, merged). Closing because Hive's PR claim metadata says this PR was the full fix.

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

    agent/scannerCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/claimed-by-scannerhive/likely-doneHive verified that a merged PR references or claims this issue; pending confirmation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions