Repository navigation
fix(ui): open the Automations filter as a positioned sidebar menu, like Users - #199828
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 adds dashboard sidebar filters, section memory, revised rows, and an empty landing page beside the expanded sidebar. Example: Choose author Mira and Title A–Z in the Dashboards sidebar.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 2 items remain Keep this maintainer-authored draft open; the sidebar direction is established, but its replacement of the gallery has two navigation gaps. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI projects the managed dashboard session catalog into sidebar rows, builds session navigation targets, and remembers the last section destination within the browser tab. flowchart LR
A[Gateway session catalog] --> B[Managed dashboard query]
B --> C[Sidebar author and ordering filters]
C --> D[Dashboard sidebar rows]
D --> E[Session navigation]
E --> F[Section location memory]
B --> G[Dashboard landing page]
Technical reviewBest possible solution: Use explicit dashboard navigation for sidebar selection and section memory, and retain a visible path to dashboards excluded from the active-only sidebar. Do we have a high-confidence way to reproduce the issue? Source establishes both triggers: an archived dashboard is absent from the replacement sidebar, and a dashboard-bearing row with boardFace=chat produces a remembered Chat destination; neither was executed during this read-only review. Is this the best way to solve the issue? Reusing the managed catalog, shared menu owner, and section navigation is appropriate, but the sidebar must preserve the gallery’s dashboard-opening behavior and inventory access. 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: none. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +270, Tests +2, Other +10. Total +282 across 17 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. 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. |
adff614 to
646c112
Compare
5bfcf46 to
a18e86c
Compare
646c112 to
c0a9a37
Compare
a18e86c to
e184211
Compare
c0a9a37 to
3b3483a
Compare
5d2720e to
3cd0b20
Compare
3b3483a to
0ba09bc
Compare
3cd0b20 to
7bba541
Compare
0ba09bc to
c7d2fab
Compare
ffc037b to
61a7cd2
Compare
43633f9 to
bbbc356
Compare
764a603 to
3f97e86
Compare
dd91268 to
6491440
Compare
…ke Users The Automations filter rendered its popover inside the panel header, which inherited its spacing. It now registers as a positioned sidebar menu like the Users filter: the header uses the same filter button, and the popover renders with the other sidebar menus, so it matches Users exactly.
3f97e86 to
88f2b8c
Compare
|
Merged as e69daeb 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. |
…ke Users (openclaw#199828) 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
The Automations sidebar filter rendered its popover inside the panel header, so it inherited the header's spacing and did not match the Users (People) filter.
User Impact
The Automations filter opens as a positioned sidebar menu, exactly like the Users filter: the header uses the same filter button, and the popover renders with the other sidebar menus.
Why This Change Was Made
One filter pattern for every section sidebar, owned by the sidebar menus.
Evidence
pnpm tsgo:uiand the UI test typecheck projects pass at this PR's head.Update: Dashboards stays a gallery
This PR used to give Dashboards its own sidebar (list, filter, empty state, rows). The product owner decided Dashboards stays a full-width gallery with no section sidebar, so those commits were dropped from the series and this PR now carries only the shared filter change above. See #199825 for the gallery's new card pin and empty state.
Side rail series, part 7 of 16. Stacked on #199827; review only this PR's commits.
Maintainer verification
Moved the unchanged
automationsFilteredpredicate into the module that owns the filter state. The always-loaded sidebar header now imports that small owner and uses the existing eager “Filters” label. The optional filter UI and its full Automation text catalog no longer enter Chat/New Session boot through that header. This uses the existing lazy menu boundary; no new loader or cache was added.The complete stack's follow-up comparison removes 9,362 gzip bytes from Chat boot and 9,496 from New Session boot relative to the reviewed candidate before this cleanup. The focused UI tests (21 cases), browser flows (10 cases), type checks and independent review passed; the design and filter behavior are unchanged.
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.
The filter-state extraction removes the unnecessary eager filter/locale loading, so this layer also reduces the preceding layer’s temporary JS allocation.
Maintainer validation
Reviewed and rebased this layer on predecessor
a749c7fffc6086602fc47aa56441ce48e78a3683; current head is88f2b8c3185bdc9edb952b16ccafe6f7b166de9f. 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.