Skip to content

fix(ui): show chat completions as activity rows - #201891

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/nova-shell-5
Nov 28, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/nova-shell-5

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

When a background command or a helper agent wakes a chat, the return is shown in smaller divider text. A helper’s completion can appear twice: once in the divider and once in its activity row.

User Impact

User impact: a helper’s existing completion row now carries the elapsed time, without a second announcement. Background command completions use the same text size and spacing as nearby activity, with a terminal icon. Automatic follow-up still stays under the original request.

Why This Change Was Made

Keep the turn grouping from #200056 and the agent outcome rows from #198133. For an explicit wait, the existing child list still opens from its resume row. Nothing changes in how executions wake the agent or how work is recorded.

Evidence

Reproduced the duplicate in bundled Chromium using real Control UI rendering and Gateway-projected history. Six browser checks passed (completion, reload, waiting, and child-list flows), along with 111 focused chat tests, the production UI build, typecheck, formatting, stylesheet lint, and locale verification. The browser screenshots use a synthetic transcript; no external model was used. Visual evidence: before/after and explicit handoff.

Clean comparison

Before

Before: the small resume divider repeats the agent outcome

After

After: one agent completion and a terminal row for a background command

Annotated comparison

Before: small background divider and duplicated agent completion outlined

After: matching tool row and single agent completion with timing outlined

Explicit handoff

After: the resume row still opens the waited-on agents and their statuses

Credit: @vyctorbrzezowski for the design direction and the existing completion narration; @obviyus for the continuation grouping.

Work sessions

Linked for team reference; these sessions aren’t public.

Worked on by

roboclaw-bot and others added 2 commits November 19, 2026 14:36
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 1bc60ba0-4409-46cf-ba92-36b1434eb7a4
@clawsweeper

clawsweeper Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: M labels Nov 19, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 19, 2026
@clawsweeper

clawsweeper Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR renders background completions as activity rows and attaches continuation timing to existing agent completion rows.

Example: A helper finishes 4m 39s after the preceding activity.

  • Before: A small “Resumed · 4m 39s later · Agent finished” divider appears above “An agent finished.”
  • After: One activity row reads “An agent finished · 4m 39s later.”

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, apparently correct repair with inspected visual evidence; execution evidence is limited to reported harness checks, and substantive exact-head CI has not run.
Proof confidence 🦐 gold shrimp (3/6) ✨ media proof bonus Sufficient (screenshot): Inspected Chromium screenshots show the changed Control UI rendering with Gateway-projected synthetic history: duplicate completion narration becomes one timed outcome row, background completions use activity styling, and explicit handoffs retain their expanded child list. This proves the visible presentation; it does not claim external-model execution.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A helper completion is announced twice, and automatic continuation markers look smaller than surrounding activity.
Reason: The duplicate is visible in the supplied evidence, and the maintainer-authored direction preserves the established grouping and outcome contracts.

Merge readiness

✅ Ready for maintainer review

Keep this PR open: it removes duplicate completion narration while preserving continuation grouping, and no introduced correctness or security defect was found. It remains a draft.

Priority: P3
Reviewed head: 98cdfb2752b9e2ca5c4a596f094e36ab5fad4a7e

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The updated completion-and-reload assertions have no supplied execution record demonstrating failure on the base and success on the head.
Agent review details

How this fits together

The Control UI receives Gateway-projected history, groups resumed work under its original request, and renders completion facts and explicit handoff disclosures.

flowchart TD
  A[Gateway projected history] --> B[Chat turn grouping]
  B --> C[Agent run frame]
  C --> D[Completion activity row]
  C --> E[Background activity row]
  C --> F[Explicit handoff disclosure]
Loading

Technical review

Best possible solution:

Keep completion narration in its existing outcome row, reuse activity styling, and preserve explicit handoff disclosures as this patch does.

Do we have a high-confidence way to reproduce the issue?

Current-main source independently renders a continuation marker and a producer-confirmed completion row, matching the supplied before image; no target code was executed during this review.

Is this the best way to solve the issue?

The patch is focused: it reuses the existing completion renderer and activity styles, carries timing by message identity, and removes the superseded divider styling without adding persistence or a competing grouping path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 307d9c45fb25.

