Skip to content

Title bar + Board: attention summary pill#71

Merged
Ed-Barnes937 merged 2 commits into
mainfrom
titlebar-attention
Jul 21, 2026
Merged

Title bar + Board: attention summary pill#71
Ed-Barnes937 merged 2 commits into
mainfrom
titlebar-attention

Conversation

@Ed-Barnes937

Copy link
Copy Markdown
Collaborator

Fifth Refined-redesign deferred item (audit: "'Needs review' is a section, not a signal — promote an attention summary to the title bar and the top of the Board").

What changed

  • Title bar — a warning-toned N waiting on you pill next to the session counts. Hidden at zero.
  • Board — the same summary leads the board filter bar, filled from the same counter.
  • Definition — sessions whose agent is waiting for input, plus sessions that finished while away (unread). Derived through sessionStateKey, so the queue agrees with the status-chip vocabulary everywhere (waiting/finished are exactly the warning-hued chip states).
  • Ordering fixapplySnapshot now updates title-bar counts after renderBoard, because the board pill is created with the filter bar on first render.

Tests

  • AppPageObject.attentionPill() (shared chrome accessor), BoardPageObject.boardAttention(); new titlebar/attention.iwft.ts with 4 scenarios: hidden at zero, counts waiting+unread, board mirror, clears on event-push drain.
  • npm run typecheck clean · vitest 62/62 · iwft 108/108.

🤖 Generated with Claude Code

Ed-Barnes937 and others added 2 commits July 21, 2026 12:20
Audit item (Low/Discoverability, deferred from the #59-#66 stack): the one
thing you most want — what's waiting on me — had no at-a-glance count. A
warning-toned pill now sits in the title bar next to the session counts,
and the same summary heads the Board's filter bar. Both fill from one
attentionCount(): sessions whose agent asked for input (waiting) plus ones
that finished while away (unread → finished), derived via sessionStateKey
so the queue stays in lockstep with the status-chip vocabulary. Hidden
entirely at zero — a summary, not a control.

applySnapshot now updates the title-bar counts after renderBoard, since
the board's pill is created with the filter bar.

AppPageObject gains attentionPill() (app chrome, shared); BoardPageObject
gains boardAttention(); new titlebar/attention.iwft.ts with four scenarios
(hidden at zero, title-bar count, board mirror, drain via event push).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Review finding: the Hide-empty toggle rebuilds the filter bar, recreating
the attention pill blank and hidden until the next poll snapshot refilled
it (~2s). Call updateTitleBarCounts right after the rebuild, and assert
the survival in the board scenario.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Ed-Barnes937
Ed-Barnes937 merged commit e4ed28c into main Jul 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant