Repository navigation
improve(ui): read Automations sidebar rows like Sessions - #199829
Conversation
|
🦞👀 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 changes before merge. What this changesThis PR restyles automation rows, adds an agent filter and collapsible groups, and hides redundant page navigation beside the sidebar. Example: An enabled automation runs every 20 minutes and next runs today at 5:05 PM.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored draft offers a useful sidebar improvement, but introduces misleading cadence labels and a smaller disclosure defect. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI reads compact jobs from the existing cron inventory, filters and formats sidebar rows, and navigates to the existing automation editor. flowchart LR
A[Gateway cron inventory] --> B[Shared inventory reader]
B --> C[Automations sidebar]
D[Sidebar filters] --> C
E[Schedule presenter] --> C
C --> F[Automation detail page]
Technical reviewBest possible solution: Keep the existing sidebar and presenter owners, preserve raw expressions for non-uniform cron steps, and let disclosure state control the Paused group. Do we have a high-confidence way to reproduce the issue? Source establishes both triggers: */7 * * * * produces “Every 7 minutes” despite the four-minute hour-boundary gap, and the Paused filter forces its disclosure open. Is this the best way to solve the issue? The existing sidebar, shared filter menu and localized presenter are appropriate owners, but interval abbreviations must preserve cron semantics. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e693b3323e90. Provenance checked
TestingProof path: unit tests only. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +152, Tests +18, Other +94. Total +264 across 11 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 15, 2026, 6:05 PM ET / 23:05 UTC. |
5bfcf46 to
a18e86c
Compare
119463c to
548441b
Compare
a18e86c to
e184211
Compare
8a0f2ca to
5f2f3c8
Compare
5d2720e to
3cd0b20
Compare
5f2f3c8 to
bd90070
Compare
3cd0b20 to
7bba541
Compare
bd90070 to
fc8667c
Compare
7bba541 to
ffc037b
Compare
fc8667c to
db4f4a1
Compare
ffc037b to
61a7cd2
Compare
6bcb924 to
1fc33ea
Compare
764a603 to
3f97e86
Compare
1fc33ea to
3838bef
Compare
3f97e86 to
88f2b8c
Compare
… filter Rows are compact two-line entries: the name, then the next run (the time today, the date later) and a short cadence (Hourly, Daily, Weekdays, Weekly, Monthly, Every 6h, Once; other cron expressions as written). A failed or auto-disabled automation carries a red dot instead of a word. Active and Paused are sentence-case headings that both collapse. The filter gains an Agent choice that defaults to the agent selected now. Beside the open sidebar the page drops its section header and the All automations back link, so an open automation is the whole page.
Active and Paused use the Sessions sidebar's group heading: uppercase, muted, with the chevron leading. Each row is a title in the text color over a quieter byline, with room between rows. The byline reads "Today 5:05 PM" for a run later today and "Paused" for a paused automation, and intervals are spelled out ("Every 20 minutes") with the existing unit formatter.
…he Inbox scope e2e
3838bef to
f0c005c
Compare
|
Merged as f9b458f after reviewing the layer and its integration with main. Preserved the approved design and human credit. Known PR-caused failures were repaired and focused checks passed; CI bypass was explicitly authorized by the maintainer. The inherited owner-approval test timing issue is tracked separately in #200810. |
…9829) Preserve the approved navigation design. Reviewed the own-layer change, current main integration and applicable focused proof. Known PR-caused failures were repaired before landing; the maintainer explicitly authorized CI bypass. The unrelated owner-approval test timing issue is tracked separately in openclaw#200810. Co-authored-by: Vyctor H. Brzezowski <[email protected]>
What Problem This Solves
Automation rows in the sidebar are hard to scan, and the agent selector sits in a page header that the sidebar makes redundant.
User Impact
Rows show the next run and cadence ("Today 5:05 PM · Every 20 minutes", "Paused · Every 5 hours") with a failure dot; Active and Paused are collapsible groups in the Sessions heading style; the agent moves into the filter, defaulting to the current agent; the page header steps aside beside the sidebar.
Why This Change Was Made
Cadence words reuse the existing unit formatter.
Evidence
Screenshots come from the Control UI mock at the end of the series, so the after image can show later parts too.
Automations before and after (left: main, right: after):
pnpm tsgo:uipasses at this PR's head.Side rail series, part 8 of 16. Stacked on #199828; review only this PR's commits.
Update: e2e repair
The full Control UI e2e run on the stack found tests this PR broke or product gaps it introduced; this PR now carries their fixes:
Maintainer verification
Corrected cadence labels for nonuniform cron steps. Expressions such as
*/7 * * * *and0 */5 * * *now retain their literal expression instead of claiming a uniform interval; the scheduler is unchanged. Added these two cases to the existing presenter test. The cases failed before the correction and passed afterward, alongside the existing uniform-step cases. Independent review found no actionable P0–P2 issues.Approved navigation-stack JS budget
Vyctor approved the measured JavaScript byte cost for this navigation stack. These cumulative measurements compare this layer with paired main base
1d82bed0a7fef79012c38ea7e6184911aba27e63. Each cap equals the original main cap plus the measured delta, preserving existing headroom without adding another margin.CSS ceilings, request counts, startup ceilings and gate logic are unchanged. Byte measurements are delivery-size evidence, not latency measurements.
Maintainer validation
Reviewed and rebased this layer on predecessor
e69daeb6bc3db118d91ef0f354fdc82a5ffb5f87; current head isf0c005c235ae62a0f057d9a854dd19a04dfc309a. The own-layer tree, original human authors and signatures were checked. UI typechecking passed on this candidate. Previously verified functional and integrated visual proof was reused where inputs are unchanged; the maintainer also exercised the integrated stack on a real Gateway.The maintainer authorized sequential CI bypass after repairing known PR-caused failures. Hosted CI may still be running; this is not a claim of full hosted CI success. The unrelated owner-approval timing failure is tracked separately in #200810.