Skip to content

fix: plugin action errors appear cramped against capabilities - #185357

Merged
roboclaw-bot merged 1 commit into
mainfrom
fix/plugin-error-alert
Oct 27, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
fix/plugin-error-alert

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes cramped error alerts that run into the next capability heading when a plugin action fails, including the busy plugin/config-operation error.

User Impact

User impact: plugin action errors use the standard danger callout appearance, readable vertical padding, and space before the next section on desktop and mobile. Plugin operations and recovery behavior are unchanged.

Why This Change Was Made

Reuse the shared callout styling instead of overriding its padding, typography, radius, and error colors with a compact plugin-specific variant. Add a 16 px gap below detail notices while preserving informational and install-policy warning presentation. Production code is three lines smaller overall; no state, effects, listeners, or ownership changes.

Evidence

  • Real Enable-button flow in the production Control UI with synthetic Gateway I/O reproduces the original 8 px vertical padding. The new regression fails on the original styles and passes after the fix at 1440 px and 393 px widths, checking padding, section spacing, containment, and the actual mutation request.
  • Five plugin-overview browser scenarios pass. Local file wall time: 92.05 s including build/preparation; test body: 8.33 s. CI test time: 8.43 s for all five scenarios, including 0.96 s for the new regression (exact-head CI job). Browser execution is necessary for computed CSS geometry; jsdom cannot prove this contract.
  • 20 plugin-page owner tests pass; UI typecheck, targeted lint, stylelint, formatting, controller guards, and git diff --check pass.
  • Independent Codex P0–P2 review: no actionable findings. The only subsequent change qualifies Number.parseFloat for lint without changing behavior.
  • Inspected before/after screenshots are also delivered in the originating chat. Captures use the actual production Control UI with a synthetic Calendar plugin and the same busy-operation error as the report, not a live Slack service.

Before

Before: compact error alert pressed against the capability heading

After

After: shared danger callout with vertical padding and section spacing

Work sessions

Use the shared danger callout styles and leave space before plugin capabilities. Keep informational and policy-warning notices unchanged.

Co-authored-by: Patrick-Erichsen <[email protected]>
@clawsweeper

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 27, 2026 02:50
@roboclaw-bot
roboclaw-bot merged commit dd17439 into main Oct 27, 2026
149 checks passed
@roboclaw-bot
roboclaw-bot deleted the fix/plugin-error-alert branch October 27, 2026 03:01
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
…aw#185357)

Use the shared danger callout styles and leave space before plugin capabilities. Keep informational and policy-warning notices unchanged.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant