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] Extract the tracker row-presentation asset into a shared embeddable module with a compatibility test #16062
Part of #15965 (fourth child of RFC #15861 by @hanthor). First of three ordered pieces; #15965 is decomposed because it spans the shared JS asset, the hub server, display mode, docs and tests at once.
What
Extract the smallest pure row-presentation asset from the spoke tracker so both binaries can embed it, without copying the tracker or rewriting the renderer (owner decision 2026-10-31 on #15861).
Identify the minimal pure subset of src/pkg/dashboard/static-src/js/tracker-row.js / tracker-row-layout.js / tracker-row-strip.js that turns one tracker item into a row (stage → strip segment mapping, row layout, text-only title rendering). Move exactly that into a new shared location that go:embed can reach from both src/pkg/dashboard and src/pkg/hub (for example src/pkg/webassets/tracker-row/), and keep the spoke tracker loading it via static-src/manifest.txt + webstatic/gen/concat.go so the committed static/ output is unchanged in behaviour.
Leave action menus, sound, motion, popout, filters and queue code where they are; the hub must stay visibility-only and must not embed them.
Add a compatibility test that renders the spoke tracker's existing fixtures through the extracted asset and pins the output unchanged (same DOM/text as before the move). Follow the existing *_static_test.go pattern in src/pkg/dashboard and src/pkg/dashboard/webstatic.
changelog.d/changed-*.md fragment.
Acceptance
src/pkg/dashboard/static/ renders identically (compatibility test fails if the extracted asset drifts from the spoke's rows).
The asset is importable/embeddable from src/pkg/hub with no dependency on src/pkg/dashboard.
No tracker behaviour, stage, sort or column changes.
Decision taken by hive: extract-and-embed rather than duplicate; scope is only the row-presentation subset.
Attribution requirement inherited from #15861: mention @hanthor in the PR description and link #15861 and #15965; state what shipped separately from activation status.
Activity
✨ feature(hub): add the Fleet activity page /activity with ETag polli…
✨ feature(hub): wire the Fleet activity page into display mode
✨ feature(hub): wire the Fleet activity page into display mode (#16088)