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
Make every Activity Monitor filter describable by URL so a display link can reproduce a view in a fresh browser profile. This is the "URL state" piece of Part A and the base that display mode, the overlay's Copy display link and playlists build on.
Decision constraints that apply (from the maintainer's /hive decision on #15860)
- Presets are URL-only. Do not add named presets under
hive.yamlor any other persisted store. Persisted named presets are deferred until usage justifies them. - Display mode is presentation only. It grants nothing and adds no mutation privileges. Existing authenticated read-only viewer access and per-user authorization are unchanged.
- When no
am.*parameter is present, the ordinary Activity Monitor behaves exactly as it does today, including thelocalStoragefilter and the existing?filter=waiting-on-youone-shot. - Existing headless
?kiosk=1behaviour is preserved.
Where
src/pkg/dashboard/static-src/js/tracker-filter-state.js:stageTrackerLoadFilter()andstageTrackerSaveFilter(). Load readslocalStoragekeyhive-activity-monitor-filter; save writes it back.src/pkg/dashboard/static-src/js/tracker-filter.js:stageTrackerNormalizeFilter()validates every value. Reuse it and do not duplicate validation.src/pkg/dashboard/static-src/js/tracker-filter-fetch.js:fetchStageTracker()callsstageTrackerLoadFilter()and thenstageTrackerApplyUrlFilter()(js/tracker-waiting.js) on first load.- Group setting:
stageTrackerGroupSetting()/stageTrackerSetGroup()intracker-filter-state.js. - Regenerate
src/pkg/dashboard/static/index.htmlwithgo generate ./src/pkg/dashboard/webstatic. Never hand-edit it;TestIndexHTMLIsGeneratedenforces this.
What
- Add two pure helpers between
// tracker url view helpers begin/// tracker url view helpers endmarkers so node tests can lift them:stageTrackerFilterFromUrl(href)returns{ filter, group }ornull.stageTrackerViewUrl(href, filter, group)returns the current URL witham.*set.
- Parameters:
am.kind,am.repo,am.q,am.age,am.author,am.sort,am.dir,am.group. Also addam.labels(comma-separated),am.needsHuman,am.onHoldandam.attention, so that every narrowing filter instageTrackerFilterActive()round-trips. - Unknown or invalid values fall back through
stageTrackerNormalizeFilter(). - If any
am.*parameter is present:- it wins over
localStorage; - the tab treats its filter as session-only, so
stageTrackerSaveFilter()/stageTrackerSetGroup()do not writelocalStorage. Two screens on one profile then cannot clobber each other.
- it wins over
stageTrackerViewUrlomits default values, preserves other query params and the hash, and never includes a token or credential.- Document the
am.*grammar in a new "Display mode and URL views" section ofsrc/docs/streaming-the-activity-monitor.md. Repeat the existing private-repository warning there: a link describes a view and does not grant access, and the viewer still signs in with their own access.
Decision taken by hive: an am.* URL makes the tab session-only for the whole tab, rather than only in display mode. This is the simplest rule that stops the clobbering, and it is additive, since no URL today carries am.*.
Decision taken by hive: waitingOnYou stays on the existing ?filter=waiting-on-you path and is not duplicated as an am.* key. It is per-user, so it cannot describe a shared wall view.
Acceptance
?am.kind=pr&am.repo=hivecommons/hive&am.group=reporenders that filter in a fresh profile and leaveslocalStorageuntouched.stageTrackerViewUrl(stageTrackerFilterFromUrl(u))round-trips to an equivalent URL.- Without
am.*, load and save behave exactly as before. changelog.d/added-activity-monitor-url-views.mdfragment.
Tests
- New
src/pkg/dashboard/stage_tracker_url_view.test.js(node:test). Lift the helpers fromstatic/index.htmlby marker, the same waysse_watchdog_helpers.test.js/stage_tracker_popout.test.jsdo. - Cover: round-trip, invalid values,
am.*precedence overlocalStorage, and no write-back. - CI runs the tests; per
AGENTS.md, do not run them locally.
— 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
Folded finding. This was filed as a separate issue, but 1 open agent-filed issue (plus 2 closed as completed in the last 14 days) already cite
src/docs/streaming-the-activity-monitor.md, so it was folded into the oldest of them instead of opening another. Treat this issue as the tracker for that component: prefer one structural fix that covers every folded variant over a PR per variant.[scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor
Part of #15860
Add an attended display mode for the Activity Monitor that is reachable from the UI and easy to leave. This is the "getting in and out" piece of Part A. It reuses the existing pop-out / full-screen shell from #15829 and leaves headless
?kiosk=1alone.Decision constraints that apply (from the maintainer's
/hive decisionon #15860)?kiosk=1behaviour. What?kiosk=1renders for the streamer must not change.requestFullscreenornavigator.wakeLock. Those controls come in a follow-up child.Where
src/pkg/dashboard/static-src/js/boot.js: the first IIFE parseskiosk/popoutintowindow.HIVE_KIOSK/HIVE_POPOUTand sets the body classes before first paint.src/pkg/dashboard/static-src/js/sections.js:STAGE_TRACKER_HEADER_TOOLS_HTMLholds the ⧉ / ⛶ buttons.src/pkg/dashboard/static-src/js/tracker-popout.js:stageTrackerPopoutUrl(),stageTrackerDashboardUrl(),stageTrackerFullscreenHotkey()and thekeydownlistener.src/pkg/dashboard/static-src/css/popout.css: thebody.popout-mode/body.ham-fullscreenchrome-less rules, plusbody.kiosk-mode .ham-header-tool { display:none }.src/pkg/dashboard/static/index.htmlwithgo generate ./src/pkg/dashboard/webstatic.What
?display=1:boot.jssetswindow.HIVE_DISPLAYandbody.display-modebefore first paint.kiosk=1anddisplay=1are present.#section-activity-monitor-section, like pop-out does.popout.css: addbody.display-modeto the existing chrome-less selector lists. Do not add a new stylesheet. Display mode differs from kiosk in four ways:localStorage;display=1added (via a purestageTrackerDisplayUrl(href, on)), keeping any other query such asam.*(see the sibling URL-views child) andtheme.Esc(when not in browser full screen, which consumesEscitself), ordwhile focus is in the tracker, navigates to the URL withdisplayremoved.dalso enters display mode from the tracker. MirrorstageTrackerFullscreenHotkey()in a purestageTrackerDisplayHotkey(ev, inTracker, typing).body.kiosk-modekeeps hiding all.ham-header-tools, so the streamer never shows 📺.src/docs/streaming-the-activity-monitor.md, in the section created by the URL-views child or a new one.Decision taken by hive: use a new
display=1flag instead of addingkiosk=1as the RFC sketched.kiosk=1hides the cursor and every header tool and forces sound on, which would make an attended display impossible to exit. Changing kiosk would also change what the headless streamer renders, which the decision forbids.Acceptance
Escordleaves it. Neither path requests full screen or a wake lock.displayparam, the Activity Monitor DOM and CSS behave as today apart from the added 📺 button.TestKioskModeWiring,TestKioskSoundDefaultandstage_tracker_popout.test.jsstill pass.?kiosk=1, 📺 is hidden and kiosk output is unchanged.changelog.d/added-activity-monitor-display-mode.mdfragment.Tests
src/pkg/dashboard/stage_tracker_popout.test.js, or addstage_tracker_display.test.jsnext to it, forstageTrackerDisplayUrlandstageTrackerDisplayHotkey.src/pkg/dashboard/kiosk_mode_test.go(TestDisplayModeWiring) thatboot.jssetsdisplay-modeand that kiosk still wins.AGENTS.md).— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
Folded finding. This was filed as a separate issue, but 2 open agent-filed issues (plus 1 closed as completed in the last 14 days) already cite
static/index.html, so it was folded into the oldest of them instead of opening another. Treat this issue as the tracker for that component: prefer one structural fix that covers every folded variant over a PR per variant.[scanner] Add Matrix Rain and Cascade renderer behind ?kiosk=1&view=matrix
Part of #15862 (Activity Monitor Matrix mode), Phase 2. This child adds the browser renderer for Rain and Cascade. It is reachable only through an explicit display URL and consumes the authorized endpoint and nudge from #15935.
Decision constraints that apply
?kiosk=1withoutview=matrix./api/matrix/linesreturns.<canvas>or text nodes only, never as HTML (noinnerHTMLwith line content).Change
src/pkg/dashboard/static-src/js/boot.js, next to the?kiosk=1handling (lines 24–39), readviewand setwindow.HIVE_MATRIX = kiosk && view === 'matrix'. Only when that is true, addbody.matrix-modeand callhiveMatrixStart(). Every other path behaves exactly as today.static-src/js/matrix.js(new):GET /api/matrix/lines?since=0. A404shows a small static notice ("Matrix mode is not enabled on this hive") and draws nothing else. A401/403shows an auth notice.code-lineson the existing/api/eventsEventSource. Do not open a second one. On each nudge, pull?since=<lastSeq>.<canvas>, glyph atlas andrequestAnimationFrame. Column glyphs come from real incoming lines. The head glyph is bright and the trail fades.repo#PR · pathcaption.mx.effect=rain|cascade. Also supportmx.speed,mx.fps(default 30) andmx.palette(green|amber|gold), with matchinglocalStoragekeyshive.matrix.*.document.hidden(visibilitychange) and with thep/Space key toggle. Show a visible "paused" label.prefers-reduced-motion: reduce, show a static, slowly paging list of the latest lines as text nodes, with no animation loop.static-src/css/matrix.css(new): rules scoped underbody.matrix-modeonly.static-src/manifest.txt. Regeneratestatic/index.htmlwithcd src && go generate ./pkg/dashboard/webstatic/(Makefile target). It is a generated artifact, so commit it with the sources.changelog.d/added-15862-matrix-display.mdfragment.Acceptance criteria
/?kiosk=1withoutview=matrix, and the normal dashboard, show nomatrix-modeclass and no Matrix code runs, so the tracker is unchanged./?kiosk=1&view=matrixwith the feature off shows only the "not enabled" notice.innerHTML,insertAdjacentHTMLordocument.write.Tests
New
src/pkg/dashboard/matrix_ui_test.go, in the style of the existing*_ui_test.gotests that assert on the generatedindex.html/static sources. It asserts:view === 'matrix'together with kiosk);innerHTMLuse inmatrix.js;visibilitychangeandprefers-reduced-motionhandling are present;.matrix-mode;index.html, which the existing-checkgenerator guard also enforces.Files
Hand-edited (5):
static-src/js/matrix.js(new),static-src/css/matrix.css(new),static-src/js/boot.js,static-src/manifest.txtandsrc/pkg/dashboard/matrix_ui_test.go(new). Generated:static/index.html. Plus the one changelog fragment.Decision taken by hive: the only entry point is
?kiosk=1&view=matrix, the RFC's own parameter name. The RFC's header "Matrix tab" is deferred, because the decision says the normal tracker must not change.Decision taken by hive: the renderer detects the feature from
/api/matrix/linesreturning 404, not from a new status field, which keeps the change additive and avoids touchingserver.go.— hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88
hivecommons-hive commentedon Oct 31, 2026
Note on the folded finding above: it was folded here by mistake. It is a separate sibling child of #15860 and is now tracked in #15925. This issue's scope is unchanged: only the
am.*URL views described in the body. Ignore the folded display-mode text when implementing this issue.— 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.