Skip to content

improve(ui): seat the open sidebar on the rail with rounded corners - #200013

Merged
vyctorbrzezowski merged 7 commits into
mainfrom
brzezowski/side-rail-17-sidebar-corners
Nov 17, 2026
Merged

vyctorbrzezowski merged 7 commits into
mainfrom
brzezowski/side-rail-17-sidebar-corners

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

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):

Top of the sidebar before and after (2x)

Full window before and after (left: main, right: after):

Full window before and after

  • pnpm tsgo:ui passes at this PR's head.
  • The unit tests of the files this PR touches pass at its head; the full UI unit suite passes at the end of the series (one failure also on main: a Workboard German relative-time string, "vor 1min", from the local ICU).
  • dashboard-website and sidebar-customization UI e2e pass at this head.
  • Local autoreview (Codex) over the whole series; its three findings are fixed in this series.
  • The full UI e2e suite was not run locally.

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:

  • fix(ui): keep the rail's surface under imported palettes
  • fix(ui): draw the sidebar panel's hairline without moving its content
  • test(ui): measure sidebar row insets inside the panel hairline

Update: review follow-up

  • improve(ui): soften the sidebar panel corners — radius 22px to 18px.

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 is baebb54ec1dbaca6c6424075f6d0bfa6f480ca1d.

Metric Base Stack before optional-code cleanup Optimized stack
Chat boot JS, gzip bytes 1,324,943 1,339,806 1,330,444
New Session boot JS, gzip bytes 815,765 830,872 821,376
Initial-entry JS, gzip bytes 91,013 91,599 91,599

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.

Metric Cumulative gzip delta Cap
Largest JS asset +4,803 B 577,243 B
Chat boot JS +5,501 B 1,331,081 B
New Session boot JS +5,611 B 822,243 B

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 is 6c94013c6cf49a80fec50569c46bf3f7eaef3c57. 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.

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The sidebar meets the rail along a straight vertical divider.
  • After: The sidebar has 22px rail-side corner radii, with the rail surface visible behind the curves.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, visually demonstrated CSS change with no actionable findings; draft and stack status affect landing readiness rather than patch quality.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots exercise the Control UI through its supported mock browser setup and directly show the changed sidebar corner, curved hairline, and full-window panel appearance; no target code was executed during this read-only review.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Preference · Worth it: Yes · Fix scope: Complete
User problem: The open sidebar appears joined to the rail by a straight divider rather than as a distinct rounded panel.
Reason: The maintainer-authored direction is established, and the implementation provides a visible improvement at a small maintenance cost.

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
Reviewed head: b696872c03c378f1e6b0e870a5906e2a31fcc6bf

Before merge

None.

Findings

None.

Agent review details

How this fits together

Control 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]
Loading

Technical review

Best 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

  • Sidebar panel surfaces and rail divider changes intended behavior with a stated reason (fd01817: Separate personal navigation into a compact persistent rail and an adjacent list while retaining collapsed and narrow-screen behavior.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +23. Total +23 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 24 1 +23
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 24 1 +23

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This is visual polish without an established functional failure or urgent user impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 16, 2026, 2:24 AM ET / 07:24 UTC.

@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from 4e7323d to fbbe10c Compare November 16, 2026 16:09
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from b696872 to bfea2fc Compare November 16, 2026 16:09
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from fbbe10c to 17a9c14 Compare November 16, 2026 16:34
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from bfea2fc to 41510c1 Compare November 16, 2026 16:34
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from 17a9c14 to 0c871e3 Compare November 16, 2026 18:12
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from 41510c1 to ecb56d7 Compare November 16, 2026 18:12
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from 0c871e3 to 74cb63a Compare November 16, 2026 22:54
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from ecb56d7 to 66b32e7 Compare November 16, 2026 22:56
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from 74cb63a to c41c420 Compare November 17, 2026 00:44
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from 66b32e7 to dccf340 Compare November 17, 2026 00:46
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from c41c420 to c4fc967 Compare November 17, 2026 16:37
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from dccf340 to 8017801 Compare November 17, 2026 16:37
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from c4fc967 to ff33e9e Compare November 17, 2026 16:54
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from 8017801 to 803b425 Compare November 17, 2026 16:54
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-16-workboard-sidebar branch from ff33e9e to ce9da93 Compare November 17, 2026 17:44
@vyctorbrzezowski
vyctorbrzezowski force-pushed the brzezowski/side-rail-17-sidebar-corners branch from 803b425 to 6faafdd Compare November 17, 2026 17:44
@vyctorbrzezowski
vyctorbrzezowski merged commit cc8d64a into main Nov 17, 2026
31 of 33 checks passed
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

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.

@vyctorbrzezowski
vyctorbrzezowski deleted the brzezowski/side-rail-17-sidebar-corners branch November 17, 2026 22:30
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 18, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant