Skip to content

docs(design): specify the background activity strip and its notifications - #688

Merged
mohitranka merged 1 commit into
mainfrom
docs/background-strip-design
Sep 14, 2026
Merged

mohitranka merged 1 commit into
mainfrom
docs/background-strip-design

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Docs-only. The design system described the footer's counts-only chip and referred per-item detail to "the task view" — a surface that was never named. The strip now renders (#685, #686) and notifies (#687), so the rules that shipped, and the reason each exists, belong in the design language rather than only in the code.

Adds §9.12 (the strip) and §9.13 (out-of-band notification), and points Row 1 of §9.3 at them.

The rules recorded are the ones that are load-bearing and easy to undo by accident:

  • Height is derived by the layout against the transcript's Min floor, never requested by the renderer — a running job cannot take a row from the conversation.
  • Ordering is blocked → failed → active → queued → done, because truncation takes from the tail and naive ordering hides the failure first.
  • cancelled is its own state, not folded into done, so a cancellation the operator did not perform stays visible.
  • Expiry is measured from finished_at, and only [✓] retires.
  • The notification fires on two transitions only, gated on lost focus, with auto silent rather than ringing the bell on an unrecognised terminal.
  • Notification text is sanitized because labels come from the model.

No code changes.

…ions

The design system described the footer's counts-only chip and referred per-item
detail to "the task view", which did not exist as a named surface. The strip now
renders (#685, #686) and notifies (#687), so the rules that shipped — and the
reason each exists — belong in the design language rather than only in the code.

Adds §9.12 (the strip) and §9.13 (out-of-band notification), and points Row 1
of §9.3 at them. The rules recorded are the ones that are load-bearing and easy
to undo by accident: the derived height that keeps the transcript's floor,
the ordering that stops truncation hiding a failure, `cancelled` staying
distinct from `done`, the one-minute expiry, and the focus gate on the
notification.
@mohitranka
mohitranka merged commit 1f8563f into main Sep 14, 2026
3 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