Skip to content

✨ dashboard: card-per-row Activity monitor layout on phones #17161

Closed

Description

@clubanderson

Part of #17158.

Effort: M — depends on #17160 (progress pill); build on that layout.

Problem

At 390×844 rows average 164px (desktop 59–105px): ~4 per screen, 26 rows = 4444px of list. Each phone row stacks: repo chip + "no linked issue" line, ref + title (up to 5 lines), the strip icons, the needs-human line, then a .ham-current-stage paragraph that repeats the observation text ("CI running 7/9 · observation time unknown · 3 of 5 model reviews in · observation time unknown"). Essential info is diluted; you cannot tell what is happening in under 2 seconds.

Proposed change

A phone card per row: header line (repo chip · #ref · since), title clamped to 2 lines (-webkit-line-clamp, overflow-wrap: anywhere), the progress pill, and one line of .ham-current-stage limited to the lead clause (stage label + next move + the active track caption). Drop "no linked issue" on phones; fold the needs-human reason into the pill tint plus a one-line amber note; move .ham-sel / .ham-kebab into the card header. Tap on the card body expands it in place (or opens the pill sheet) to reveal the full text.

Files

src/pkg/dashboard/static-src/js/tracker-row-render.js, js/tracker-row-layout.js, js/tracker-row-title.js, css/tracker.css; src/docs/dashboard.md.

Acceptance

  • 390×844 assertion: median .ham-row height ≤ 96px with the activity-density fixture; ≥ 6 rows inside the viewport once scrolled past the header.
  • No .ham-title wider than its container; clamped titles expose the full title via title or expand.
  • 1280: row markup and heights unchanged (stage_tracker_display_layout.test.js passes).

Conventions

  • Land on v5; one concern per PR. Add changelog.d/<category>-<slug>.md at the repository root with a single - bullet.
  • Phone-only: scope CSS to @media (max-width: 640px), ((pointer: coarse) and (max-width: 820px)) (the .modal-sheet tier). No visual diff at 1280 — lane grid, .ham-cols spans, .ham-anim-layer geometry, TV/display mode, kiosk, hover-revealed tools and the popout are unchanged.
  • No native browser dialogs (alert/confirm/prompt); long content goes in .hive-dialog.modal-sheet via hiveWireDialog.
  • Sizes through tokens only: --tap-target, --tap-glyph, --sp-*, --fs-*, --fs-touch, --safe-area-*.
  • Verification: extend the activity-density state in src/scripts/dashboard-mobile-shots.mjs (fixture src/scripts/fixtures/dashboard-activity-density.mjs) with a 390×844 assertion named in the acceptance criteria, and post 390×844 + 1280 screenshots in the PR.

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 8, 2026
  2. hivecommons-hive commented on Nov 8, 2026

    @hivecommons-hive
    Contributor

    PR #17183 covers this issue: #17183

    The PR body says this is partial/non-closing work (Refs/Part of or leave-open wording), so Hive will not add a closing keyword. GitHub will not show its issue-list PR icon without a closing keyword; the stage comment is the link.

  3. clubanderson commented on Nov 8, 2026

    @clubanderson
    MemberAuthor

    /claim

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

    dashboardDashboard UI and API issuesenhancementNew feature or requesthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/claimed-by-clubandersonClaimed by @clubandersonhive/partially-addressedA merged PR addressed only part of this issue; remainder still actionable

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions