Skip to content

ui-kit: add a compact animated status indicator with hover and tap details #3281

Closed

Description

@schlessera

Out of scope

No generic state engine, provider/storage authority, new plugin seam or wholesale conversion of existing status displays. No implementation of attachment admission/retention/readers or deletion authority here; #3155 owns composer integration and #3231 owns Sessions deletion recovery. Existing StatusDot consumers keep their semantics.

Context

Maintainer ruling on #3155 (2026-11-02): replace the proposed draft-status text line with an animated icon, create a standardized component for places where space is limited, color-code it and provide details on hover/tap. Keyboard and reduced-motion access must preserve the same meaning.

Verified source at issue filing: StatusDot, packages/ui-kit/src/primitives/StatusDot.tsx:36-48, draws a colored optional pulse but has no glyph/detail interaction. IconButton, packages/ui-kit/src/primitives/IconButton.tsx:25-55, supplies a named native control. TranscriptQualifiers, packages/ui-kit/src/conversation/TranscriptQualifiers.tsx:67-105, demonstrates equivalent hover/focus/tap detail access; its evidence-specific vocabulary is not a generic status API. Read the surrounding implementation for its overlay/focus/cleanup behavior. Shared reduced motion is in packages/ui-kit/src/tokens.css:1407-1446; refresh anchors at pickup.

Read docs/decisions/design-kit/components-and-interactions.md (D20, D55), docs/decisions/design-kit/sessions-and-drafts.md (D52), the current #3155 body and docs/decisions/example-corpus.md. D52 currently makes the shared row/pane static. The explicit new animation instruction is a scoped amendment for this compact operation-status component, including its draft consumer, not permission to animate every tracker or row; record that amendment during implementation.

Supplied design and interactive review — maintainer, 2026-11-02

The supplied StatusIndicator design is the current matrix/interaction/API review input. Do not request another generic design or reopen the selected compact-icon/hover-tap direction.

R1 — queued tone: selected A, neutral. Waiting on a known prerequisite uses a neutral tone with a distinct clock glyph and useful details, rather than gold caution. This keeps ordinary waiting calm and reserves caution for attention/unknown facts, accepting reduced visual prominence for pending work. Queued does not imply saved or successful; exact-acknowledgement requirements, consumer evidence and at-risk leave/recovery guards remain active.

R2 — draft-success visibility: selected A, persistent while the acknowledged draft remains nonempty and unchanged. Keep the static teal checkmark available for inspection instead of hiding it a few seconds after saving. Editing text/file bindings immediately invalidates that saved indication until the exact new revision is acknowledged. Hide the indicator for an empty draft while reserving its layout slot. This favors ongoing saved-state reassurance at the cost of a small persistent icon; no timer may manufacture success or preserve an outdated saved claim.

R3 — selected A: approve the shared status specification for implementation. The matrix, interaction, consumer-supplied data/actions and multi-operation presentation below are approved, incorporating R1 neutral queued tone and R2 persistent exact-acknowledgement success. The supplied design/mocks are layout references governed by this current specification; ordinary implementation/browser/accessibility proof remains required, not an unanswered design choice. Remove needs: decision and add agent-ready because no other prerequisite label remains. Runtime integrations stay with #3155/#3231, so their unfinished host contracts do not block this presentational component's fixture-driven implementation.

Scope

Design and implement one public ui-kit component, working name StatusIndicator, for compact operation state with a meaningful glyph/color and bounded activity animation. Selected consumers: acknowledged draft saving in #3155 and compact persistent Sessions deletion recovery in #3231. Demonstrate both in stories; their runtime integrations remain owned by those consumer issues. The component consumes host-supplied state/labels/details; it does not infer successful storage from elapsed time or animation.

Acceptance criteria

  • Queued status uses the selected neutral tone and distinct clock glyph, with details explaining the known prerequisite. Keep unknown/attention/failure distinguishable; queued is not saved/success and never clears consumer recovery/leave guards by itself.
  • A compact icon is the normal presentation, replacing a mandatory persistent status line in the draft consumer. Color and glyph/shape together distinguish active work, confirmed success, attention/offline/unknown, failure/refusal and appropriate idle states; do not encode meaning by color or motion alone. Reuse existing semantic kit tone tokens in both themes; unknown/unacknowledged is never success.
  • Animate actual active/pending work using the kit's bounded activity treatment, not idle/saved/error states. Reduced motion provides a static, equally meaningful glyph, and state details remain available. No fabricated percentages or repeated animations implying fresh activity.
  • Provide readable details on hover and keyboard focus; tap/click/Enter/Space opens persistent details through existing kit interaction/overlay conventions. Do not rely on a native title or hover alone. Show the state, useful reason/evidence/freshness where relevant and available recovery actions supplied by the consumer. Status activation reveals details, not an implicit retry/save/delete or other effect.
  • Use a native focusable named control with an effective 44px touch target, no overlap with adjacent controls, Escape/dismiss behavior and reliable focus return. Keep hover details reachable/dismissible and within the viewport at 320px/text enlargement. State changes while details are open remain accurate; announce meaningful state transitions politely without per-frame/progress spam.
  • Keep the draft consumer's static teal saved checkmark while the exact acknowledged draft remains nonempty and unchanged; do not hide it after a timer. Text/file edits invalidate saved immediately until the new exact revision/bindings are acknowledged. An empty draft hides the indicator but retains its slot.
  • Document the presentational API/state vocabulary, truthful unknown cases and consumer responsibility for authoritative evidence. ui-react: offer a generic file picker with honest attachment lifecycle states #3155 may show saved only after acknowledgement of the exact text revision and original-file bindings. Its pending/refused/offline/unknown details preserve at-risk leave/recovery behavior. A compact icon must not swallow required action controls or falsely clear a blocking failure.
  • Keep existing supported kit consumers compatible. Publish any new export additively with authoritative API/integration-contract updates and the appropriate minor changeset; load the release skill before changing the shipped API. Record the scoped animation/design ruling and chosen alternatives in the relevant design-kit records.
  • Implement the approved R1/R2/R3 matrix, interaction and presentational API below, using the supplied phone/desktop mocks as layout references. Design review is complete for this scoped component; no needs: decision or needs: design remains. Add agent-ready; real browser/accessibility/API proof is implementation work, not claimed completed by design approval.

Verification

Use keyless Odysseus fixtures, component/API checks and pinned actual-browser tests for hover/focus/tap/keyboard equivalence, persistent-detail dismissal/focus, touch-edge hit testing, dynamic state/reason changes, unknown versus success, both themes, 320px/desktop, text enlargement and reduced motion. Prove named mutations for lost keyboard/tap details, false success or broken reduced motion fail the intended assertions, restore and rerun. Run affected checks and required PR preflight; no external accounts/network are needed.

Contract impact

Planned additive public ui-kit component/props, contract documentation/API report and minor changeset during implementation. No current API is changed by filing. Wanted unscheduled work, priority p2; no release milestone selected. Referenced by #3155 and #3231 for consumer integration; this shared kit task remains standalone rather than being attached to an unrelated epic.

Design deliverable

The supplied design and the approved specification below complete the concrete design deliverable. Implement it with the linked phone/desktop dark/paper mocks as layout references and the stated real-browser cases; do not request another generic design or reopen the selected icon-versus-persistent-line, queued-tone or success-visibility choices. No implementation, pixel baseline or browser proof is claimed by this approval.

Second selected consumer — #3231 (maintainer, 2026-11-02)

The maintainer selected B: use this component for incomplete/unconfirmed chat-deletion recovery in Sessions. The indicator must remain discoverable after the chat row disappears and restore across reload until resolution. Tap/keyboard details expose safe state/remaining-store facts and authorized Check or Retry; hover/focus offers useful details. Opening details is not the action. Animate only actual activity, distinguish unknown from success and preserve current principal/operation identity. #3231 owns the host receipt/reconciliation/actions and non-content-only retention; this component does not infer deletion, retain titles/transcripts or introduce replay authority.

Add the selected recovery consumer to the design/state matrix and stories without a second status-component implementation or a broad migration. Exact operation facts and reasons are supplied by the owning consumer. R3 approves this consumer's presentational matrix as part of the shared specification; #3231 still owns its actual host reconciliation/integration. No separate design prerequisite remains on this shared component and no policy interview needs repeating.

2026-11-02 interactive queued-tone ruling: R1 A, neutral with a distinct clock glyph/details for ordinary prerequisite waiting. R2/R3 remain open; no whole-design approval, implementation, runtime evidence or release commitment is claimed.

2026-11-02 interactive success-visibility ruling: R2 A, persistent static teal saved checkmark while the exact acknowledged draft remains nonempty and unchanged. Edits invalidate it immediately; empty drafts hide it with the slot retained. R3 review remains open. No whole-design approval, implementation, runtime proof or release commitment is claimed.

Approved implementation specification — maintainer, 2026-11-02 (R3 A)

State, glyph, tone and motion

State Existing Icon key Tone Motion and meaning
active loading amber Breathe while the consumer reports actual ongoing work
queued later neutral Static; waiting on a known prerequisite, not success
success finished teal Static; authoritative confirmation supplied by the consumer
attention attention gold Static; known recoverable limitation such as offline/paused
unknown unproven gold Static; outcome unconfirmed, never success
failed stopped red Static; known failure
refused unreachable red Static; known refusal, not inferred from a lost reply
idle withdrawn neutral Static; no pending work; consumer may hide it

Only active animates using the existing kit breathe treatment (2 seconds); do not restart it on progress events/re-renders. Reduced motion keeps a fully legible static active glyph and equivalent names/details. No elapsed-time transition can produce success or fresh evidence. Consumers own freshness and can supply unknown; this component is not an evidence timer/state engine. Preserve the scoped D52 animation amendment for this component and its selected consumers only.

Interaction, details and accessibility

  • A 20px semantic glyph sits in a native named button with a 44px effective target. Adjacent targets cannot overlap. At 320px/200% text, allow the model label/details to wrap without hiding buttons or required recovery actions.
  • Hover after 300ms or keyboard focus exposes the same useful summary in a hoverable/dismissible tooltip. Use the existing qualifier interaction pattern: viewport clamping, flip above/below as needed, Escape dismissal without moving focus and cleanup on unmount. No native-title-only explanation.
  • Click/tap/Enter/Space opens persistent details using the existing Overlay dialog behavior: phone sheet presentation, desktop dialog. Initial focus goes to the details heading. Close/Escape/scrim follows existing topmost-overlay dismissal and returns focus to the trigger, with the consumer's returnFocus fallback if it vanished.
  • Opening details has no storage, network or recovery effect. Any Check/Retry/Delete/other effect is a separate consumer-supplied named button and preserves that consumer's current authority/identity checks.
  • Details show heading, state glyph/word, useful summary/explanation, key/value facts and each operation's own actions. Keep content accurate during updates; do not repeatedly focus the heading or displace an action the user is using. One coherent polite announcement path reports meaningful state changes without duplicate overlay/trigger messages or per-progress spam. Dedupe/coalesce routine updates without swallowing new attention/unknown/failure/refusal states.
  • Accessible name describes consumer label, current state and Details, with expanded/dialog association. Color/motion never carries meaning alone. State/fact text wraps and details remain inside the viewport in both themes.

Multiple operations and presentational API

The proposed additive StatusIndicator accepts label, summary, title, operations and an optional returnFocus callback. Each operation carries its stable consumer id, state, stateLabel, optional explanation, key/value facts and ReactNode actions. Operations and all authority/evidence/persistence remain consumer-owned. This is the API shape to implement/document, not permission to create an operation service or change existing StatusDot semantics.

