Repository navigation
test(ui): load the sidebar Pages stylesheet in the Pages layout case - #200847
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 maintainer review before merge. What this changesThis PR loads sidebar-pages.css in the existing Pages layout test. Example: Run the Pages layout case with the example/boards plugin entry.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR makes the smallest complete repair to a stale test fixture, preserves its assertions, and introduces no actionable defect. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe sidebar test mounts the real UI components with synthetic navigation data and injects production CSS before checking rendered structure, computed styles, and pin ordering. flowchart LR
A[Sidebar test suite] --> B[Pages layout case]
C[Production stylesheets] --> B
D[Synthetic plugin navigation] --> B
B --> E[Mounted sidebar]
E --> F[Layout and ordering assertions]
Technical reviewBest possible solution: Retain the single fixture-list addition so the existing assertions consume the production stylesheet that owns Pages layout. Do we have a high-confidence way to reproduce the issue? The omitted stylesheet and unchanged computed-style assertions establish the failure path, supported by the author's reported red/green run; no tests were executed during this read-only review. Is this the best way to solve the issue? This directly repairs the fixture's missing input while respecting the intentional lazy stylesheet split and preserving coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c97a173b040b. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceTests 0. Total 0 across 1 file. 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:
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 17, 2026, 6:36 PM ET / 23:36 UTC. |
|
Merged via squash auto-merge.
|
…ts (#200808) Rework the Automations detail view around the prompt and run history. Maintainer approved the CI budget exception: total CSS 337,923 B gzip / 1,743,065 B raw, 611 B / 2,831 B above the ceilings. Startup CSS is unchanged. The other CI failure is the inherited Pages stylesheet fixture already fixed by #200847. Co-authored-by: Vyctor H. Brzezowski <[email protected]>
…ts (openclaw#200808) Rework the Automations detail view around the prompt and run history. Maintainer approved the CI budget exception: total CSS 337,923 B gzip / 1,743,065 B raw, 611 B / 2,831 B above the ceilings. Startup CSS is unchanged. The other CI failure is the inherited Pages stylesheet fixture already fixed by openclaw#200847. Co-authored-by: Vyctor H. Brzezowski <[email protected]>
Problem
ui/src/components/app-sidebar.sessions.test.ts› "keeps Pages flat and rail pins independently ordered" fails on main. The case injectssidebar-reorder.cssandsidebar-rail.cssby name, then asserts the Pages row isdisplay: flex; align-items: center. #200013 moved the.sidebar-pages__entryrules out ofsidebar-rail.cssinto a newsidebar-pages.cssimported byapp-sidebar-pages.tsx, so the injected styles no longer contain them and the row computes asdisplay: block.The component and stylesheets are correct; only the test fixture is stale. This currently fails
checks-uifor PRs whose CI selects the UI lanes.Change
Add
sidebar-pagesto the stylesheets the case injects. No product change.Proof
app-sidebar.sessions.test.ts: 1 failed / 111 passed on main at0c19bcdf293; 112/112 with this change.pnpm check:changedpasses.Follow-up to the side-rail series #200010, #200011, #200012 and #200013 by @vyctorbrzezowski.