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
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=1 alone.
Decision constraints that apply (from the maintainer's /hive decision on #15860)
- Reuse the existing pop-out/full-screen shell.
- Preserve existing headless
?kiosk=1behaviour. What?kiosk=1renders for the streamer must not change. - Make no change to the ordinary Activity Monitor layout or flow when display mode is off. The only visible addition is one header button.
- Full screen and wake lock are separate explicit user controls and are not requested automatically. Entering display mode must not call
requestFullscreenornavigator.wakeLock. Those controls come in a follow-up child. - Add no new mutation privileges and no new credential. Use the existing authenticated viewer access.
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 }.- Regenerate
src/pkg/dashboard/static/index.htmlwithgo generate ./src/pkg/dashboard/webstatic.
What
- New URL flag
?display=1:boot.jssetswindow.HIVE_DISPLAYandbody.display-modebefore first paint.- Kiosk wins if both
kiosk=1anddisplay=1are present. - Display mode lands on
#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:- it is attended, so the cursor is not hidden;
- sound keeps the user's normal setting, with no kiosk sound default;
- it never writes layout or theme to
localStorage; - it hides the row ⋯ / context-menu and multi-select affordances, so a wall view offers no actions. This is presentation only; server authorization is unchanged.
- A third header tool, 📺 Display, sits beside ⧉ and ⛶. It navigates to the current URL with
display=1added (via a purestageTrackerDisplayUrl(href, on)), keeping any other query such asam.*(see the sibling URL-views child) andtheme. - Exit:
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 📺.- Add a short "Display mode" paragraph to
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=1 flag instead of adding kiosk=1 as the RFC sketched. kiosk=1 hides 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
- 📺 enters display mode;
Escordleaves it. Neither path requests full screen or a wake lock. - With no
displayparam, the Activity Monitor DOM and CSS behave as today apart from the added 📺 button.TestKioskModeWiring,TestKioskSoundDefaultandstage_tracker_popout.test.jsstill pass. - In
?kiosk=1, 📺 is hidden and kiosk output is unchanged. changelog.d/added-activity-monitor-display-mode.mdfragment.
Tests
- Extend
src/pkg/dashboard/stage_tracker_popout.test.js, or addstage_tracker_display.test.jsnext to it, forstageTrackerDisplayUrlandstageTrackerDisplayHotkey. - Add a Go wiring assertion to
src/pkg/dashboard/kiosk_mode_test.go(TestDisplayModeWiring) thatboot.jssetsdisplay-modeand that kiosk still wins. - 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
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 #15948 (merged ceafe3f). Closing. Reply /reopen if the problem persists.