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
Give display mode a small pointer-revealed overlay with separate, explicit controls: Exit display, Copy display link, Full screen and Keep screen awake. Each control handles unsupported and denied states gracefully.
Depends on #15925 (the ?display=1 shell) and #15924 (the am.* URL helpers that Copy display link serialises).
Decision constraints that apply (from the maintainer's /hive decision on #15860)
- Full screen and wake lock must be separate explicit user controls with graceful unsupported/denied states, not automatic requests. Only a click on the matching control may call
requestFullscreen()ornavigator.wakeLock.request('screen'). Never call them on entering display mode or on load. - Reuse the existing pop-out/full-screen shell. The Full screen control calls the existing
toggleStageTrackerFullscreen()and does not reimplement it. - No display credential, pairing or token in the URL. The copied link contains only view parameters (
display=1,am.*,theme) and never a bearer or cookie value. - Make no change when display mode is off. Headless
?kiosk=1never shows the overlay, because it has no pointer and its CSS hides header tools.
Where
src/pkg/dashboard/static-src/js/tracker-popout.js:toggleStageTrackerFullscreen(),stageTrackerRenderFullscreenButton()and thefullscreenchangelistener. Add the overlay logic here, next to 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/js/sections.js(or the tracker header markup instatic-src/html/tracker.html): the overlay element.src/pkg/dashboard/static-src/css/popout.css: overlay styles scoped tobody.display-mode.stageTrackerViewUrl()from [scanner] Describe Activity Monitor filters in am.* URL parameters #15924 builds the link.- Regenerate
src/pkg/dashboard/static/index.htmlwithgo generate ./src/pkg/dashboard/webstatic.
What
- The overlay appears on
mousemove/pointerdown/ keyboard focus in display mode and hides after 3 s idle. It uses a purestageTrackerDisplayOverlayVisible(lastPointerMs, nowMs, idleMs). - The controls are buttons with
aria-labels:- Exit display: removes
display=1, the same path asEscin [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925. - Copy display link:
navigator.clipboard.writeText(stageTrackerViewUrl(...))withdisplay=1. If the clipboard is unavailable or refused, show the URL in a selectable field with a toast. - Full screen: delegates to
toggleStageTrackerFullscreen(). When the Fullscreen API is missing, show it disabled with a "not supported" title. - Keep screen awake: toggles a
WakeLockSentinelheld in memory only. It reports one of four states:unsupported(nonavigator.wakeLock, rendered disabled),denied(the request rejected; show the reason, no retry loop),onoroff. It re-acquires onvisibilitychangeonly if the user had turned it on, and releases on exit.
- Exit display: removes
- Use a pure
stageTrackerWakeLockState(supported, sentinel, lastError)that returns the label and state for testing. - Persist nothing: no
localStoragewrites for any of these. - Document the controls in the display-mode section of
src/docs/streaming-the-activity-monitor.md.
Decision taken by hive: the wake-lock on/off state is kept in memory only and is not reapplied after a reload. A reload counts as a new explicit-consent boundary, which matches "not automatic requests".
Acceptance
- Entering display mode makes no full-screen or wake-lock request. You can verify this with spies in the node test.
- Each control works on its own. Unsupported and denied states render disabled or with an explanation, never throw, and never retry automatically.
- In a fresh profile the copied link reproduces the exact filter set and contains no credential.
changelog.d/added-activity-monitor-display-controls.mdfragment.
Tests
src/pkg/dashboard/stage_tracker_display.test.js(created in [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925, or create it here). Use node:test with fakes fornavigator.wakeLock,document.fullscreenEnabledandnavigator.clipboard, the same pattern asfakeElinstage_tracker_popout.test.js.- 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-controls.md,src/docs/streaming-the-activity-monitor.md,src/pkg/dashboard/stage_tracker_display.test.js,src/pkg/dashboard/static-src/css/popout.css,src/pkg/dashboard/static-src/js/sections.js,src/pkg/dashboard/static-src/js/tracker-popout.js,src/pkg/dashboard/static/index.html,stage_tracker_popout.test.js,static-src/html/tracker.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] Post one Discord thread per RFC with durable idempotent mapping, reconciliation and opt-in backlink
Part of #15860
Give display mode a small pointer-revealed overlay with separate, explicit controls: Exit display, Copy display link, Full screen and Keep screen awake. Each control handles unsupported and denied states gracefully.
Depends on #15925 (the
?display=1shell) and #15924 (theam.*URL helpers that Copy display link serialises).Decision constraints that apply (from the maintainer's
/hive decisionon #15860)requestFullscreen()ornavigator.wakeLock.request('screen'). Never call them on entering display mode or on load.toggleStageTrackerFullscreen()and does not reimplement it.display=1,am.*,theme) and never a bearer or cookie value.?kiosk=1never shows the overlay, because it has no pointer and its CSS hides header tools.Where
src/pkg/dashboard/static-src/js/tracker-popout.js:toggleStageTrackerFullscreen(),stageTrackerRenderFullscreenButton()and thefullscreenchangelistener. Add the overlay logic here, next to 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/js/sections.js(or the tracker header markup instatic-src/html/tracker.html): the overlay element.src/pkg/dashboard/static-src/css/popout.css: overlay styles scoped tobody.display-mode.stageTrackerViewUrl()from [scanner] Describe Activity Monitor filters in am.* URL parameters #15924 builds the link.src/pkg/dashboard/static/index.htmlwithgo generate ./src/pkg/dashboard/webstatic.What
mousemove/pointerdown/ keyboard focus in display mode and hides after 3 s idle. It uses a purestageTrackerDisplayOverlayVisible(lastPointerMs, nowMs, idleMs).aria-labels:display=1, the same path asEscin [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925.navigator.clipboard.writeText(stageTrackerViewUrl(...))withdisplay=1. If the clipboard is unavailable or refused, show the URL in a selectable field with a toast.toggleStageTrackerFullscreen(). When the Fullscreen API is missing, show it disabled with a "not supported" title.WakeLockSentinelheld in memory only. It reports one of four states:unsupported(nonavigator.wakeLock, rendered disabled),denied(the request rejected; show the reason, no retry loop),onoroff. It re-acquires onvisibilitychangeonly if the user had turned it on, and releases on exit.stageTrackerWakeLockState(supported, sentinel, lastError)that returns the label and state for testing.localStoragewrites for any of these.src/docs/streaming-the-activity-monitor.md.Decision taken by hive: the wake-lock on/off state is kept in memory only and is not reapplied after a reload. A reload counts as a new explicit-consent boundary, which matches "not automatic requests".
Acceptance
changelog.d/added-activity-monitor-display-controls.mdfragment.Tests
src/pkg/dashboard/stage_tracker_display.test.js(created in [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925, or create it here). Use node:test with fakes fornavigator.wakeLock,document.fullscreenEnabledandnavigator.clipboard, the same pattern asfakeElinstage_tracker_popout.test.js.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 5 open agent-filed issues 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] Prepare a disabled-by-default independent hivecommonsfleet broadcast of a public-safe hub activity view
Part of #15861 (RFC proposed by @hanthor). Fifth implementation child; follows #15965 (Fleet activity page). Nothing here activates a broadcast.
What
Prepare an independent, disabled-by-default streamer configuration for the hub-wide monitor, destined for the owner-confirmed channel
hivecommonsfleet(https://twitch.tv/hivecommonsfleet):src/deploy/stream/,src/docs/streaming-the-activity-monitor.md) as a second, separately named deployment: its own source URL, its own credentials reference (a secret name only — never a value), its own process/deployment identity and failure isolation. The existingtwitch.tv/hivecommonsfull-screen Activity Monitor stream is not repurposed, interrupted or changed in any way.enabled: falseis the default and is enforced: with no owner-installed credential and no public-safe policy acknowledgement the deployment refuses to start the encoder.Why
Owner decisions on #15861 (2026-10-31): dedicated channel and independently configured broadcast; "Twitch output is public regardless of dashboard authentication"; "Keep live broadcast disabled until the owner provisions/authorizes the channel and public-safe content policy. No credentials in issue comments or source." The channel is provisioned; credential installation and public-safe source readiness remain owner actions.
Acceptance
changelog.d/added-*.mdfragment.Attribution requirement (inherited from #15861)
Mention @hanthor in the PR description, link #15861 and this child, and mention @hanthor in a completion comment only when the PR actually merges. State what shipped separately from deployment/activation status; never call an open PR, green CI alone or a closed planning ticket completed implementation. Carry this requirement into any further children.
— 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.