Skip to content

[scanner] Add density=tv, burn-in shift and reduced motion to Activity Monitor display mode #15931

Closed

Description

@hivecommons-hive

Part of #15860

Add the opt-in wall-screen rendering options from Part A for display mode:

  • a TV density layout (density=tv);
  • an OLED burn-in shift (shift=1);
  • reduced motion that honours prefers-reduced-motion.

Depends on #15925 (the ?display=1 shell).

Decision constraints that apply (from the maintainer's /hive decision on #15860)

  • These options apply only together with display=1. Make no change to the ordinary Activity Monitor layout, and no change to headless ?kiosk=1 output. Both parameters are ignored when display mode is off.
  • Rendering only. The TV layout drops the row action affordances and adds nothing that mutates.

Where

  • src/pkg/dashboard/static-src/js/boot.js: parse density / shift next to the display flag from [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925, set body.display-density-tv / body.display-shift, and keep window.HIVE_DISPLAY_* flags.
  • src/pkg/dashboard/static-src/js/tracker-row-layout.js / tracker-row.js: row rendering. Find the column builders there.
  • src/pkg/dashboard/static-src/js/tracker-filter-render.js: renderStageTracker() and stageTrackerPagerHtml() handle paging.
  • src/pkg/dashboard/static-src/css/popout.css: the TV type scale, the visible columns, the shift keyframes and the reduced-motion override.
  • Regenerate src/pkg/dashboard/static/index.html with go generate ./src/pkg/dashboard/webstatic.

What

  • density=tv:
    • larger type;
    • only the stage, title and actor columns;
    • rows capped to what fits the viewport, with a "+N more" footer instead of the pager.
  • The row cap is computed by a pure stageTrackerDisplayRowCap(viewportPx, headerPx, rowPx), placed between // tracker display layout helpers begin/end markers. It recomputes on resize.
  • shift=1, off by default: a CSS transform that moves the content 1–2 px every 4 minutes. It is disabled under prefers-reduced-motion: reduce.
  • In display mode, prefers-reduced-motion: reduce also turns off movement animations (row motion from tracker-motion.js), mirroring how the existing CSS already handles toasts.
  • Document density and shift in the display-mode section of src/docs/streaming-the-activity-monitor.md.

Decision taken by hive: density accepts only tv, and any other value is ignored. There is no medium step; that keeps the grammar minimal.

Acceptance

  • ?display=1&density=tv shows three columns with no pager and a correct "+N more" count.
  • ?density=tv without display=1 renders exactly as today.
  • shift=1 moves content 1–2 px on the interval and is inert under reduced motion.
  • changelog.d/added-activity-monitor-display-tv-density.md fragment.

Tests

  • New src/pkg/dashboard/stage_tracker_display_layout.test.js (node:test) for stageTrackerDisplayRowCap.
  • A Go wiring assertion in src/pkg/dashboard/kiosk_mode_test.go that the density / shift classes are gated on display mode.
  • 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

Activity

  1. added
    kind/featureCategorizes issue or PR as related to a new feature.
    agent/scannerCreated or modified by the scanner agent
    on Oct 31, 2026
  2. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 31, 2026
  3. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    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-tv-density.md, src/docs/streaming-the-activity-monitor.md, src/pkg/dashboard/kiosk_mode_test.go, src/pkg/dashboard/stage_tracker_display_layout.test.js, src/pkg/dashboard/static-src/css/popout.css, src/pkg/dashboard/static-src/js/boot.js, src/pkg/dashboard/static-src/js/tracker-filter-render.js, src/pkg/dashboard/static-src/js/tracker-row-layout.js, src/pkg/dashboard/static/index.html, tracker-motion.js, tracker-row.js), 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] Announce RFC documents proposed as pull requests

    Part of #15860

    Add the opt-in wall-screen rendering options from Part A for display mode:

    • a TV density layout (density=tv);
    • an OLED burn-in shift (shift=1);
    • reduced motion that honours prefers-reduced-motion.

    Depends on #15925 (the ?display=1 shell).

    Decision constraints that apply (from the maintainer's /hive decision on #15860)

    • These options apply only together with display=1. Make no change to the ordinary Activity Monitor layout, and no change to headless ?kiosk=1 output. Both parameters are ignored when display mode is off.
    • Rendering only. The TV layout drops the row action affordances and adds nothing that mutates.

    Where

    • src/pkg/dashboard/static-src/js/boot.js: parse density / shift next to the display flag from [scanner] Add attended ?display=1 mode with a 📺 header button to the Activity Monitor #15925, set body.display-density-tv / body.display-shift, and keep window.HIVE_DISPLAY_* flags.
    • src/pkg/dashboard/static-src/js/tracker-row-layout.js / tracker-row.js: row rendering. Find the column builders there.
    • src/pkg/dashboard/static-src/js/tracker-filter-render.js: renderStageTracker() and stageTrackerPagerHtml() handle paging.
    • src/pkg/dashboard/static-src/css/popout.css: the TV type scale, the visible columns, the shift keyframes and the reduced-motion override.
    • Regenerate src/pkg/dashboard/static/index.html with go generate ./src/pkg/dashboard/webstatic.

    What

    • density=tv:
      • larger type;
      • only the stage, title and actor columns;
      • rows capped to what fits the viewport, with a "+N more" footer instead of the pager.
    • The row cap is computed by a pure stageTrackerDisplayRowCap(viewportPx, headerPx, rowPx), placed between // tracker display layout helpers begin/end markers. It recomputes on resize.
    • shift=1, off by default: a CSS transform that moves the content 1–2 px every 4 minutes. It is disabled under prefers-reduced-motion: reduce.
    • In display mode, prefers-reduced-motion: reduce also turns off movement animations (row motion from tracker-motion.js), mirroring how the existing CSS already handles toasts.
    • Document density and shift in the display-mode section of src/docs/streaming-the-activity-monitor.md.

    Decision taken by hive: density accepts only tv, and any other value is ignored. There is no medium step; that keeps the grammar minimal.

    Acceptance

    • ?display=1&density=tv shows three columns with no pager and a correct "+N more" count.
    • ?density=tv without display=1 renders exactly as today.
    • shift=1 moves content 1–2 px on the interval and is inert under reduced motion.
    • changelog.d/added-activity-monitor-display-tv-density.md fragment.

    Tests

    • New src/pkg/dashboard/stage_tracker_display_layout.test.js (node:test) for stageTrackerDisplayRowCap.
    • A Go wiring assertion in src/pkg/dashboard/kiosk_mode_test.go that the density / shift classes are gated on display mode.
    • 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

  4. clubanderson commented on Oct 31, 2026

    @clubanderson
    Member

    @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.

  5. hivecommons-hive commented on Oct 31, 2026

    @hivecommons-hive
    ContributorAuthor

    🔒 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 /unclaim to release, or /claim to take it over if you outrank the holder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/scannerCreated or modified by the scanner agenthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions