Repository navigation
fix(ui): expose selected automation filters and preserve keyboard focus - #118133
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 2, 2026, 3:02 PM ET / 19:02 UTC. ClawSweeper reviewWhat this changesUpdates Control UI automation-history filters to announce localized selected values and makes closing Web Awesome dropdown menus leave keyboard tab order before their hide animation, with focused UI and browser regression coverage. Merge readinessKeep this PR open: current main still omits the selected automation-filter values from the trigger’s accessible name and has no shared closing-menu inert lifecycle. The proposed owner-boundary split—filter-local labels plus the existing shared Web Awesome adapter—is a sound fix, with real Chromium proof recorded in the PR body; the protected Priority: P2 Review scores
Verification
How this fits togetherThe Control UI Automations run-history view turns selected status and delivery filters into labeled dropdown controls and Gateway filter requests. Its shared Web Awesome adapter manages popup accessibility and lifecycle behavior for those controls and other UI menus. flowchart LR
A[Automation history state] --> B[Run-history filter renderer]
B --> C[Localized selected-value label]
C --> D[Web Awesome dropdown]
D --> E[Keyboard and screen-reader navigation]
B --> F[Gateway filter request]
D --> G[Shared menu lifecycle]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +52, Tests +479. Total +531 across 10 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep filter-specific accessible summaries in the run-history renderer and the hide-transition focus rule in the shared dropdown adapter, then land the focused change after a current-base validation refresh and maintainer approval. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main sets the filter trigger aria-label to only the generic title and has no wa-hide inert handler; the PR body also records a parent-versus-candidate Chromium reproduction. This read-only checkout could not rerun it because the partial clone could not resolve its promisor remote. Is this the best way to solve the issue? Yes. The change records selected values where the filter is rendered and fixes focus at the one shared dropdown lifecycle boundary, avoiding duplicated menu behavior in individual controls. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against dc16b1460b07. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
…openclaw#118133) Co-authored-by: Peter Steinberger <[email protected]>
What Problem This Solves
Fixes Control UI automation-history filters that screen readers announced without their currently selected values, plus dropdown menus that could retain keyboard focus after closing.
Why This Change Was Made
Keep accessibility ownership at the filter renderer and shared Web Awesome dropdown lifecycle: generate localized selected-value labels and make closing menus inert before browser focus advances. Consolidate stable UI storage/i18n test setup instead of adding feature-specific workarounds.
User Impact
Keyboard and screen-reader users hear complete localized automation status/delivery selections and can safely move between filters after pressing Escape. English and German filter behavior, Gateway filter requests, and ordinary dropdown interactions remain consistent.
Evidence
88c4a0d0b0ca780a4940bd025d04582457198f7a.gpt-5.6-solhigh-reasoning P0–P3 autoreview: no actionable findings; genuine TruffleHog clean.Statusinstead ofStatus All statuses) and separately fails the real Chromium/German keyboard regression because a closing menu remains focusable.completed.Real behavior proof
An isolated real Chromium browser opened the actual Control UI, issued real automation-history Gateway filter requests, exercised English and German localized dropdowns, selected filters, pressed Escape, and used native keyboard Tab navigation. Four English/German initial/selected screenshots were captured outside the repository.
{ "head": "88c4a0d0b0ca780a4940bd025d04582457198f7a", "parent": "3eba9fcd5aa410152a0be571a2f981b5609ab086", "parentA11y": "FAIL: Status != Status All statuses", "parentGermanKeyboard": "FAIL: closing dropdown remained focusable", "ownerTests": 220, "realChromiumScenarios": 12, "localizedScreenshots": 4, "hiddenMenuIsInert": true, "tabReachedDelivery": true, "englishFilterGatewayRequests": 7, "changedGate": "PASS: all ten paths, no checks skipped", "productionUiBuild": "PASS", "precompressedSidecars": 700, "startupRequests": 12, "startupGzipKiB": 305, "startupGzipLimitKiB": 317, "run": "https://github.com/openclaw/openclaw/actions/runs/30761392765", "status": "PASS" }The candidate's actual frozen parent was used for its changed gate because newer
mainchanged unrelated max-lines baseline entries; every formatting, package-boundary, i18n, TypeScript, lint, dead-code, and performance check still ran and passed.Rank-up moves addressed
mainchanged none of the ten reviewed UI paths or adjacent UI owners; the exact reviewed head remains mergeable, all hosted browser shards are green, and repository landing policy treats unrelated mainline drift as advisory.Maintainer review
The repository owner explicitly delegated autonomous landing of low-risk, independently reviewed QA fixes. The acting maintainer personally inspected installed
@awesome.me/webawesome 3.10.0, includingdist/components/dropdown/dropdown.d.ts(documentedwa-hide/wa-after-hidelifecycle) anddist/chunks/chunk.MQODJ75V.js(wa-hideis cancelable), addressing the reviewer sandbox's missing dependency/promisor limitation. Four independent nonauthor source reviews, clean genuine Sol/TruffleHog review, real parent-failure reproduction, 220 passing owner tests, 12 passing Chromium scenarios, four localized screenshots, the complete changed gate, production UI build, and green hosted CI were verified before repo-native maintainer preparation.