Provenance checked

  • Automatic continuation markers and wording changes intended behavior with a stated reason (24385a2: Keep autonomous follow-up work in its original request while marking where it resumed and preserving earlier answers.)
  • Producer-confirmed subagent outcome rows keeps the original intent (18136c9: Render recorded completion outcomes once with stable identities, including unsuccessful outcomes.)
  • Explicit handoff disclosure and divider styling changes intended behavior with a stated reason (0ab9fc0: Keep the spoken acknowledgment visible and show when waiting ended, with an expandable access-scoped child list.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 18136c9 adds ui/src/pages/chat/components/chat-subagent-completion.tsx:9 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 18136c960eaf; files: ui/src/pages/chat/components/chat-subagent-completion.tsx)
  • Ayaan Zaidi: Raw commit 24385a2 adds ui/src/pages/chat/components/chat-agent-run-frame.tsx:279 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 24385a20428a; files: ui/src/pages/chat/components/chat-agent-run-frame.tsx)

PR surface

Source +42, Tests +18, Docs +1. Total +61 across 9 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 6 98 56 +42
Tests 2 33 15 +18
Docs 1 8 7 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 9 139 78 +61

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This improves transcript readability and removes repeated narration without changing execution or message delivery.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 19, 2026, 9:54 AM ET / 14:54 UTC.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review November 28, 2026 07:15
@vyctorbrzezowski
vyctorbrzezowski merged commit aa4a68f into main Nov 28, 2026
62 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/nova-shell-5 branch November 28, 2026 07:15
vincentkoc added a commit that referenced this pull request Nov 28, 2026
* commit '262f14aab89ca286633992760fa45aeeded998f9': (207 commits)
  fix(ui): remove redundant type argument from Board browser test (#207352)
  test(channels): distinguish status and batch fixtures (#207232)
  fix(ui): type the Board drop test mock as void (#207348)
  fix(ui): break the Skill Workshop import cycle (#207345)
  test(channels): expose label guard regressions (#207195)
  fix: explain when a previous automation run keeps the agent from starting (#207180)
  refactor(test): consolidate loader proof and repair rollback coverage (#207152)
  fix(agents): one tool-result bound on every route, untrusted-content wrapper intact (#207101)
  test(plugins): verify staged SDK named exports (#207170)
  fix(ui): truncate empty Compose hints on narrow screens (#207301)
  fix: keep unsent Cmd+K Compose drafts when reopened (#207307)
  fix: explain chat update errors when a session changes (#206419)
  fix(ios): keep consecutive commands on one line in chat (#207242)
  fix(ios): keep connection messages from flashing when chat reopens (#207233)
  fix(ios): give Sessions groups more breathing room (#207221)
  fix(ui): show chat completions as activity rows (#201891)
  fix(ui): make empty composer hints look distinct from drafts (#207295)
  fix: explain why chat won’t attach an empty file (#206402)
  fix(agents): show Doctor's restore-first warning before deleting a held store (#207290)
  test(channels): fix join failure proof and trim probe fixture (#207264)
  ...
vincentkoc added a commit that referenced this pull request Nov 28, 2026
* commit '262f14aab89ca286633992760fa45aeeded998f9': (207 commits)
  fix(ui): remove redundant type argument from Board browser test (#207352)
  test(channels): distinguish status and batch fixtures (#207232)
  fix(ui): type the Board drop test mock as void (#207348)
  fix(ui): break the Skill Workshop import cycle (#207345)
  test(channels): expose label guard regressions (#207195)
  fix: explain when a previous automation run keeps the agent from starting (#207180)
  refactor(test): consolidate loader proof and repair rollback coverage (#207152)
  fix(agents): one tool-result bound on every route, untrusted-content wrapper intact (#207101)
  test(plugins): verify staged SDK named exports (#207170)
  fix(ui): truncate empty Compose hints on narrow screens (#207301)
  fix: keep unsent Cmd+K Compose drafts when reopened (#207307)
  fix: explain chat update errors when a session changes (#206419)
  fix(ios): keep consecutive commands on one line in chat (#207242)
  fix(ios): keep connection messages from flashing when chat reopens (#207233)
  fix(ios): give Sessions groups more breathing room (#207221)
  fix(ui): show chat completions as activity rows (#201891)
  fix(ui): make empty composer hints look distinct from drafts (#207295)
  fix: explain why chat won’t attach an empty file (#206402)
  fix(agents): show Doctor's restore-first warning before deleting a held store (#207290)
  test(channels): fix join failure proof and trim probe fixture (#207264)
  ...
vincentkoc added a commit that referenced this pull request Nov 28, 2026
* commit '262f14aab89ca286633992760fa45aeeded998f9': (207 commits)
  fix(ui): remove redundant type argument from Board browser test (#207352)
  test(channels): distinguish status and batch fixtures (#207232)
  fix(ui): type the Board drop test mock as void (#207348)
  fix(ui): break the Skill Workshop import cycle (#207345)
  test(channels): expose label guard regressions (#207195)
  fix: explain when a previous automation run keeps the agent from starting (#207180)
  refactor(test): consolidate loader proof and repair rollback coverage (#207152)
  fix(agents): one tool-result bound on every route, untrusted-content wrapper intact (#207101)
  test(plugins): verify staged SDK named exports (#207170)
  fix(ui): truncate empty Compose hints on narrow screens (#207301)
  fix: keep unsent Cmd+K Compose drafts when reopened (#207307)
  fix: explain chat update errors when a session changes (#206419)
  fix(ios): keep consecutive commands on one line in chat (#207242)
  fix(ios): keep connection messages from flashing when chat reopens (#207233)
  fix(ios): give Sessions groups more breathing room (#207221)
  fix(ui): show chat completions as activity rows (#201891)
  fix(ui): make empty composer hints look distinct from drafts (#207295)
  fix: explain why chat won’t attach an empty file (#206402)
  fix(agents): show Doctor's restore-first warning before deleting a held store (#207290)
  test(channels): fix join failure proof and trim probe fixture (#207264)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 29, 2026
* fix(ui): show chat completions as activity rows

Co-authored-by: vyctorbrzezowski <[email protected]>

* fix(ui): show chat completions as activity rows

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 1bc60ba0-4409-46cf-ba92-36b1434eb7a4

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: vyctorbrzezowski <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 30, 2026
* fix: preserve completed Claude tool calls in chat history

* fix: preserve completed Claude tool calls in chat history

OpenClaw-Publication: d3a267f1-3ba5-4fc9-a4dd-3968148f8eb1
(cherry picked from commit a27b4e6)

Follow-ups: 49492d7 fix: align Control UI tooling and docs with task card removal (#207747) [not selected for this narrow backport]; cebbb78 fix: keep tagged silent replies out of chat (#207738) [not selected for this narrow backport]; d4e1305 fix: hide desktop Details when there is nothing to show (#205093) [not selected for this narrow backport]; 11b2cf0 fix: keep the selected Review file compact when the tree is open (#203825) [not selected for this narrow backport]; 4be636b feat(ui): offer Add to Home agent when Home sidebar is open (#207773) [not selected for this narrow backport]; f766de4 fix: surface favorites and recommended models in picker search (#201450) [not selected for this narrow backport]; 61a7661 improve(ui): remove suggested-task cards from Control UI (#199167) [not selected for this narrow backport]; 48cc039 fix: keep long process names compact above mobile output (#203767) [not selected for this narrow backport]; 9316f05 fix: show the first message when session naming fails (#205607) [not selected for this narrow backport]; aa4a68f fix(ui): show chat completions as activity rows (#201891) [not selected for this narrow backport]; ec209d0 fix(ui): link selection sessions to their source session (#206509) [not selected for this narrow backport]; 3f475cc fix(ui): keep pre-final assistant text visible after a completed turn (#140835) [not selected for this narrow backport]; 05ec989 fix: keep chat photo previews sharp within their byte limits (#206461) [not selected for this narrow backport]; b3bdfb5 feat(ui): preview CSV chat attachments as tables (#206148) [not selected for this narrow backport]; 6b3ccab fix: show Waiting and Resumed for Claude CLI subagent handoffs (#206158) [not selected for this narrow backport]; 762aa00 fix: keep dictation recording when switching tabs or applications [not selected for this narrow backport]; d3f9fca fix: keep similar subagent names distinct in compact rows (#203777) [not selected for this narrow backport]; 864efbb improve: keep composer error cards on one line (#204337) [not selected for this narrow backport]; d7ed2dd fix: stop replaying Claude progress updates in active chats (#203970) [not selected for this narrow backport]; 269f884 fix: show Claude CLI document uploads only once in chat (#203866) [not selected for this narrow backport]; 4708bac fix(ui): show Linear artwork in chat tool activity (#204414) [not selected for this narrow backport]

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants