Skip to content

improve(ui): show running processes with the accent - #190391

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/standardize-status-chat
Nov 2, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
brzezowski/standardize-status-chat

Conversation

@vyctorbrzezowski

Copy link
Copy Markdown
Member

What Problem This Solves

In the Processes panel, a running process has a terracotta spinner in the list and a green "Running" dot once opened. That green is also the "Completed" dot, so the two states differ only by their label.

User Impact

An open running process now shows the same accent as its list spinner and the rest of the app's running states. Completed stays green and failed stays red. No layout or copy changes.

Why This Change Was Made

This follows the running-state change for pages in #190383, and is separate so it can be reviewed alone. The rule uses an existing theme token, so CRT and other themes follow their own accent. The "Running" label remains the non-color signal.

The Details subagent avatar dot and tally segment use --info for running. They are not reachable with the mock's data, so they are left unchanged rather than changed unseen.

Evidence

Real clicks through the mock's swarm fixture (Details, View all processes, then a running process).

Absolutely dark

Absolutely light

CRT

390px

Checks: oxfmt and stylelint on the touched file, chat processes panel tests, and ui:check-performance:base. Not checked in Safari.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug 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: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. 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. labels Nov 1, 2026
@clawsweeper

clawsweeper Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR gives the running-process detail dot the theme accent while preserving green completed and red failed indicators.

Example: Open the running process pnpm ui:dev --port 5173 in Processes.

  • Before: The Running label has a green dot, matching the completed-state color.
  • After: The Running label has the theme accent dot, matching the process-list spinner.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A minimal, owner-backed visual improvement with directly inspected before/after proof and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots exercise the actual Processes detail UI through clicks using the mock swarm fixture and show the changed running dot in three themes and a mobile viewport.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Running and completed process details use the same green indicator despite the running list spinner using the accent.
Reason: The maintainer-authored direction improves visual consistency at minimal cost while preserving non-color labels.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes a focused visual improvement absent from current main, with no introduced correctness or security defect found.

Priority: P3
Reviewed head: f449ad6e18c00af3d4819ea4144c1927fc0d31e3

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI Processes panel presents existing process status and output through a renderer whose stylesheet maps status attributes to theme colors.

flowchart LR
  A[Process state owner] --> B[Processes panel renderer]
  B --> C[Status attribute and label]
  C --> D[Process panel stylesheet]
  E[Theme tokens] --> D
  D --> F[Visible status dot]
Loading

Technical review

Best possible solution:

Use the existing accent token in the existing running-status selector while retaining textual labels and distinct terminal-state colors.

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

Current-main CSS establishes the shared green color, and the supplied before images show it directly; no target code was executed during this review.

Is this the best way to solve the issue?

The patch is the smallest complete presentation change: it reuses the existing selector and token without adding state, wrappers, or competing owners.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 47cb40a3b3f0.

Provenance checked

  • Process detail status colors changes intended behavior with a stated reason (294cce9: The process-panel refinement added dedicated output details and grouped process navigation; the current PR explicitly explains why running should now use accent.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 6feb40e adds ui/src/pages/chat/components/chat-processes-panel.css:92 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 6feb40ee5b42; files: ui/src/pages/chat/components/chat-processes-panel.css)
  • Peter Steinberger: Raw commit 88d9566 adds ui/src/pages/chat/components/chat-processes-panel.css:96 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 88d9566ecabf; files: ui/src/pages/chat/components/chat-processes-panel.css)

PR surface

Source +2. Total +2 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 3 1 +2
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 3 1 +2

Labels

Label changes:

  • add P3: This is localized visual consistency polish with no execution, configuration, persistence, or layout changes.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is localized visual consistency polish with no execution, configuration, persistence, or layout changes.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • 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 1, 2026, 9:27 AM ET / 14:27 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit 1508d3e into main Nov 2, 2026
86 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/standardize-status-chat branch November 2, 2026 14:28
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
Match running process metadata to its list spinner accent. Preserve completed and failed colors, non-color status labels, layout and the separate Details subagent indicators. Original targeted checks and approved visual proof retained.
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 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: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XS 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.

1 participant