Skip to content

fix(ui): keep automation actions at the bottom edge - #172176

Merged
obviyus merged 4 commits into
openclaw:mainfrom
brandon-julio-t:codex/automation-footer-edge
Oct 23, 2026
Merged

obviyus merged 4 commits into
openclaw:mainfrom
brandon-julio-t:codex/automation-footer-edge

Conversation

@brandon-julio-t

@brandon-julio-t brandon-julio-t commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Closes #172174.

What Problem This Solves

The Automations editor's Create/Save/Cancel bar floats above a visible strip of form content. At scroll end the edit form's job scratch section can also sit below the actions.

Why This Change Was Made

The sticky bar inherited bottom padding from both the scrollport and the settings page, and its fieldset ended before job scratch. Publish the action bar's presence through the existing shell layout owner, remove those two lower insets only while the editor has actions, and place the actions after job scratch. Keep the existing keyboard-clearance owner and button wrapping; no new observer or local state.

User Impact

Actions meet the scrollport's bottom edge on desktop and narrow screens. Closing the editor restores ordinary page spacing. No configuration, SDK, or migration changes.

Evidence

Built and packed main and candidate artifacts in secretless Docker; exercised their shipped Gateway and browser UI. Created a disabled job through Gateway RPC, opened New and Edit, expanded Advanced, and measured the action bar at mid-scroll and scroll end at 1440×900 and 390×844.

  • Main reproduced twice: 32px desktop and 16px mobile gaps at mid-scroll; larger gaps at scroll end, including job scratch.
  • Candidate removes the lower gap in New and Edit. Controls cover keyboard schedule selection, wrapped narrow actions, Cancel spacing restoration, and a normal Save RPC. The jobs remain disabled; no run or model turn was requested.
  • Served JavaScript/CSS hashes match each installed package.
  • Regression assertions extend the existing keyboard-clearance E2E rather than add another harness.

Desktop: before / after

Desktop before

Desktop after

Mobile: before / after

Mobile before

Mobile after

Simplification: retained one shell layout owner and one keyboard-clearance owner; moved the existing action block rather than duplicate it. Production delta is +55/-43 lines (net +12, mostly the existing boundary import and targeted CSS); test delta is +14/-1. The growth scopes padding to the action bar's actual lifecycle and covers both scroll positions.

Merge danger: two-way door; reverting restores the previous layout and writes no migrated state. Blast radius is the Control UI automation editor's action placement and scroll clearance.

The Automations editor leaves scrolling fields visible beneath its sticky
Create, Save, and Cancel actions. Users see a detached action bar, and the
end of the form retains a second empty band below it.

Let the action bar own bottom spacing while it is present, preserving the
existing keyboard clearance and root-owned safe areas. Ordinary page
spacing returns when the editor actions disappear.

Closes openclaw#172174.
@clawsweeper

clawsweeper Bot commented Oct 14, 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.

@brandon-julio-t
brandon-julio-t marked this pull request as ready for review October 14, 2026 13:49
@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: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 14, 2026
@clawsweeper

clawsweeper Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR removes inherited bottom spacing while automation editor actions are visible and moves those actions below job scratch.

Example: Open New automation at 390×844 and scroll through Advanced settings.

  • Before: The action bar leaves a 16px strip of scrolling content beneath it.
  • After: The wrapped action bar reaches the scrollport’s bottom edge.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused, correct layout repair with inspected shipped-UI evidence, useful regression assertions, and no open findings; pending CI remains a separate landing gate.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected desktop/mobile before-and-after screenshots show corrected footer placement, and obviyus records the rebuilt current-head package running through its shipped Gateway/browser at 1440×900 and 390×844: New/Edit align at mid-scroll and end within 0.235px, with keyboard, wrapping, Cancel restoration, and normal Save controls passing.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Automation actions appear detached from the bottom edge, with scrolling content or job scratch below them.
Reason: The demonstrated visual defect has a narrow repair that preserves sticky actions, keyboard access, button behavior, and ordinary spacing outside the editor.

Merge readiness

✅ Ready for maintainer review

Keep this PR open for landing: it fixes a demonstrated layout defect that remains on main, preserves existing interaction contracts, and has no actionable findings; current-head CI is still running.

Priority: P3
Reviewed head: d2392ba7821797e99656154d40ad3ed58f6227a6

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI automation editor renders job settings and actions inside the shell scrollport; the existing shell layout owner publishes layout traits, while a separate clearance owner keeps keyboard-focused fields visible.

flowchart TD
  A[Automation detail view] --> B[Editor and job scratch]
  B --> C[Shell layout boundary]
  C --> D[Shell layout owner]
  D --> E[Scoped bottom padding]
  B --> F[Sticky action bar]
  F --> G[Keyboard clearance owner]
Loading

Technical review

Best possible solution:

Land the focused layout repair through the existing shell and keyboard-clearance owners once required current-head checks pass.

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

Current-main source establishes the inherited-padding and containing-block mechanisms, while inspected supplied screenshots and collaborator browser measurements corroborate them; this review ran no target code.

Is this the best way to solve the issue?

The patch is the smallest complete repair: scope the two lower insets through the existing layout owner and place the single action block after scratch while retaining keyboard clearance and root safe areas.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Automation action-bar styling keeps the original intent (cfe8019: The editor redesign retained prominent completion actions; later settings unification preserved the workflow and shared design language.)
  • Keyboard clearance keeps the original intent (0d43ba6: Reserve measured scroll clearance so native keyboard navigation cannot hide focused controls behind sticky actions, and restore it on cleanup.)
  • Shell layout publication keeps the original intent (eca633a: Provide one synchronous shell layout owner shared by presentation adapters before descendant measurements.)
  • Job scratch placement keeps the original intent (ec5d369: Expose migrated automation scratch through the ordinary editor; moving completion actions after it preserves that capability and extends the sticky containing block.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit eca633a adds ui/src/app/shell-layout-owner.ts:24 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: eca633a8801b; files: ui/src/app/shell-layout-owner.ts)

PR surface

Source +12, Tests +13, Docs +4. Total +29 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 55 43 +12
Tests 1 14 1 +13
Docs 1 4 0 +4
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 73 44 +29

Review metrics

Metric Value Why it matters
Production versus test delta Production +55/-43; tests +14/-1 The small net production growth scopes padding to the editor lifecycle and relocates the existing action block; test growth adds geometry checks to the existing browser flow.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #172174
Summary: This PR supplies the focused fix for the reporter’s open footer-gap issue.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is bounded layout polish with functioning creation and editing, rather than a blocked user workflow.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster 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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-10-14T13:57:42.573Z sha 6493127 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-23T06:52:33.752Z sha 685794f :: needs maintainer review before merge. :: none

Reviewed October 23, 2026, 3:11 AM ET / 07:11 UTC (Revision 3).

@obviyus

obviyus commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@obviyus

obviyus commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Runtime proof for 685794f: two built-main and two built-candidate runs at 1440×900 and 390×844, covering New/Edit at mid-scroll and scroll end. Candidate action-bar gap is 0px (one fractional mobile measurement 0.234px); main mid-scroll gaps are 32px/16px. Keyboard, wrapped actions, Cancel spacing restoration and normal Save controls passed on both candidate runs; disabled jobs stayed disabled with no model execution. The existing cron-select-values E2E suite passed all 6 tests. Inspected before/after screenshots are embedded above; all four uploaded URLs load successfully.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 23, 2026
@obviyus

obviyus commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@obviyus

obviyus commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Merged current main (including #181386) into d2392ba, rebuilt and packed the candidate once, and reran the shipped Gateway/browser footer proof. Desktop 1440×900 New/Edit gaps: 0px at mid-scroll and end. Mobile 390×844 New: 0px mid-scroll / 0.234375px end; Edit: 0px at both positions. Keyboard, wrapping, Cancel spacing restoration, normal Save, disabled-job and no-model-execution controls passed again. This is a merge-only refresh of the same five-file fix.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 23, 2026
@clawsweeper clawsweeper Bot removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 23, 2026
@obviyus
obviyus merged commit 12c5d20 into openclaw:main Oct 23, 2026
93 checks passed
@obviyus

obviyus commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

Landed in 12c5d20. Thanks @brandon-julio-t. The Automations editor's action bar now sits flush at the bottom.

@brandon-julio-t
brandon-julio-t deleted the codex/automation-footer-edge branch October 23, 2026 09:50
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 24, 2026
fix(ui): pin the Automations editor action bar to the bottom of the scroll area

In the Automations editor, the sticky Create/Save/Cancel bar floated above the bottom of the scroll area, leaving form content visible under it, because the bottom insets inherited from the shell and settings layouts stayed applied. The editor now clears those insets, so the bar sits on the bottom edge on desktop and mobile while keeping its keyboard clearance.

Evidence: built Gateway serving its own built Control UI, Playwright at desktop and mobile widths. On main the bar left a visible gap with content showing beneath it (twice); with this change the gap is 0 px on desktop and 0 to 0.23 px on mobile (twice, and again after merging current main). New and Edit, mid-scroll and end, keyboard clearance, wrapping, Cancel and Save all work. Before/after screenshots are in the PR. Production +12.

Thanks @brandon-julio-t.

Co-authored-by: Ayaan Zaidi <[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. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor 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.

Automations action bar floats above the bottom edge of the form

2 participants