Repository navigation
fix(ui): keep keyboard-focused automation controls clear of sticky actions - #152135
Conversation
Measure the editor action bar and reserve its clearance in the existing page scrollport. Restore the previous padding when the editor closes or the page disconnects. Cover native keyboard navigation, wrapped actions, and cleanup through the rendered Control UI.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 18, 2026, 4:46 PM ET / 20:46 UTC (Revision 3). ClawSweeper reviewWhat this changesThe PR keeps keyboard-focused automation controls above sticky save actions, adds browser regression coverage and documentation, and removes duplicate declarations from three SQLite tests. Merge readiness✅ Ready for maintainer review Keep open: the focused UI fix remains useful on current main, the inspected before/after evidence supports it, and no actionable introduced defects were found. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI automation editor turns keyboard input into scheduling drafts. Its sticky save bar shares the page scroll area, so the editor must reserve enough scrolling clearance to keep focused controls visible. flowchart TD
A[Keyboard navigation] --> B[Automation editor]
C[Sticky action bar size] --> D[Measure scroll clearance]
B --> D
D --> E[Page scroll padding]
E --> F[Visible focused control]
B --> G[Close or leave editor]
G --> H[Restore previous padding]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +54, Tests +158, Docs +1. Total +213 across 7 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep measured clearance within the editor lifecycle, preserving native keyboard scrolling and restoring the shared scroll area when the editor exits. Do we have a high-confidence way to reproduce the issue? Yes: the supplied native Tab/ArrowRight sequence, before screenshot, and current-main sticky-footer implementation establish a concrete reproduction path; this review did not execute it. Is this the best way to solve the issue? Yes: measuring the existing sticky footer and restoring scroll padding through the page lifecycle is a narrow repair without changing scheduling, settings, or authorization. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against d2a5196a2f95. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Merged via squash.
|
…49075-c1-control-repair * commit 'dc5b321b5f89f9cf0e704ee202ea3059fb1ce63d': (79 commits) fix: start background context maintenance after durable turns (#151936) fix(models): avoid ambient state reads during prepared selection (#152119) feat: recover abandoned Crabbox source staging (#152006) chore(ui): refresh control ui locales (#152098) fix(ui): keep cloud startup prompts and progress in chat (#152024) fix: report completed subprocess cleanup after cancellation (#152107) perf(reply): reuse normalized inbound text (#152110) fix(cron): paused future one-shots disappear after Run now (#152126) perf(sessions): reuse rows and skip discarded terminal labels (#152109) fix(ui): keep keyboard-focused automation controls clear of sticky actions (#152135) fix(ui): load remote images in compact activity previews (#152045) refactor(health): skip unused verbose account projection (#152108) fix: restore dashboard test limits and SQLite test compilation (#152089) test(qa-lab): stabilize timeout recovery delivery proof (#152100) fix: probe SQLite when Node denies worker threads (#152075) perf(gateway): keep GitHub co-author trailer scans linear (#152115) fix(media): report CLI models with missing command or args (#151969) refactor: remove retired runtime code and duplicate helpers (#151973) perf(plugins): combine runtime and tool call scopes (#152101) test(memory): seed restart fixtures with the Gateway stopped (#152038) ...
…n-20260918-v4 * origin/main: (81 commits) fix: retire failed setup plugins without replaying facade initialization (#152026) fix(test): select Node for built runtime recovery fixtures (#152162) refactor(auth): reuse privately assembled choice groups (#152166) fix: preserve chat media delivery and session boundaries (#152079) fix: keep stale Stop messages from canceling replacement sessions (#152116) improve(plugins): reduce mutable argument handling overhead (#152154) fix(scripts): prevent host tooling drift from blocking PR workflows (#152078) improve: reduce model capability preparation work (#152128) fix: stop marking delivered scheduled reports as failed (#152165) fix: start background context maintenance after durable turns (#151936) fix(models): avoid ambient state reads during prepared selection (#152119) feat: recover abandoned Crabbox source staging (#152006) chore(ui): refresh control ui locales (#152098) fix(ui): keep cloud startup prompts and progress in chat (#152024) fix: report completed subprocess cleanup after cancellation (#152107) perf(reply): reuse normalized inbound text (#152110) fix(cron): paused future one-shots disappear after Run now (#152126) perf(sessions): reuse rows and skip discarded terminal labels (#152109) fix(ui): keep keyboard-focused automation controls clear of sticky actions (#152135) fix(ui): load remote images in compact activity previews (#152045) ...
…tions (openclaw#152135) * fix(ui): keep automation keyboard focus clear of sticky actions Measure the editor action bar and reserve its clearance in the existing page scrollport. Restore the previous padding when the editor closes or the page disconnects. Cover native keyboard navigation, wrapped actions, and cleanup through the rendered Control UI. * fix: restore SQLite test compilation
What Problem This Solves
Fixes automation schedule choices being hidden behind the sticky save actions when navigating the form with Tab and arrow keys.
User Impact
Keyboard users can see and reach the focused automation controls, including when the save actions wrap on narrow screens. No configuration or migration is required.
Why This Change Was Made
The browser scrolls focused controls into the page's existing scrollport, but the sticky action bar covers its bottom edge. The editor now reserves clearance using the measured action-bar height and page padding, updates it when the layout changes, and restores the previous scroll padding when the editor closes or the page disconnects. The Control UI feature reference documents this behavior.
Evidence
75468898a6de3ce27fef9ab5b325106dff2cda47; feature commit:5c7ac8a8996fc58fe8d236ea58ee6a8dcc6a97fa.Live shared Chrome proof at 1416 × 707 on the matching build: from the new-form Name field, Tab through Agent, Runs in, and Interval, then ArrowRight selected Once and retained focus. Previously the focused Once control was hidden and its center hit the Create button; afterward its center hit the Once radio itself. The page reserved 95.1484 px of scroll clearance. Cancel removed the draft and actions and restored scroll padding to
auto. No automation was created or run. Live measured edges differed by approximately 0.17 px, so this live result establishes visible focus and reachability rather than an exact edge-separation assertion.Before: the sticky actions obscure the keyboard-focused schedule choice.
After: Once remains visible, focused, and reachable.
CI recovery: the first run failed on duplicate
promisifydeclarations introduced by newer main in three SQLite tests. This branch incorporates reviewed main and the exact repair reviewed in PR #152133; the same SQLite correction has now landed through PR #152028. The four footer files remain byte-identical to the live-tested feature. Fresh integration review found no actionable issues, and the matching combined local Gateway/UI build passed. Refreshed-head CI passed in full ate6ecedd645e2f9c8e60a9f105fc31ec4ce0736b4, including all 13 UI browser shards, real Gateway, Windows, and the aggregate gate.