Derive the display priority/count only: refused → failed → unknown → attention → active → queued → success → idle. Show a count for two or more operations and list every operation separately in persistent details. A priority glyph never implies all operations share that outcome; summary/details preserve mixed unknown/failure/activity facts, and action identity cannot follow an array index or previous principal. An empty list is idle/hidden, not success.

Consumer matrix and layout references

Draft (#3155): icon after Attach and before the model label; held/returned-card indicators bind to that exact snapshot, including the selected multi-card design. A save in flight is active; uploading/awaiting admission is queued; offline is attention; lost acknowledgement is unknown; known file failure is failed; known space/admission refusal is refused. Show success only for the exact acknowledged text/file revision, keep it visible while nonempty/unchanged, invalidate immediately on edits and hide an empty draft with its slot retained. Keep existing at-risk leave/recovery guards. Consumer code owns all these mappings.

Deletion recovery (#3231): one Sessions-header summary, beside drawer close below 1280px and in the pane header at/above it, independent of removed chat rows. Facts are safe non-content operation facts only; no retained deleted title/transcript. Each operation's Check is read-only and Retry is authorized known remaining cleanup. The consumer owns receipt/persistence/principal clearing and the selected immediately closable 10-second checking presentation; this kit component does not implement it or infer retirement/completion.

Stories: both selected consumers plus a generic queued → active → success / unknown upload/sync example without product wiring. The supplied phone/desktop/matrix mocks are the reviewed layout input; apply the current state/interaction rules rather than treating every mock caption as runtime proof. At 320px show the compact composer icon and a readable bottom-sheet detail surface; on desktop show focus summary and persistent dialog. Both dark and paper use existing semantic tokens, wrapping facts and visible focus.

Source-qualified implementation notes and required proof

Source rechecked in this checkout at f7eb0e4: Icon has every selected semantic key; StatusDot supplies existing semantic tone/breathe precedent; TranscriptQualifiers supplies the native no-title composite trigger and tooltip/Overlay pattern. IconButton currently always emits a native title: do not assume an unsupported title-disable prop exists, change existing consumers or use it unchanged if it violates this component's no-native-title interaction. Compose a named native control through the established kit composite-control pattern. Overlay already supplies modal focus/dismissal; reuse it rather than inventing another overlay.

The shared reduced-motion keyframe can remain technically present while constant: prove no changing visual motion and unchanged legible glyph/name, rather than incorrectly asserting that the animation-name must disappear. Keep one actual announcement path and preserve action focus during updates. These are source/correctness clarifications inside the approved specification, not missing product choices.

Use actual pinned-browser tests for hover/focus/tap/Enter/Space equivalence; tooltip Escape/clamping/hover reach; persistent-detail dismissal/focus fallback and updates; distinct unknown versus success in both themes; reduced motion; 44px edge hit-testing with neighbouring controls at 320px/200% text; no effect on opening; and independent actions/summary/count for mixed operations. Mutate false success, lost keyboard/tap details, running visual motion or an effect-on-open, observe the named assertion fail, restore and rerun. Preserve complete browser descriptors and keyless/offline fixtures. Run relevant component/API checks and required preflight; add authoritative contracts/API reports/minor changeset and the scoped existing decision-record amendments during implementation.

2026-11-02 final shared-component ruling: R3 A, approve this specification for implementation with R1 neutral queued tone and R2 persistent exact-acknowledgement success. All design decisions on this issue are resolved; remove needs: decision and add agent-ready because no other needs label remains. Component runtime/browser/API proof and consumer integration remain future delivery work; no release milestone or implementation success is claimed by this tracker review.

Activity

  1. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    The maintainer selected a compact animated, color-coded operation-status component with hover/tap details while reviewing #3155. Its state meaning and first consumer are settled; the exact glyphs, motion, detail surface and focus behavior need a reviewed design before implementation.

    Design the public ui-kit StatusIndicator (working name) described in this issue.
    Read first: this issue, #3155's current body and its November 2 rulings;
    docs/decisions/design-kit/components-and-interactions.md (D20, D55),
    docs/decisions/design-kit/sessions-and-drafts.md (D52), and
     docs/decisions/example-corpus.md. Source anchors:
    StatusDot, packages/ui-kit/src/primitives/StatusDot.tsx:36-48;
    IconButton, packages/ui-kit/src/primitives/IconButton.tsx:25-55;
    TranscriptQualifiers, packages/ui-kit/src/conversation/TranscriptQualifiers.tsx:67-105
    (read the surrounding hover/focus/tap and overlay cleanup implementation);
    shared motion policy, packages/ui-kit/src/tokens.css:1403-1437.
    Reverify current anchors before implementation.
    
    Problem: a persistent draft-status line consumes scarce composer space, while
    an unlabelled colored dot cannot explain saving, acknowledged saved state,
    offline, refusal or an unknown outcome. Existing StatusDot is not a detail control.
    
    Design:
    1. Choose distinct glyph + semantic tone + motion for active, confirmed success,
    attention/offline/unknown, failure/refusal and idle. Use kit tokens, including
    light/dark contrast. Only genuine activity animates; reduced motion retains meaning.
    2. Specify equivalent hover/focus details and persistent tap/click/keyboard details,
    Escape/dismiss/focus return, dynamic updates, and reachability at 320px/200% text.
    No hover-only explanation or implicit operation/retry on status activation.
    3. Place the compact draft indicator with the composer and held-message bubble.
    Map exact acknowledged revision/file bindings, saving, unsaved uploads, offline,
    refusal and lost acknowledgement to honest details and existing recovery/leave guards.
    Show one additional story for compact save/upload/sync state; no broad consumer migration.
    4. Give a small presentational component/API proposal and existing kit component mapping.
    
    Hold 44px effective touch targets without neighbouring overlap; meaning beyond
    color/motion; native keyboard semantics; useful accessible names; polite non-spam
    announcements; no fabricated saved/progress claims; no public secrets/diagnostics.
    The maintainer explicitly permits scoped active animation for this component,
    including the draft consumer; document the narrow D52 amendment rather than
    silently changing motion rules for all trackers/rows.
    
    Deliver an exact state/glyph/tone/motion/details/focus matrix, ASCII phone/desktop
    mocks in both themes, consumer mapping and real-browser acceptance cases. An
    existing-primitives composition is valid; a decorative dot, hover-only control,
    mandatory persistent status line or fabricated success is not. Fold the reviewed
    result into the body and clear needs: design when complete.
    
  2. added
    type: featA new capability or a change in user-visible behaviour.
    area: ui-kitThe presentational design kit: components, tokens, Storybook, visual baselines.
    priority: p2Wanted, not scheduled. Pulled in when a milestone has room.
    needs: designBlocked on a design drop or a visual answer.
    contractTouches the integration contract: CONTRACT: commit, contract doc updated in the same commit.
    on Nov 2, 2026
  3. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Second consumer selected (maintainer, 2026-11-02; #3231): compact persistent Sessions recovery indicator for incomplete/unconfirmed deletion, with hover/tap details and explicit authorized Check/Retry. Include it in the existing design prompt/matrix/stories alongside #3155 draft saving. It survives row removal/reload until resolved; actual host state/actions and principal-bound reconciliation stay with #3231. The deletion decision forbids surviving titles/content, so generic component details must not retain them. Do not infer host retirement from a local fence or make opening details trigger deletion/retry. This is reuse of the same component, not a new state engine. Retain needs: design; no implementation or release is claimed.

  4. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Design brief: StatusIndicator

    This answers the design prompt and the second-consumer note. The direction (compact, animated, colour-coded, hover/tap details) is settled and not reopened here.

    It's a composition of existing kit parts: Icon (existing semantic keys only), the TranscriptQualifiers hover/focus/tap pattern, Overlay variant="dialog", the breathe keyframe, and Receipt-style key/value facts. No new icon, keyframe or overlay.

    Sources at b228b1f: StatusDot.tsx, TranscriptQualifiers.tsx (tooltip delay, Escape, viewport clamp, focus return), Icon.tsx (the D52 ringed working-session family).

    StatusIndicator state, glyph, tone and motion matrix in dark and paper

    320px: active draft, tap details, Sessions indicator after the row is gone, Sessions details, 200% text with reduced motion

    Desktop: keyboard-focus tooltip on the composer (paper), Sessions details dialog with two operations (dark)

    1. State vocabulary

    Every state has a distinct glyph, so neither colour nor motion carries the meaning alone. Tones are the existing StatusDot semantics: amber = acting, teal = ok, gold = caution, red = failed, neutral = idle.

    state Icon key (glyph) Tone Motion Meaning
    active loading (open ring) amber breathe 2 s on glyph opacity The host reports work in progress right now
    queued later (clock) neutral static Waiting on a known prerequisite, such as an upload in flight
    success finished (ring ✓) teal static Confirmed by authoritative evidence that the consumer supplied
    attention attention (ring !) gold static Known, recoverable limitation: offline, paused
    unknown unproven (dashed ring) gold static Outcome not known. Never success
    failed stopped (ring ✕) red static Known failure
    refused unreachable (ring ⁄) red static Refused before effect: admission, space, busy
    idle withdrawn (ring −) neutral static Nothing pending. Consumers may hide it instead (§5)

    Motion (scoped D52 amendment, recorded at implementation):

    • Only active animates, and only for this component and its two consumers. No other tracker or row changes.
    • The animation doesn't restart on progress events or re-renders, so it never flashes "new activity".
    • success appears without any animation.
    • Under prefers-reduced-motion, the glyph is static. The open-ring loading glyph still reads as "in progress", and the details stay the same.
    • The component has no timer. When a consumer's evidence goes stale, the consumer moves to unknown. Elapsed time never produces success.

    Several operations (Sessions): the indicator shows the worst state, in the order refused › failed › unknown › attention › active › queued › success, plus a count when there are 2 or more.

    2. Interaction

    Input Result
    Pointer hover (300 ms) or keyboard focus Tooltip (role="tooltip") with the one-sentence summary. Hoverable, clamped 16px inside the viewport, flips below when there's no room above. Escape hides it without moving focus.
    Click, tap, Enter or Space Opens persistent details in an Overlay variant="dialog" (a bottom sheet at phone widths, as the Overlay already does). Initial focus is on the heading.
    Close, Escape or scrim Focus returns to the trigger. If the trigger has gone, it returns to the consumer's returnFocus().
    Activation Only opens details. It never saves, retries, checks or deletes. Actions are separate buttons inside the details, supplied by the consumer.

    Details content:

    • Heading (title).
    • A state line: glyph plus state word in its tone.
    • Body text (summary or a longer explanation).
    • Facts as a key/value list: what was confirmed, when, what's left.
    • Each operation's consumer actions.

    If the state changes while details are open, the content updates in place and the heading keeps focus. The state line is role="status".

    Announcements: one polite live region per indicator. It speaks only when state changes, debounced 1 s, never on progress or summary-text changes. active → active stays silent. Entering attention, unknown, failed or refused always speaks.

    Touch target:

    • The glyph is drawn at 20px inside a native <button> with a 44×44 box. The visual size is 20px; the effective target is 44px.
    • In the composer it sits between attach and the model label (§4). The neighbouring 44px boxes touch but don't overlap.
    • At 320px and 200% text the row wraps the model label, never the buttons (P5).

    Accessible name: {label}: {state word}. Details. (for example Draft: couldn't confirm saved. Details.), with aria-haspopup="dialog" and aria-expanded. Native title is never used.

    3. API proposal (additive, presentational)

    type StatusIndicatorState = "active" | "queued" | "success" | "attention" | "unknown" | "failed" | "refused" | "idle";
    interface StatusIndicatorOperation {
      id: string;                 // consumer's operation identity
      state: StatusIndicatorState;
      stateLabel: string;         // "Couldn't confirm the draft was saved"
      explanation?: string;
      facts?: { key: string; value: string }[];
      actions?: ReactNode;        // consumer buttons; never triggered by opening details
    }
    interface StatusIndicatorProps {
      label: string;              // "Draft", "Chat deletions"
      summary: string;            // tooltip sentence for the worst operation
      title: string;              // details heading
      operations: StatusIndicatorOperation[];   // 1..n; worst state is derived
      returnFocus?: () => HTMLElement | null;
    }
    • Consumer responsibility: state must come from authoritative evidence. The component derives only the worst state and the count. It infers nothing from time, animation or the order of responses.
    • Consumers own: operation identity, principal binding and persistence across reload.
    • Not touched: StatusDot stays as it is, and no existing consumer migrates.

    4. Consumers

    #3155: draft.

    • Placement: in the composer tool row, after attach and before the model label.
    • Mapping:
      • success only when the host acknowledged this exact text revision together with its original-file bindings.
      • queued while files are uploading or not yet admitted.
      • active while a save request is in flight.
      • attention when offline.
      • unknown when the acknowledgement was lost.
      • failed when a file wasn't stored.
      • refused when the draft hit the space or admission limit.
      • Hidden when the draft is empty; the slot stays reserved, so there's no layout shift.
    • The existing at-risk leave guard fires for every state except success and hidden.
    • The held-message bubble shows the same indicator, bound to the snapshot, in its footer.

    #3231: deletion recovery.

    • Placement: in the Sessions header, beside close (drawer) or in the pane header (≥1280).
    • It survives removal of the row and reload until the host resolves the operation.
    • Facts are non-content only: requested time, device, store categories, last check. The chat title is never kept ("title not kept").
    • Actions: Check now is a read of the receipt. Retry removal is the authorized retry of known remaining cleanup. Both stay separate from opening details.

    Third story: a generic upload/sync example (queued → active → success, then unknown) with no product wiring.

    5. Browser acceptance (pinned real browser)

    1. Hover, focus, tap and Enter each expose the same summary. Tap and Enter open details. Escape hides the tooltip, then closes details. Focus returns to the trigger.
    2. Remove the trigger while details are open (the row disappears). Focus goes to returnFocus().
    3. Change state while details are open: the content updates and exactly one polite announcement fires. 20 progress updates in active produce no announcements.
    4. unknown and success render different glyphs and accessible names in both themes. A test fixture with no evidence never shows finished.
    5. Reduced motion: no running animation on any state, and the glyph and name are unchanged.
    6. Hit testing at 320px: taps at the edges of the 44px boxes reach attach, the indicator and send correctly, with no overlap. Also check at 200% text.
    7. The tooltip stays within the viewport at 320px in all four corners.
    8. Activating the indicator issues no network request. Only the action buttons do.
    9. Multiple operations: worst state and count are correct, and each action targets its own operation id.

    Mutations (each must fail):

    • Show finished for unknown: case 4.
    • Animate under reduced motion: case 5.
    • Make tap hover-only: case 1.
    • Fire an action on open: case 8.

    Review asks

    • R1. Queued tone. Neutral (proposed: waiting isn't a problem), or gold (caution)?
    • R2. Draft success visibility. The teal ✓ stays while the draft is non-empty (proposed). The alternative is to hide it a few seconds after saving, which would bring back the "is it saved?" doubt.
    • R3. Accept or correct the matrix, interaction and API above as the reviewed design for the body.

    Design file: Status Indicator 3281.dc.html.

  5. added
    needs: decisionBlocked on a maintainer or designer ruling, not on code.
    and removed
    needs: designBlocked on a design drop or a visual answer.
    on Nov 2, 2026
  6. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-02): R1 A — use a neutral tone for queued status. A distinct clock glyph and details explain the known prerequisite. This keeps ordinary waiting calm and reserves caution tones for attention/unknown facts, accepting that pending work is less visually prominent than gold.

    Queued never means saved/success; authoritative evidence, exact-revision/file-binding acknowledgement and at-risk leave/recovery guards remain the consumer's responsibility. Folded the choice into the body and acceptance criteria. R2 draft-success visibility and R3 matrix/interaction/API review remain open, so retain needs: decision for now. The concrete design has been supplied; no generic replacement proposal, whole-design approval or runtime proof is claimed.

  7. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-02): R2 A — keep the static teal saved checkmark while the acknowledged draft remains nonempty and unchanged. Do not hide it a few seconds after saving. This keeps saved-state reassurance inspectable, accepting a small persistent icon.

    Editing text/file bindings invalidates saved immediately until the exact new revision and bindings are acknowledged. An empty draft hides the indicator but retains its layout slot. Timers never infer success or retain a stale saved claim. Folded the choice into the body and acceptance criteria. R3 matrix/interaction/API review is still open, so retain needs: decision for now. No whole-proposal approval, runtime evidence or release commitment is implied.

  8. added
    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.
    and removed
    needs: decisionBlocked on a maintainer or designer ruling, not on code.
    on Nov 2, 2026
  9. schlessera commented on Nov 2, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-02): R3 A — approve the shared StatusIndicator specification for implementation. This incorporates R1 A (neutral queued clock) and R2 A (static teal saved checkmark while the exact acknowledged draft remains nonempty/unchanged).

    Approved: distinct state/glyph/tone matrix; only actual active work breathes with static reduced motion; equivalent hover/focus summary and persistent tap/click/keyboard details; existing phone sheet/desktop dialog, dismissal/focus return; separate consumer-authorized action buttons with no effect on opening; consumer-owned authoritative states/facts/actions; and multiple-operation priority/count with individually targeted details. Folded the concrete specification, consumer mappings, source corrections and browser/mutation proof obligations into the body. The supplied mocks are layout references, not runtime evidence.

    All current decision/design questions are answered. Remove needs: decision and add agent-ready: no other needs label or actual component prerequisite remains. #3155/#3231 own their host integration; their unfinished runtime does not block this presentational component's fixture-driven implementation. Preserve additive contract/API/minor-changeset and scoped D52 decision-record obligations during delivery. No implementation, completed runtime/browser proof or release commitment is claimed.

  10. self-assigned this
    on Nov 3, 2026
  11. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    Claiming for implementation (claim token si-3281-7d3ea73). Branch: feat/3281-status-indicator from origin/main at 7d3ea73. Scope: the R1/R2/R3-approved presentational StatusIndicator plus ui-kit stories only; consumer wiring remains with #3155/#3231. Collision report: path overlap with #3466 on packages/ui-kit/src/tokens.css only; the rest are closure overlaps.

  12. added this to the 0.45.0 milestone on Nov 3, 2026
  13. schlessera commented on Nov 3, 2026

    @schlessera
    OwnerAuthor

    Implementation is up as draft PR #3471 (head 0dbf7e9f4), with milestone 0.45.0 on both the PR and this issue. It contains the presentational StatusIndicator with the approved R1/R2/R3 matrix, interaction and API, plus ui-kit stories for the draft (#3155) and deletion-recovery (#3231) placements and a generic sync example. Consumer wiring stays with those issues.

    Proof so far: check:pr passed (receipt in the PR body), unit and API tests, and pinned-Chromium browser tests (18 visual, 6 rail-pointer targets, 32 story cases in both themes). Seven named mutations each failed their intended assertion and were restored. Review captures at 320 and 1280px in both themes are attached to the PR.

    Remaining: hosted candidate confirmation and merge. I'm releasing my claim; the open PR carries the work.

  14. removed their assignment
    on Nov 3, 2026
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-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ui-kitThe presentational design kit: components, tokens, Storybook, visual baselines.contractTouches the integration contract: CONTRACT: commit, contract doc updated in the same commit.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: featA new capability or a change in user-visible behaviour.

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions