Skip to content

improve: make automation Advanced settings grouped and easy to read - #201219

Merged
vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/wild-barnacle-6
Nov 18, 2026
Merged

vyctorbrzezowski merged 3 commits into
mainfrom
openclaw/wild-barnacle-6

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

Requested by @vyctorbrzezowski.

Work sessions

Linked for team reference; these sessions aren’t public.

What Problem This Solves

When you create or edit an automation, the Advanced section puts every extra setting in one long card. Settings that belong together are scattered (the session key sits under Timing, failure alerts hide at the end of Delivery). Much of the help text uses internal terms, like "lightweight bootstrap context", "yield to active work" or "Announce / Webhook POST / None (internal)", so it's hard to tell what a setting does.

User Impact

User impact: Advanced now shows one card for each kind of setting: General, Task, Timing, Conditions, Results and Failure alerts. Every label, option and help line says in plain language what it does. Saved automations behave the same; no setting values change.

Why This Change Was Made

Each group uses the same settings section and rows as the rest of the Control UI, so the rows look the same, just sorted by what they control:

  • General: description, owner, "Turn on after creating", "Delete after it runs" (one-time schedules).
  • Task: action, prompt preview, use the default agent, time limit, lightweight start.
  • Timing (cron schedules only): time zone, exact time, spread window. These used to be split between the top of the card and Timing.
  • Conditions: set hours, wait until the agent is free, skip when scratch is empty, condition check.
  • Results: where results go, recipient, direct messages, channel account, reasoning, count-as-success, session key (moved from Timing).
  • Failure alerts: its own card instead of the end of Delivery.

Small removals that came with the regrouping:

  • The card summary ("…schedule jitter, and model controls") is gone; it named controls that aren't in this section.
  • The Wake mode picker is removed. The CLI docs describe wakeMode as deprecated with no effect on scheduled runs. The form still loads and saves the stored value unchanged.
  • Channel account only shows when results go to a chat, instead of showing disabled. The "Send to" help only shows when the owner's direct messages option is selected.
  • The best-effort help now says it also turns off default failure alerts, which the delivery docs describe but the UI never mentioned.

Copy was checked against the automation docs and scheduler source (active hours skip vs. wait, idle checks, scratch, owner delivery, session key routing) so the simpler wording stays accurate. Only English source copy and the raw-copy baseline change; translations follow through the normal locale refresh.

Evidence

New automation editor with an agent task, Advanced opened. Real Control UI production build against the mocked Gateway E2E harness, 1280 px viewport, light theme. Before = origin/main at 9d6f4a94, After = this PR.

Clean comparison

Before After
Before: every advanced setting in one card under small headings After: separate General, Task, Conditions, Results and Failure alerts cards

Annotated comparison

Before After
Inaccurate summary, internal help text, and Session key under Timing highlighted Plain help text, Results card, and separate Failure alerts card highlighted

Also inspected locally, not attached: a cron schedule with active hours, a condition check, chat delivery and custom failure alerts all expanded; a 400 px viewport; dark theme.

  • Cron page unit tests: 28 files, 209 tests pass.
  • Focused browser E2E pass: cron-validation-focus, cron-select-values, cron-trigger-authoring, cron-prompt-preview. Their label assertions are updated to the new copy.
  • pnpm tsgo:ui, oxlint on the changed view, oxfmt --check, pnpm ui:i18n:baseline and pnpm ui:i18n:verify are clean.
  • Not run: cron-duration-save.real-gateway (real Gateway lane; only its expected label text changed) and full CI. No local autoreview/ClawSweeper pass ran; hosted review will cover it.

Webhook recipient help

The Advanced layout now tells users to enter a webhook URL when delivery uses a webhook; the same field still supports chat recipients and no saved values change. The editor also keeps the landed avatar picker as the way to clear an explicit agent.

Same Chromium viewport and synthetic Gateway values. Before: original PR revision ed76c9a71d9e. After: the webhook copy tested in the preview and published at 8fe35f80606d.

Before

Webhook delivery selected but the recipient only suggests a chat identifier

After

Recipient help and placeholder include webhooks

Annotated comparison

Webhook is selected while the help lists only chat recipients

Recipient help and placeholder include a webhook URL

The combined preview passed 68 focused tests plus the production Chromium validation-focus and webhook copy cases.

Worked on by

roboclaw-bot and others added 2 commits November 18, 2026 13:23
Split the automation editor's Advanced card into one settings section per
concern (General, Task, Timing, Conditions, Results, Failure alerts) and
rewrite every label, option, and help line in plain language.

Drop the inert Wake mode picker (the field stays stored and saved
unchanged), the inaccurate card summary, and the disabled Channel account
field when results aren't sent to a chat.

Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 60216ebd-33c9-430e-b54a-4602983b4bd5
@clawsweeper

clawsweeper Bot commented Nov 18, 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: 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. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 18, 2026
@clawsweeper

clawsweeper Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR groups automation Advanced settings into separate cards and rewrites their labels and help text.

Example: Create an automation with the prompt “Summarize overnight messages and list anything urgent,” then open Advanced.

  • Before: Settings share one long card, with Session key under Timing and failure alerts inside Delivery.
  • After: General, Task, Conditions, Results, and Failure alerts have separate cards; cron schedules also show Timing.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct presentation change with directly inspectable visual proof and passing CI on the reviewed head.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected production-build browser screenshots show the changed Advanced renderer at 1280 px with a mocked Gateway supplying synthetic data; they directly prove the visual grouping and copy changes, without claiming live scheduler or delivery coverage.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: The Advanced editor presents unrelated settings in one long card and uses terminology that obscures their purpose.
Reason: The maintainer-authored direction is already approved, and the inspected screenshots demonstrate clearer grouping without introducing settings or changing scheduling contracts.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored UI improvement has clear value, preserves the existing form owner, and has no blocking findings.

Priority: P3
Reviewed head: ed76c9a71d9ec257b37b5ad372fcb9858998bd26

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI automation editor presents existing job settings, updates the existing form owner, and submits unchanged cron RPC contracts to the Gateway scheduler.

flowchart LR
  A[User edits automation] --> B[Advanced settings sections]
  B --> C[Existing cron form owner]
  C --> D[Gateway cron RPC]
  D --> E[Scheduler and delivery]
Loading

Technical review

Best possible solution:

Land the focused regrouping through the existing settings components while retaining the current form serialization.

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

This is a presentation improvement rather than a reported runtime defect; supplied before/after screenshots establish the readability problem without executing target code.

Is this the best way to solve the issue?

The approach is appropriately small: it reuses SettingsSection, removes the replaced grouping helper and styles, and preserves field identities, validation navigation, and save ownership.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Advanced layout and styling changes intended behavior with a stated reason (dce9dd1: The automation redesign kept secondary settings behind one disclosure, grouped by concern, with validation-driven opening.)
  • Wake mode picker changes intended behavior with a stated reason (f49b7cd: The Solid port preserved the existing editor controls; the current CLI contract documents this field as deprecated and inert for scheduled execution.)
  • Automation terminology keeps the original intent (0fb25b0: The earlier copy pass applied the approved Control UI glossary while preserving serialized values and explicitly left advanced descriptions for follow-up.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit dce9dd1 adds ui/src/pages/cron/view-delivery.tsx:160 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: dce9dd13b53e; files: ui/src/pages/cron/view-delivery.tsx)

PR surface

Source -16, Tests +2. Total -14 across 11 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 4 215 231 -16
Tests 7 20 18 +2
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 235 249 -14

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P3: This is a low-risk readability and organization improvement to an existing advanced editor.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • 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 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a low-risk readability and organization improvement to an existing advanced editor.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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 18, 2026, 8:39 AM ET / 13:39 UTC.

Integrate the grouped options with the landed automation agent picker.
Use copy that matches the existing delivery destination field.

Co-authored-by: vyctorbrzezowski <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added the docs Improvements or additions to documentation label Nov 18, 2026
@vyctorbrzezowski
vyctorbrzezowski enabled auto-merge (squash) November 18, 2026 14:08
@vyctorbrzezowski
vyctorbrzezowski merged commit 70e2850 into main Nov 18, 2026
95 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the openclaw/wild-barnacle-6 branch November 18, 2026 14:10
@vyctorbrzezowski

Copy link
Copy Markdown
Member

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 19, 2026
…penclaw#201219)

* improve: group automation advanced settings and rewrite their copy

Split the automation editor's Advanced card into one settings section per
concern (General, Task, Timing, Conditions, Results, Failure alerts) and
rewrite every label, option, and help line in plain language.

Drop the inert Wake mode picker (the field stays stored and saved
unchanged), the inaccurate card summary, and the disabled Channel account
field when results aren't sent to a chat.

Co-authored-by: vyctorbrzezowski <[email protected]>

* improve: make automation Advanced settings grouped and easy to read

Worked on by:
- @vyctorbrzezowski

Co-authored-by: vyctorbrzezowski <[email protected]>
OpenClaw-Publication: 60216ebd-33c9-430e-b54a-4602983b4bd5

---------

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 docs Improvements or additions to documentation 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: M 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.

2 participants