Repository navigation
improve(ui): seat the open sidebar on the rail with rounded corners - #200013
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 rounds the open sidebar’s rail-side corners and replaces the straight divider with a curved hairline. Example: Open the Sessions sidebar beside the 52px desktop rail with corner scale 1.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored draft delivers a focused visual improvement, with no concrete correctness or security findings. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherControl UI shell classes and theme tokens feed the sidebar stylesheet, which paints the navigation rail and adjacent panel across expanded, collapsed, peek, and mobile layouts. flowchart LR
A[Navigation state] --> B[Shell classes]
C[Theme tokens] --> D[Sidebar stylesheet]
B --> D
D --> E[Persistent rail]
D --> F[Open sidebar panel]
Technical reviewBest possible solution: Retain the focused CSS treatment within the existing sidebar stylesheet as the draft stack progresses. Do we have a high-confidence way to reproduce the issue? This is an appearance preference rather than a reported malfunction; current-main CSS and the supplied before image establish the straight-divider starting point. Is this the best way to solve the issue? The change uses the existing stylesheet and theme tokens, and each introduced hunk serves the requested panel treatment without additional machinery. 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. EvidenceWhat I checked:
PR surfaceSource +23. Total +23 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: 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 16, 2026, 2:24 AM ET / 07:24 UTC. |
4e7323d to
fbbe10c
Compare
b696872 to
bfea2fc
Compare
fbbe10c to
17a9c14
Compare
bfea2fc to
41510c1
Compare
17a9c14 to
0c871e3
Compare
41510c1 to
ecb56d7
Compare
0c871e3 to
74cb63a
Compare
ecb56d7 to
66b32e7
Compare
74cb63a to
c41c420
Compare
66b32e7 to
dccf340
Compare
c41c420 to
c4fc967
Compare
dccf340 to
8017801
Compare
c4fc967 to
ff33e9e
Compare
8017801 to
803b425
Compare
ff33e9e to
ce9da93
Compare
803b425 to
6faafdd
Compare
986d111 to
44209b0
Compare
|
Merged as cc8d64a 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. |
…penclaw#200013) 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 sidebar meets the rail at a straight vertical divider.
User Impact
The open sidebar sits on the rail as a panel: the rail's surface runs behind it and shows through its rounded top and bottom rail-side corners, where a 1px hairline follows the curve. The radius follows the theme's corner scale; the content side stays square; the rail, colors and a closed sidebar are unchanged.
Why This Change Was Made
CSS only. Checked in light and dark: the hairline follows the curve and no sidebar content leaks past the corners; a page without a sidebar keeps the rail's divider and the rail stays 52px wide.
Evidence
Screenshots come from the Control UI mock at the end of the series, so the after image can show later parts too.
Top of the sidebar before and after (2x) (left: main, right: after):
Full window before and after (left: main, right: after):
pnpm tsgo:uipasses at this PR's head.dashboard-websiteandsidebar-customizationUI e2e pass at this head.Side rail series, part 16 of 16. Stacked on #200012; 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:
Update: review follow-up
Maintainer verification
Reviewed the complete rebased stack while retaining the maintainer-approved visual design. The integrated candidate passed 558 unit/browser tests and 20 bundled browser E2E cases, including sidebar peeking, section navigation, Automation filters/history and native plugin navigation. The final removal of unused wiring and fixtures received focused checks afterward. Visual acceptance is the maintainer's previously completed hands-on run on the integrated local Gateway; these additional checks do not claim a second live-Gateway campaign.
Final bundle-size comparison
Measured with the repository's production comparator against base
1d82bed0a7fef79012c38ea7e6184911aba27e63, using the same installed toolchain. The optimized candidate isbaebb54ec1dbaca6c6424075f6d0bfa6f480ca1d.The cleanup removes the eager Automation filter UI/text dependency from the sidebar header. Chat still makes 21 boot JS requests and New Session 17, unchanged from the base. Total CSS is 684 gzip bytes smaller; total shipped JS is 9,779 gzip bytes smaller. The remaining boot cost is 5,501 bytes for Chat and 5,611 for New Session. These are delivery-size measurements, not a runtime latency benchmark.
The existing largest-JS and route-boot byte ceilings still fail. They have not been changed or bypassed. The final focused tests passed (21 UI cases and 10 browser cases) after the cleanup, in addition to the earlier integrated 558-case and 20-E2E-case run.
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
7338e1c1e4c1bd2a664e1964c3cb360d556083b8; current head is6c94013c6cf49a80fec50569c46bf3f7eaef3c57. 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 Pages menu loads its own row and pin styles through its existing lazy component, without changing declarations or adding any request during Chat/New Session startup. The official paired check passed: largest shared CSS 58,977 B vs 59,102 B baseline (and 59,229 B with the original corners); total CSS 1,733,823 B raw, down 6,340 B. Both startup byte budgets and the relative CSS budget pass. Pin/unpin and reload passed in Chromium; stylelint, format and diff checks 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.