Skip to content

improve(ui): clarify plugin, MCP, and skill feedback - #192280

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/copy-e1-b
Nov 4, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/copy-e1-b

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Plugin discovery and installation, MCP apps and servers, and skill libraries used inconsistent permission, loading, empty-state, and failure language. Some messages exposed internal role names or called the agent an assistant.

User Impact

  • Clearer search results, installation progress, and next steps after failures.
  • Consistent admin, agent, session, and sentence-case language across the affected surfaces.
  • Saved-but-not-applied installs and unknown installation outcomes keep their distinct recovery instructions. No duplicate-install encouragement was added.

Why This Change Was Made

Applies the maintainer-approved Control UI glossary to 72 English strings across eight lazy catalogs. This is a copy-only change: no permission checks, installation state transitions, API contracts, or translation keys change. Foreign locales and translation memory are untouched.

Before After
No plugins found No plugins match your search.
Package resolution failed Couldn’t find the package. Check its name and try again.
Plugin download failed Couldn’t download the plugin. Try again.
Plugin changes require operator.admin access. You need admin access to change plugins.
MCP App initialization timed out This app took too long to load. Try again.
Send this message to the assistant? Send this message to the agent?
No MCP servers configured. No MCP servers yet.
MCP operator commands MCP admin tools
Changing this skill needs operator.admin access. You need admin access to change this skill.
Skill selections updated for the next turn… Skill selections updated for the next reply…

Evidence

  • Mocked Control UI, synthetic data, light theme: inspected cropped before (origin/main c72adfb93f0ef3887416f4bdeab6da7d63f17908) and after screenshots of plugin discovery’s empty state, attached below.
  • Plugin E2E: 15 tests passed; install-progress E2E: 5 passed; plugin-overview E2E: 5 passed. Covers successful, failed, unknown-outcome, saved-but-not-applied, and recovery flows.
  • Targeted MCP settings/apps, plugin catalog/editor, Skills, Workshop, skill import/editor, and lazy-locale tests: 212 tests passed across 17 files, including shared board-confirmation and session-skill feedback suites. Old-copy assertions found during validation and independent review were updated and the affected files rerun.
  • pnpm ui:i18n:baseline completed without a baseline diff; pnpm ui:i18n:verify passed.
  • oxfmt and oxlint on touched files passed (0 warnings/errors); git diff --check passed.
  • Independent review identified two shared-consumer expectations (board confirmation and session skill feedback); both were corrected.
  • Simplification pass: retained existing catalog owners and rendering paths; only copy, matching assertions, and an opt-in cropped screenshot capture changed.

Deliberately left for follow-up

Existing error-presentation owners and their diagnostic details are preserved; no competing error component is introduced.

This bounded pass leaves broad MCP/plugin fallback-component rewrites, redundant-success-notice cleanup, remaining detailed consent/settings copy, and native skill confirmation migration untouched. No live Gateway proof was needed for copy-only changes. CI and landing belong to the parent workflow.

Worked on by

Before: plugin discovery empty state

After: plugin discovery empty state

Landing integration preserves current MCP switches, read-only inspection, status and field keys, and the Command line heading. The stale blocked-install expectation was updated without changing its no-dispatch assertions. All 38 focused MCP/consent/lazy-loading cases passed, with i18n baseline/verification, scoped lint, formatting, and whitespace checks. Broader existing plugin proof is reused. A 20-line allocation covers the actual test growth; inherited debt is unchanged. The final merge with current main is clean.

roboclaw-bot and others added 2 commits November 3, 2026 21:12
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 7c24b145-3c11-4c6a-91bc-139a63c92f17
@clawsweeper

clawsweeper Bot commented Nov 3, 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:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR clarifies English feedback for plugins, MCP apps and servers, and skill libraries.

Example: Plugin discovery returns an empty result.

  • Before: No plugins found
  • After: No plugins match your search.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Useful, narrowly scoped copy improvements with inspected visual evidence and one low-impact recovery-message defect.
Proof confidence 🐚 platinum hermit (4/6) This collaborator-authored copy-only PR is outside the ordinary contributor proof gate; inspected before/after browser screenshots demonstrate the plugin empty-state change using synthetic data and a mocked Gateway, without claiming live MCP failure coverage.
Patch quality 🐚 platinum hermit (4/6) 1 actionable review finding remain.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: Inconsistent terminology and technical feedback make plugin, MCP, and skill workflows harder to understand.
Reason: The maintainer-authored direction is approved, and the bounded catalog edits improve clarity without introducing another rendering or state owner.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep open: this maintainer-authored PR provides useful copy improvements, with one misleading recovery instruction to correct.

Priority: P3
Reviewed head: 2dc165503e6e88f6f61bb7fd0d53eb3db59d91c7

Before merge

  • Point invalid sandbox connections to the correct recovery owner (P3) - When the Gateway supplies a sandbox endpoint on its own origin—for example sandboxPort 8443 with wss://gateway.example:8443—resolveSandboxHostUrl rejects it before loading the app. This replacement tells the user to check app settings, but those settings are optional server-defined tool values and cannot change the Gateway-provided sandbox port, origin, or path. It also removes the diagnostic identifying the invalid connection. Keep a plain-language connection explanation and direct recovery to the Gateway administrator rather than unrelated app settings.
  • Complete next step - Author: resolve the reported merge conflict while preserving the current MCP settings redesign from improve(ui): redesign MCP settings around each server #191459.

Findings

  • [P3] Point invalid sandbox connections to the correct recovery owner — ui/src/i18n/locales/en-mcp-app.ts:60
Agent review details

How this fits together

Feature-owned English catalogs supply text to existing Control UI renderers; Gateway responses and permission decisions remain unchanged.

flowchart LR
  A[Gateway responses] --> B[Existing feature owners]
  B --> C[Control UI renderers]
  D[Lazy English catalogs] --> E[Translation registry]
  E --> C
  C --> F[User feedback]
Loading

Technical review

Best possible solution:

Retain the existing catalog owners and clearer terminology, while describing sandbox connection failures accurately and directing recovery to the Gateway administrator.

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

Source and the existing reconstructed-view scenario show that a same-origin sandbox endpoint produces the new app-settings instruction; no target code was executed.

Is this the best way to solve the issue?

Editing the existing English catalogs is the smallest appropriate implementation, provided recovery text continues to identify the actual failing owner.

Full review comments:

  • [P3] Point invalid sandbox connections to the correct recovery owner — ui/src/i18n/locales/en-mcp-app.ts:60
    When the Gateway supplies a sandbox endpoint on its own origin—for example sandboxPort 8443 with wss://gateway.example:8443—resolveSandboxHostUrl rejects it before loading the app. This replacement tells the user to check app settings, but those settings are optional server-defined tool values and cannot change the Gateway-provided sandbox port, origin, or path. It also removes the diagnostic identifying the invalid connection. Keep a plain-language connection explanation and direct recovery to the Gateway administrator rather than unrelated app settings.
    Confidence: 0.96

Overall correctness: patch is correct
Overall confidence: 0.92

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Plugin installation feedback keeps the original intent (13c7a85: Distinct rejected, saved, and unknown outcomes prevent users from repeating an installation whose result requires reconciliation.)
  • MCP app diagnostics and terminology changes intended behavior with a stated reason (6046d4f: Interactive MCP apps reuse existing session, sandbox, and file owners; their English catalog identifies failures at those boundaries.)
  • Shared app and board confirmation keeps the original intent (668c062: Pane-owned confirmation replaced suppressed native dialogs while retaining the existing security checks.)
  • Lazy MCP and skill catalogs keeps the original intent (a7f5566: Feature-owned English registration keeps optional copy out of startup while preserving shared namespace identity.)
  • Skill Workshop feedback keeps the original intent (cfee851: The Workshop uses one versioned skill-writing owner with visible, reversible learning changes.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test ui/src/components/mcp-app-security.test.ts ui/src/components/mcp-app-view.test.ts --maxWorkers=1
  • pnpm ui:i18n:verify
  • git diff --check

What I checked:

Likely related people:

  • Patrick Erichsen: Raw commit 13c7a85 adds ui/src/i18n/locales/en-plugin-management.ts:37 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 13c7a857bf76; files: ui/src/i18n/locales/en-plugin-management.ts)

PR surface

Source 0, Tests +20. Total +20 across 22 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 8 72 72 0
Tests 14 45 25 +20
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 22 117 97 +20

Labels

Label changes:

  • add P3: This is UI wording polish with a low-impact diagnostic-copy defect; runtime behavior and authorization remain unchanged.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is UI wording polish with a low-impact diagnostic-copy defect; runtime behavior and authorization remain unchanged.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Correct the sandbox failure guidance using the existing diagnostic catalog and rejection scenarios.

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 3, 2026, 4:37 PM ET / 21:37 UTC.

@openclaw-barnacle openclaw-barnacle Bot closed this Nov 3, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Nov 3, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Nov 3, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Nov 3, 2026
@vyctorbrzezowski
vyctorbrzezowski merged commit 2a8bdef into main Nov 4, 2026
25 of 27 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/copy-e1-b branch November 4, 2026 14:56
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
improve(ui): clarify plugin, MCP, and skill feedback

Co-authored-by: vyctorbrzezowski <[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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants