Repository navigation
refactor(ui): replace cron Web Awesome menus - #170917
Merged
Merged
Conversation
Use the shared native Menu for Automations job actions and run-history filters and sorting. Preserve titles, controlled selections, permission checks, and keep-open behavior. Update existing tests to use real triggers and await queued menu actions.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 14, 2026
Use the shared native Menu for Automations job actions and run-history filters and sorting. Preserve titles, controlled selections, permission checks, and keep-open behavior. Update existing tests to use real triggers and await queued menu actions.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #170580
What Problem This Solves
Automations still uses Web Awesome for job actions and run-history filter and sort menus, leaving those controls outside the shared native menu system.
User Impact
The existing actions, labels, permission checks, checked filters, and keep-open selection behavior stay the same. No configuration or migration is required.
Why This Change Was Made
Use the shared
Menufor these remaining Automations menus, move their popup styling to owned selectors, and remove the unused Web Awesome imports. Existing tests now open real triggers and wait for queued menu actions. Domain owners and the lazy Cron entry point stay unchanged.Evidence
pnpm test ui/src/pages/cron/view-description.test.ts --maxWorkers=1pnpm test ui/src/pages/cron/view-run-history.test.ts --maxWorkers=1pnpm test ui/src/pages/cron/cron-page.test.ts --maxWorkers=1pnpm tsgo:uipnpm ui:buildd0554f4a2507: 52.62 s; headf3211acc433d: 39.01 s; both passed on Node 26.11.1 and the same frozen lockfilef3211acc433d; 1,197 s workflow elapsed, 15,329 summed job-seconds; no local E2E suiteThe first local runs exposed test migration errors: immediate assertions ran before queued menu events, and one remove scenario clicked a closed menu. The existing tests were corrected to use the public open state and observable action results; the final runs above pass. No production behavior change was added to accommodate the tests.
Production LOC across the four changed files: 1,829 → 1,805 (−24). No new tests or dependencies.
Before / after
The shared menu uses visible focus treatment, a leading checkmark, and its standard row height. Surface backgrounds, borders, and shadows match the replaced menus in both themes. Captures use a fixed clock and synthetic job/run data.