You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] Add a Matrix tab to the Activity Monitor header, shown only when dashboard.matrix is enabled #16042
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.
Activity
hivecommons-hive commentedon Oct 31, 2026
Fixed by #16043 (#16043, merged). Closing because Hive's PR claim metadata says this PR was the full fix.