Skip to content

fix(chat-recovery): one-line resume card - #50804

Merged
orca-remote-automation[bot] merged 4 commits into
mainfrom
ux/resume-card-one-line
Nov 27, 2026
Merged

orca-remote-automation[bot] merged 4 commits into
mainfrom
ux/resume-card-one-line

Conversation

@orca-remote-automation

@orca-remote-automation orca-remote-automation Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

After an update or restart, Orca tells you which agents it resumed. That card said the same thing three times. Now it's one line.

What Changed

Before: "Resumed 1 agent after the update." + Details, then a row for that same agent, then a footer "Orca asked agents to continue. Queued messages may be sent."

After:

  • One agent: one line, "Resumed ", with a status icon and close. No Details, list or footer.
  • Several agents: "Resumed N agents" + Details. Details expands the per-agent rows. Their icon column and edges line up with the header.
  • Resuming: same shape, with a spinner and "Resuming …" / "Resuming N agents…".
  • Failures: "Couldn't resume " / "Couldn't resume 1 of N", with the existing Retry inline. Retry is only shown for failures a retry can fix, and only retries those. A single failure keeps Details, so its reason and Open/Dismiss stay reachable. Agents that auto-resume deliberately left for you (waiting on an approval) are not reported as failures. They read "Resumed N agents · M need you", or "M need you" when nothing resumed.
  • Paired server: the server name is a muted label after the line. It gives way before the outcome and is hidden (still announced) when there isn't room.
  • The "Queued messages may be sent" footer is removed.
  • Long names ellipsize; no body text wraps at the narrowest toast width. Copy in all 11 locales leads with the outcome, so truncation never hides whether it worked.

The "agents stopped, Resume?" offer state is unchanged apart from the footer.

Why

The card repeated one fact three times. One line per state is quieter, and failures still get an action. Checked against how comparable products handle this.

Linked Issue

N/A (maintainer UX follow-up)

Visual Proof

Component fixtures, 328px toast (narrowest), light and dark.

State Light Dark
Before: 1 agent (Details open)
Before: 3 agents
After: 1 agent, long name
After: 3 agents
After: 3 agents, Details open
After: resuming 3
After: 1 of 3 failed (Retry)
After: 1 agent failed
After: 2 resumed, 1 left for you
After: paired server, 1 agent

Testing

  • I manually tested these changes locally (component fixtures for every state, light/dark, 328px and 416px, long names, German/Turkish, paired server)
  • Automated tests added/updated, or explained why not below: presentational UI. The existing ResumeToastTiming fixture cases (auto-dismiss timing) were run and pass.
  • Every added test fails without this change and avoids the test anti-patterns (no tests added)

pnpm check:changed passes.

Performance

None. Same render path and data. One extra filter pass over the toast's rows (already linear), and a small effect that re-checks focus when the toast's state changes.

A lone agent reads "Resumed <name>" with no list or footer; several read
"Resumed N agents" with Details. Failures say "Couldn't resume" with the
existing Retry, and a lone failure keeps Details for its reason and actions.
A paired server shows as a muted label that yields before the outcome.
Drops the repeated "Queued messages may be sent" footer.
@orca-remote-automation
orca-remote-automation Bot merged commit 0edb137 into main Nov 27, 2026
55 checks passed
nwparker added a commit that referenced this pull request Nov 27, 2026
#50804 uses it for the resume card's Details toggle, but the #50777 revert
removed it, so main fails typecheck.
nwparker added a commit that referenced this pull request Nov 27, 2026
#50804 uses it for the resume card's Details toggle, but the #50777 revert
removed it, so main fails typecheck.
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.

0 participants