Skip to content

Narrow Needs attention to things blocked on the viewer #3030

Open

Description

@sentry-junior

"Needs attention" in the dashboard conversation list mixes three signals, so it flags conversations that do not wait on the viewer. Rows move into the section for routine replies, which makes the list look unpredictable.

Current behavior

  • needsAttention is waitingConversationIds ∪ unread ∪ (unfinishedWork && status !== "active") (packages/junior-dashboard/src/client/conversations/conversationSections.ts).
  • Unread is any non-quiet assistant message after the viewer's read position (packages/junior/src/api/conversations/unread.ts, latestVisibleReply). Every visible reply, including acks such as "I passed your message to the subagent", therefore moves the row into Needs attention.
  • GitHub unfinishedWork is any open PR linked to the conversation or its children (packages/junior-github/src/pull-request-outcomes/store.ts). A PR that waits on CI or on another reviewer stays in Needs attention for as long as it is open.
  • Only open action Review items assigned to the viewer actually wait on the viewer (review-desk/queries.ts, useWaitingConversations).
  • The row marker repeats the overlap: waiting (violet dot) and unread (orange dot) differ only in colour and 0.5 units of size (ConversationListStatusIcon.tsx).

Gap

  • The section carries no meaning of its own, because unread ⊂ attention. People learn to ignore it, which is the classic alert-fatigue failure (AHRQ PSNet: make "only high-level (severe) alerts interruptive").
  • External asks that do wait on the viewer, such as a GitHub review requested from them, never show.

Proposal (from the navigation/attention UX review)

  • Rename the section to "Needs you". Its only members are open action Review items assigned to the viewer, plus plugin-reported asks with a reason, modelled on GitHub's notification reason (docs). Examples: review requested from the viewer's linked account, changes requested on their PR, ready to merge and waiting on them. Generalize the unfinishedWork hook, or add a sibling hook, so plugins own the provider semantics.
  • Remove unread and "any open PR" from the predicate. Unread becomes a reading state only, shown as a bold title, and it does not move the row.

Related: the reply notify signal and list-ordering issues filed alongside this one.

via @BYK.

--

View Session in Sentry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions