Repository navigation
Closed
Labels
agent/scannerCreated or modified by the scanner agentCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Part of #15860
Rotate a display-mode screen between URL-described tracker views (Part B, "Playlists"), for example needs a human → PRs in repo X → issues by repo.
Depends on #15924 (the am.* URL views) and #15925 (the ?display=1 shell).
Decision constraints that apply (from the maintainer's /hive decision on #15860)
- Presets are URL-based. A playlist is spelled out entirely in the URL. There are no named presets in
hive.yamlor any other persisted store; those stay deferred until usage justifies them. - Display mode only. There is no rotation outside
display=1and no change to headless?kiosk=1output. - Rendering only: no new endpoints, credentials or privileges.
- The hub-wide monitor (📝 RFC: Hub-wide Activity Monitor with per-hive aggregation #15861) and Matrix mode (📝 RFC: Activity Monitor Matrix mode — ambient code rain of the lines hive is pushing #15862) are separate RFCs. This child rotates tracker presets only. Leave the view parser open to new view kinds later, but do not implement them.
Where
src/pkg/dashboard/static-src/js/tracker-filter-state.js: theam.*helpers from [scanner] Describe Activity Monitor filters in am.* URL parameters #15924 (stageTrackerFilterFromUrl/stageTrackerViewUrl) and the in-memory_stageTrackerFilter.src/pkg/dashboard/static-src/js/tracker-filter-render.js:renderStageTracker()re-renders from_stageTrackerwithout a refetch.src/pkg/dashboard/static-src/js/tracker-popout.js: the display-mode helpers from [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925.src/pkg/dashboard/static-src/css/popout.css: the progress bar.- Regenerate
src/pkg/dashboard/static/index.htmlwithgo generate ./src/pkg/dashboard/webstatic.
What
- Grammar:
?display=1&am.view=<view>&am.view=<view>…&interval=60s.- Each
am.viewvalue is a URL-encodedam.*query string, for exampleam.view=am.kind%3Dpr%26am.repo%3Dhivecommons%2Fhive. intervalacceptsNsorNm, clamps to 10 s–1 h and defaults to 60 s.- Fewer than two valid views means no rotation.
- Each
- Add pure helpers between
// tracker display playlist helpers begin/endmarkers:stageTrackerParsePlaylist(href)returns{ views: [filter…], intervalMs };stageTrackerPlaylistIndex(startMs, nowMs, intervalMs, n).
- Rotation swaps
_stageTrackerFilterin memory and callsrenderStageTracker(). It never writeslocalStorageand never navigates, so it survives an SSE reconnect and needs no refetch. - The index derives from wall-clock time, so a reload resumes the right view.
- A thin progress bar shows the time left before the next view. Under
prefers-reduced-motionit becomes a static "next in Ns" label. - Document the playlist grammar in the display-mode section of
src/docs/streaming-the-activity-monitor.md.
Decision taken by hive: use repeated am.view params, each a self-contained am.* query string. This avoids inventing preset names, which the decision deferred, and reuses #15924's parser unchanged.
Acceptance
- A two-view playlist alternates at the given interval and keeps alternating across an SSE drop and reconnect.
- Invalid views are skipped.
- Without
am.view, nothing changes. changelog.d/added-activity-monitor-display-playlist.mdfragment.
Tests
- New
src/pkg/dashboard/stage_tracker_display_playlist.test.js(node:test), lifting the helpers by marker. Cover parsing, interval clamping, skipping invalid views, index math across a simulated reconnect, and the fewer-than-two-views no-op. - CI runs the tests; do not run them locally (see
AGENTS.md).
— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
Metadata
Metadata
Assignees
Labels
agent/scannerCreated or modified by the scanner agentCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Activity
hivecommons-hive commentedon Oct 31, 2026
Consolidated finding. This was filed as a separate issue; it references exactly the same files as this one (
AGENTS.md,changelog.d/added-activity-monitor-display-playlist.md,hive.yaml,src/docs/streaming-the-activity-monitor.md,src/pkg/dashboard/stage_tracker_display_playlist.test.js,src/pkg/dashboard/static-src/css/popout.css,src/pkg/dashboard/static-src/js/tracker-filter-render.js,src/pkg/dashboard/static-src/js/tracker-filter-state.js,src/pkg/dashboard/static-src/js/tracker-popout.js,src/pkg/dashboard/static/index.html), so it was folded in here instead. Address it in the same PR as this issue — two PRs editing the same files would conflict.[scanner] Trigger single-item RFC notify sweep from issues/pull_request webhooks
Part of #15860
Rotate a display-mode screen between URL-described tracker views (Part B, "Playlists"), for example needs a human → PRs in repo X → issues by repo.
Depends on #15924 (the
am.*URL views) and #15925 (the?display=1shell).Decision constraints that apply (from the maintainer's
/hive decisionon #15860)hive.yamlor any other persisted store; those stay deferred until usage justifies them.display=1and no change to headless?kiosk=1output.Where
src/pkg/dashboard/static-src/js/tracker-filter-state.js: theam.*helpers from [scanner] Describe Activity Monitor filters in am.* URL parameters #15924 (stageTrackerFilterFromUrl/stageTrackerViewUrl) and the in-memory_stageTrackerFilter.src/pkg/dashboard/static-src/js/tracker-filter-render.js:renderStageTracker()re-renders from_stageTrackerwithout a refetch.src/pkg/dashboard/static-src/js/tracker-popout.js: the display-mode helpers from [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925.src/pkg/dashboard/static-src/css/popout.css: the progress bar.src/pkg/dashboard/static/index.htmlwithgo generate ./src/pkg/dashboard/webstatic.What
?display=1&am.view=<view>&am.view=<view>…&interval=60s.am.viewvalue is a URL-encodedam.*query string, for exampleam.view=am.kind%3Dpr%26am.repo%3Dhivecommons%2Fhive.intervalacceptsNsorNm, clamps to 10 s–1 h and defaults to 60 s.// tracker display playlist helpers begin/endmarkers:stageTrackerParsePlaylist(href)returns{ views: [filter…], intervalMs };stageTrackerPlaylistIndex(startMs, nowMs, intervalMs, n)._stageTrackerFilterin memory and callsrenderStageTracker(). It never writeslocalStorageand never navigates, so it survives an SSE reconnect and needs no refetch.prefers-reduced-motionit becomes a static "next in Ns" label.src/docs/streaming-the-activity-monitor.md.Decision taken by hive: use repeated
am.viewparams, each a self-containedam.*query string. This avoids inventing preset names, which the decision deferred, and reuses #15924's parser unchanged.Acceptance
am.view, nothing changes.changelog.d/added-activity-monitor-display-playlist.mdfragment.Tests
src/pkg/dashboard/stage_tracker_display_playlist.test.js(node:test), lifting the helpers by marker. Cover parsing, interval clamping, skipping invalid views, index math across a simulated reconnect, and the fewer-than-two-views no-op.AGENTS.md).— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
clubanderson commentedon Oct 31, 2026
@hanthor Tracking implementation of your RFC #15860 here. Implementer requirement: mention @hanthor in the associated PR description, link this issue and RFC #15860, and post a completion comment mentioning @hanthor after the PR actually merges, with the merge link and a clear distinction between source shipped and deployment/activation. This issue is still open; this comment is attribution/notification, not a completion claim.
hivecommons-hive commentedon Oct 31, 2026
🔒 Claimed by agent
scanner(agent on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 2h0m0s without activity and renews while the work continues. Reply/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 31, 2026
Fixed by #15969 (merged 66cb92b). Closing. Reply /reopen if the problem persists.