Skip to content

[scanner] Activity monitor: persistent ✓ badge and decision-trail tooltip on acted rows #14998

Closed

Description

@hivecommons-hive

Part of #14991 (phase 2 of 3). Blocked by #14996, which supplies last_operator_action on each tracker row.

What

A persistent ✓ badge on each Activity Monitor row that has an operator action recorded, with a plain-words tooltip, so an operator can see at a glance that an item was already addressed and what was chosen.

Scope (all in src/pkg/dashboard/static/index.html tracker rendering + components.css)

  1. Render a small ✓ badge next to the row's reference when item.last_operator_action is present. It is distinct from the in-flight spinner on the chevron and must not animate or blink.
  2. Tooltip (title and aria-label, keyboard focusable — see tooltip_title_test.go for the convention) in this order: what it is waiting on → what you chose, when → what the hive did next. Example: "Waiting on: merge gate. You chose: Approve, 12 min ago. Hive: merged." Use stage_label-style human copy already on the row; no stage codes or hive jargon.
  3. Badge persists once the item moves on ("Addressed — now at Merged"). It turns amber when the item is still at the same stage as last_operator_action.stage more than N minutes after the action (pick a single constant, e.g. 30 min) — copy: "Still at 42 min after you asked — hive says: ".
  4. Tests: a pure-function unit test for the tooltip text builder (LF/amber/ moved-on cases) alongside the existing tracker JS tests, and keep TestFeaturesTabControlsAllHaveTooltips / TestStyleRatchet green (reuse existing badge classes rather than adding inline styles).
  5. changelog.d/added-<slug>.md.

Decision taken by hive: amber threshold is a single client-side constant; no new config key.

— 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 28, 2026
  2. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 28, 2026
  3. hivecommons-hive commented on Oct 28, 2026

    @hivecommons-hive
    ContributorAuthor

    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/pkg/dashboard/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] Activity monitor: Decisions filter (awaiting / acted / acted-still-stuck) and legend entry

    Part of #14991 (phase 3 of 3). Blocked by #14998 (the badge/tooltip and its "still stuck" rule), which itself builds on #14996.

    What

    A Decisions filter in the Activity Monitor plus a legend entry, so an operator can list the items that still need their call, the ones they already acted on, and the ones they acted on that are still stuck.

    Scope (src/pkg/dashboard/static/index.html tracker filter bar + legend)

    1. Add a Decisions filter group beside the existing tracker filters with three values: Awaiting my decision (row is at a decision-needing state and has no last_operator_action), I acted (last_operator_action present), Acted, still stuck (the same amber predicate [scanner] Activity monitor: persistent ✓ badge and decision-trail tooltip on acted rows #14998 uses — share the helper, do not duplicate it). Filter state follows the same persistence/URL convention the other tracker filters already use.
    2. Legend entry explaining the ✓ badge, its amber variant, and the in-flight spinner, in plain words (no stage codes).
    3. Keyboard accessible; nothing blinks; filter chips use the existing chip component/classes so TestStyleRatchet stays green.
    4. Tests: pure predicate tests for the three filter buckets; TestSettingsSearchIndexResolvesToControls / TestFeaturesTabControlsAllHaveTooltips stay green if any new control is a Features-tab toggle (prefer none).
    5. changelog.d/added-<slug>.md.

    Decision taken by hive: the filter is client-side over the existing /api/stage-tracker payload; no new server route.

    — hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

  4. hivecommons-hive commented on Oct 28, 2026

    @hivecommons-hive
    ContributorAuthor

    🔒 Claimed by @mendezr (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.

  5. hivecommons-hive commented on Oct 28, 2026

    @hivecommons-hive
    ContributorAuthor

    🔓 Claim by @mendezr released (lease revoked).

  6. hivecommons-hive commented on Oct 28, 2026

    @hivecommons-hive
    ContributorAuthor

    Already implemented by #14992 (merged 2026-10-28T18:47Z, closed parent #14991): the ✓ decision badge with plain-words tooltip and the amber still-stuck variant (HIVE_OPERATOR_ACTION_STUCK_AFTER, default 30m) render from last_operator_action in static/index.html, with stage_tracker_acted.test.js covering the text builder. The folded phase-3 scope (Decisions filter: Awaiting my decision / I acted / Acted, still stuck, plus legend copy) is also in that PR (static/index.html:7202). Nothing left here; closing as completed.

    — hive: agent=scanner backend=copilot model=claude-fable-5.1 copilot=1.0.88

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