Skip to content

fix(ui): distinguish tool activity with semantic icons - #147207

Merged
steipete merged 1 commit into
mainfrom
codex/semantic-tool-icons
Sep 13, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/semantic-tool-icons

Conversation

@steipete

@steipete steipete commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Browser, Canvas, Diffs, Lobster, file-transfer, standing-intent, and additional memory calls all show the same black-backed OpenClaw app tile in the Control UI activity stream. Those 16px images obscure the distinction between tools and overwhelm the neighboring glyphs.

Why This Change Was Made

Give the 12 approved tool calls distinct monochrome icons, retaining the Echo family for memory. Lobster reuses the existing progress claw artwork and its open resting pose. File and directory operations share their respective outlines; memory store/forget add action marks to Echo.

One exact-name display mapping covers those tools plus the previously fixed Memory Search/Get. The shared renderer applies it before argument-shape icons or plugin artwork, covering inline calls and standalone result summaries without downloading discarded images. Other integration logos, including namespaced tools, keep their existing behavior.

Follow-up to #147173.

User Impact

Common tool calls are easier to distinguish in light and dark themes. Lobster uses the familiar claw from progress indicators, and memory activity has a consistent visual family. No settings or migration are needed.

Evidence

  • 52 focused tests passed, including two Chromium rendering cases. Before the change, 29 regression cases failed for tile precedence, unnecessary artwork lookup, or Lobster's command-shaped fallback. Existing integration-logo and image-error behavior remains covered.
  • Production Control UI build passed.
  • Independent Codex review found no actionable P0–P2 findings.
  • Changed-file checks passed: core-test and UI typechecks, formatting, lint, i18n validation, export scans, and repository guards.
  • Initial CI 34770937511 failed on an unrelated missing await in extensions/workboard/src/store.test.ts:4506. That regression is fixed on main by fix: resume tasks after tools finish and the model times out #147203; the duplicate cleanup PR fix(workboard): restore CI after concurrent deletion test #147224 was closed. This PR was rebased with an unchanged patch, and all 52 focused tests passed again. Fresh CI 34772967891 passed on the repaired base, including the required gate.
  • Inspected actual-renderer captures below use synthetic tool activity. The Slack row demonstrates retained integration artwork.

Before

Tool activity before: repeated black-backed app tiles

After

Tool activity after: distinct glyphs with the existing progress claw for Lobster

Tool activity after in the dark theme

@clawsweeper

clawsweeper Bot commented Sep 13, 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 app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Sep 13, 2026
@steipete
steipete marked this pull request as ready for review September 13, 2026 17:13
@steipete steipete self-assigned this Sep 13, 2026
@clawsweeper clawsweeper Bot added 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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 13, 2026
@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 2:09 PM ET / 18:09 UTC (Revision 4).

ClawSweeper review

What this changes

The Control UI gives common tool activities distinct monochrome icons while preserving artwork for other integrations.

Merge readiness

✅ Ready for maintainer review

Keep open: this remains a useful, well-supported presentation improvement beyond current main’s memory-only exception. No actionable correctness or security findings remain.

Priority: P3
Reviewed head: 0e2193120a097480c97f6ecae509cd7d472a37b2

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with convincing visual evidence and relevant regression coverage; no actionable blockers found.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected actual-renderer captures with synthetic tool activity show the shared renderer’s intended visual result in light and dark themes, including preserved Slack artwork; focused regression coverage supplements these appearance-specific observations.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): Inspected actual-renderer captures with synthetic tool activity show the shared renderer’s intended visual result in light and dark themes, including preserved Slack artwork; focused regression coverage supplements these appearance-specific observations.
Evidence reviewed 7 items Introduced rendering behavior: The renderer selects the exact-name activity glyph before consulting plugin artwork; both changed callers pass tool identity. The existing image-error handler and generic fallback remain intact.
Current main still needs the change: Fetched main retains only the Memory Search/Get emoji mapping and memory-specific renderer exception; it lacks the broader activity-name mapping.
Latest release comparison: The supplied latest release, v2026.9.4, uses the earlier generic icon renderer and does not contain this semantic activity selection.
Findings None None.
Security None None.

How this fits together

The Control UI renders tool calls and results from conversation messages. Its shared icon renderer selects activity glyphs or plugin artwork for inline rows and standalone result summaries.

flowchart TD
  A[Conversation messages] --> B[Tool calls and results]
  B --> C[Shared icon renderer]
  C --> D{Recognized activity name?}
  D -->|Yes| E[Semantic glyph]
  D -->|No| F[Plugin artwork or fallback]
  E --> G[Chat activity rows]
  F --> G
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +80, Tests +42. Total +122 across 6 files.

View PR surface stats
Area Files Added Removed Net
Source 5 95 15 +80
Tests 1 53 11 +42
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 148 26 +122

Review metrics

Metric Value Why it matters
Production versus test growth Production +80 net lines; tests +42 net lines Production growth supplies the selected artwork and shared precedence rule without adding configuration or another loading owner.

Technical review

Best possible solution:

Keep activity-icon precedence in the shared UI renderer, with exact-name matching and the existing plugin-artwork fallback.

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

Not applicable as a functional bug reproduction; the inspected before/after captures directly establish the presentation problem and improvement.

Is this the best way to solve the issue?

Yes. Extending the existing shared renderer provides consistent icons across both presentation paths while retaining integration artwork elsewhere.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P3: This is bounded visual polish for chat activity, with no change to tool execution or stored settings.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): Inspected actual-renderer captures with synthetic tool activity show the shared renderer’s intended visual result in light and dark themes, including preserved Slack artwork; focused regression coverage supplements these appearance-specific observations.
  • proof: sufficient: Contributor real behavior proof is sufficient. Inspected actual-renderer captures with synthetic tool activity show the shared renderer’s intended visual result in light and dark themes, including preserved Slack artwork; focused regression coverage supplements these appearance-specific observations.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. Inspected actual-renderer captures with synthetic tool activity show the shared renderer’s intended visual result in light and dark themes, including preserved Slack artwork; focused regression coverage supplements these appearance-specific observations.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-09-13T17:23:19.776Z sha 4980222 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T17:36:32.129Z sha 4980222 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-13T18:03:12.778Z sha 0e21931 :: needs maintainer review before merge. :: none

Replace repeated app tiles for Browser, Canvas, Diffs, Lobster, file-transfer, intent, and memory calls with their approved glyphs. Reuse the existing progress claw for Lobster. Centralize tool-name precedence and skip unused image loading while retaining other integration logos.
@steipete
steipete force-pushed the codex/semantic-tool-icons branch from 4980222 to 0e21931 Compare September 13, 2026 17:53
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Rebased the unchanged icon patch onto main after #147203 fixed the unrelated Workboard lint failure. All 52 focused tests passed again; fresh CI is running on head 0e21931. The PR description and existing inspected visual evidence are current.

@clawsweeper

clawsweeper Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete
steipete merged commit 2d87daf into main Sep 13, 2026
138 checks passed
@steipete
steipete deleted the codex/semantic-tool-icons branch September 13, 2026 18:16
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 13, 2026
* commit '2d87daf04b78992382299d552f15ac84a86a23ed': (1815 commits)
  fix(ui): distinguish tool activity with semantic icons (#147207)
  fix(linux): recover completed Quick Chat replies without resending (#146048)
  feat(desktop): unify Tauri title bar and window controls (#147097)
  refactor(test): share plugin fixture server shims (#147225)
  perf(gateway): defer worker workspace execution imports (#143496)
  fix(gateway): post-ack webhook work fails with "Async work scope is closed" (#144801)
  refactor(scripts): centralize upgrade survivor version floors (#146975)
  fix(ci): check publication registries before FRV fanout (#147184)
  fix(qa): align system-agent delegation with channel contracts (#145905)
  improve: reduce repeated chat message identity work (#147210)
  fix(channels): remove stale pre-tool previews from Slack and Telegram (#147106)
  fix: keep catalog discovery scoped and execution lazy (#147159)
  fix: serialize reclamation worker shutdown with foreground writes (#147178)
  test(sessions): cover abrupt committed transcript recovery (#143984)
  fix: stop transcript storms during context overflow recovery (#147202)
  fix: reduce CPU overhead for small history and usage reads (#147205)
  fix: resume tasks after tools finish and the model times out (#147203)
  refactor(scripts): share SQLite reliability message waits (#146900)
  feat(exec): configure approval reviewer thinking and fastMode (#147192)
  test: remove redundant Bonjour module headers (#146981)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
Replace repeated app tiles for Browser, Canvas, Diffs, Lobster, file-transfer, intent, and memory calls with their approved glyphs. Reuse the existing progress claw for Lobster. Centralize tool-name precedence and skip unused image loading while retaining other integration logos.
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 maintainer Maintainer-authored PR 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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S 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