Skip to content

fix(ui): give memory activity a custom Echo icon - #147173

Merged
steipete merged 1 commit into
mainfrom
codex/memory-echo-tool-icon
Sep 13, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/memory-echo-tool-icon

Conversation

@steipete

@steipete steipete commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Memory Search and Memory Get display a red OpenClaw app tile on a black background in the Control UI activity stream. At 16px, that generic plugin artwork overwhelms the neighboring outline icons and does not distinguish memory activity.

Why This Change Was Made

Use the selected custom Echo mark: two arcs and a dot, rendered inline in the existing muted tool-icon color. The shared tool-icon renderer gives the memory glyph precedence over plugin artwork, covering both activity rows and single-tool summaries. Other plugin logos keep their existing behavior.

Follow-up to #143711.

User Impact

Memory Search and Memory Get have a consistent, recognizable icon in light and dark themes. No settings or migration are needed.

Evidence

  • 25 focused tests passed, including two Chromium rendering cases. The four memory-row regression cases failed on the original code because it rendered the plugin image; they pass with this change. Existing service-logo and image-error fallback coverage also passes.
  • Changed-file checks passed: core-test and UI typechecks, formatting, lint, i18n validation, export scans, and repository guards.
  • Control UI production build passed.
  • Independent Codex review found no actionable P0–P2 findings.
  • Inspected before/after captures below use the actual Control UI renderer with synthetic activity data.

Before

Memory activity before: black-backed app tiles

After

Memory activity after: monochrome Echo icons

Memory activity after in the dark theme

Render Memory Search and Memory Get with a muted inline Echo glyph instead of the black-backed plugin app tile. Preserve other plugin logos and image-error fallbacks.
@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.

@steipete
steipete marked this pull request as ready for review September 13, 2026 16:25
@steipete steipete self-assigned this Sep 13, 2026
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels 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, 12:36 PM ET / 16:36 UTC.

ClawSweeper review

What this changes

The Control UI gives Memory Search and Memory Get a muted Echo icon instead of plugin artwork, with rendering coverage for tool calls and results.

Merge readiness

✅ Ready for maintainer review

This remains a useful, focused presentation improvement: current main lacks the memory glyph, and the inspected captures support the intended result. No actionable correctness or security findings were identified.

Priority: P3
Reviewed head: 958926118dec98b5640be547bf9934322a91adbe

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused implementation with convincing visual evidence, meaningful rendering coverage, and no actionable findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.
Evidence reviewed 7 items Verified introduced change: The independently inspected merge-base-to-head diff matches the supplied four-file patch. It adds a static SVG, two display mappings, a renderer precedence rule, and focused rendering tests; it changes no loading, permissions, persistence, or dependencies.
Current main still uses plugin artwork: The fetched main renderer selects an available plugin image before the fallback glyph. Its display mapping also lacks the two memory entries, so the requested presentation is not already implemented there.
Latest release comparison: The supplied latest release, v2026.9.4, also lacks the memory emoji mappings in its UI display adapter; no shipped Echo implementation was established.
Findings None None.
Security None None.

How this fits together

The Control UI turns conversation tool calls and results into activity rows and summaries. Its shared icon renderer combines tool display metadata with optional plugin artwork.

flowchart LR
  A[Tool calls and results] --> B[Tool display metadata]
  B --> C[Shared icon renderer]
  D[Optional plugin artwork] --> C
  C --> E{Memory activity?}
  E -->|Yes| F[Inline Echo glyph]
  E -->|No| G[Plugin image or existing glyph]
  F --> H[Activity rows and summaries]
  G --> H
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +11, Tests +29. Total +40 across 4 files.

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

Review metrics

None.

Technical review

Best possible solution:

Keep memory presentation in the existing shared icon renderer while preserving other plugins’ artwork and fallback behavior.

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

Not applicable as a functional bug: this is visual polish, and the supplied before/after captures directly show the presentation being changed.

Is this the best way to solve the issue?

Yes. Reusing the shared SVG shell and icon renderer covers both presentation paths without creating another icon-loading mechanism.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a bounded visual polish change with no settings, data, or runtime workflow changes.
  • add proof: sufficient: Contributor real behavior proof is sufficient. The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.

Label justifications:

  • P3: This is a bounded visual polish change with no settings, data, or runtime workflow changes.
  • 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): The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.
  • proof: sufficient: Contributor real behavior proof is sufficient. The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The inspected Control UI renderer captures show Memory Search and Memory Get changing from plugin tiles to Echo glyphs in light and dark themes; screenshots directly establish this appearance-only result.

Evidence

What I checked:

  • Verified introduced change: The independently inspected merge-base-to-head diff matches the supplied four-file patch. It adds a static SVG, two display mappings, a renderer precedence rule, and focused rendering tests; it changes no loading, permissions, persistence, or dependencies. (ui/src/pages/chat/components/chat-tool-cards.ts:90, 958926118dec)
  • Current main still uses plugin artwork: The fetched main renderer selects an available plugin image before the fallback glyph. Its display mapping also lacks the two memory entries, so the requested presentation is not already implemented there. (ui/src/pages/chat/components/chat-tool-cards.ts:90, dd1edde0b0d4)
  • Latest release comparison: The supplied latest release, v2026.9.4, also lacks the memory emoji mappings in its UI display adapter; no shipped Echo implementation was established. (ui/src/lib/chat/tool-display.ts:43, 3a9d69db306c)
  • Rendering boundary and regression coverage: The shared metadata identifies memory_search and memory_get with the two mapped emojis. Activity rows and single-tool summaries both call renderToolIcon. The new cases exercise both tools as assistant calls and tool results; existing cases retain plugin-image and image-error fallback coverage. Tests were inspected, not executed in this read-only review. (ui/src/pages/chat/components/chat-tool-icons.test.ts:7, 958926118dec)
  • Inspected visual proof: Opened all three prepared images from the captured PR body: proof-image-1.png shows black-backed memory app tiles; proof-image-2.png and proof-image-3.png show Echo glyphs in light and dark themes, with neighboring command/read glyphs preserved. The body identifies the actual Control UI renderer with synthetic activity data. These captures directly demonstrate the changed appearance. (958926118dec)
  • Related merged work and routing history: The supplied GitHub context verifies feat(control-ui): show plugin icons on tool calls #143711 as merged plugin-icon work, making this a distinct presentation follow-up rather than a duplicate. Main-path history lists Patrick Erichsen for that change and Peter Steinberger for subsequent activity rendering work. Exact-line blame and historical patch inspection failed when unavailable objects returned HTTP 403; no introduction attribution is claimed. (ui/src/pages/chat/components/chat-tool-cards.ts, bda26b810554)

Likely related people:

  • Patrick-Erichsen: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: 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.

@steipete
steipete merged commit 5ee87a5 into main Sep 13, 2026
188 of 189 checks passed
@steipete
steipete deleted the codex/memory-echo-tool-icon branch September 13, 2026 16:42
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 14, 2026
Render Memory Search and Memory Get with a muted inline Echo glyph instead of the black-backed plugin app tile. Preserve other plugin logos and image-error fallbacks.
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: 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