Repository navigation
feat(ui): replace the Automations table with its sidebar and Run history - #200010
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 fixes automation selection and highlighting, loads every sidebar automation, and simplifies detail captions and default tabs. Example: The sidebar contains 250 automations.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this maintainer-authored draft open: it contains useful navigation fixes, but its new untrack call violates the enforced UI guard. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI reads automation inventory from the Gateway, routes sidebar selections to the Cron page, and presents the selected job’s settings and history. flowchart LR
A[Gateway cron inventory] --> B[Inventory reader]
B --> C[Automations sidebar]
C --> D[Cron route]
D --> E[Cron page owner]
E --> F[Settings and history]
D --> G[Section memory]
G --> C
Technical reviewBest possible solution: Keep the existing navigation owner and move its location equality check inside setOpened’s updater, removing the untrack call. Do we have a high-confidence way to reproduce the issue? The base source establishes the 200-row truncation and pending-route fallback, and the head source establishes the new guard violation; no target code was executed. Is this the best way to solve the issue? Reusing section memory, the inventory reader, and the existing detail owner is appropriately scoped; the equality check can use the signal setter without adding an untrack exception. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 39c25a39cdee. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +33, Tests +50. Total +83 across 13 files. Added test files: 1. 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. LabelsLabel 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 16, 2026, 2:26 AM ET / 07:26 UTC. |
f928c61 to
00d5dcb
Compare
5227dac to
fdc2493
Compare
00d5dcb to
777ef4a
Compare
fdc2493 to
162e340
Compare
777ef4a to
050be7b
Compare
162e340 to
b894f61
Compare
050be7b to
23f62ad
Compare
b894f61 to
a717b94
Compare
23f62ad to
37bcd4a
Compare
a717b94 to
5334373
Compare
37bcd4a to
8b13abd
Compare
7b72846 to
8a8a4d9
Compare
2c8e808 to
bb45140
Compare
|
Merged as d103997 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. |
…ory (openclaw#200010) 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
An open automation was hard to follow: choosing another one in the sidebar only moved the highlight, a linked automation was never marked, the detail header showed raw cron, a failed automation opened on its history, one-day intervals read "Every 1 day", and the sidebar read only the first 200 automations while the page hides its own list beside it.
User Impact
Choosing an automation in the sidebar opens it and marks it; Automations always starts over when chosen again; the detail header reads the cadence ("Daily · Next in 10h") and the description as a subtitle; automations open on Settings with the failure in the banner and a Review run link; whole hours, days and weeks read Hourly, Daily and Weekly; the sidebar lists every automation.
Why This Change Was Made
Fixes and polish on top of the Automations sidebar. The page records the open automation as section memory and the sidebar marks what the page has open, instead of keeping its own highlight.
Evidence
Screenshots come from the Control UI mock at the end of the series, so the after image can show later parts too.
An open automation before and after (left: main, right: after):
pnpm tsgo:uipasses at this PR's head.Update: Automations table removed
The Automations page no longer has a table. The list lives only in the sidebar, whose header filter already carries the table's filters; the page shows the open automation or an empty state.
?activity), the old table's Activity tab.?session=filtered view (nothing links to it). Failed reads show Retry in the empty state.Side rail series, part 13 of 16. Stacked on #199833; 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:
Moved to an earlier PR or folded into another commit:
Update: no sidebar without an automation
With no automation in the agent's scope, Automations now shows only the rail beside its "No automations yet" empty state and its New automation button; the sidebar (with New automation and Run history) returns once an automation exists. An agent picked in the sidebar's filter keeps the sidebar, so the filter stays reachable.
cron-filterse2e case: no automation →.shell--nav-page-hiddenand no visible sidebar; it fails without the shell rule.?activityor the empty state's button;cron-select-valuesgets one automation so it keeps using the sidebar. The rail-peek instant-open case now opens People.Maintainer verification
The compact sidebar inventory now keeps read failures visible and retries the same inventory owner. The native embedded list exposes the existing shared filters again, with the same options and state, and uses the existing loading boundary. Regression checks reproduce the failures before the fix and verify retry, filtering, reset and focus afterward. Removed unused sidebar-reporting wiring, the retired table's exported helper surface and fixtures, and two stale E2E inventory entries. Current main's deliberately retired transcript reader stays removed; run history remains. The integrated stack passed 558 unit/browser tests and 20 bundled E2E cases; the final cleanup additionally passed 38 shell/navigation/history tests, the permission-revocation case and the focused settings-header browser case. Independent reviews 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
3a0ca90b383a2f7fd6d55529f968053231aacf87; current head isbb451408b1fc810c9d6c719edf0aa10087e7eecc. 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 section-location comparison now uses the existing signal updater instead of a separate untracked read. The controller guard and 45 existing owner cases passed.
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.