Repository navigation
feat(ui): peek a section's sidebar from the closed rail - #199826
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 temporary sidebar previews when hovering over sections in the collapsed desktop rail. Example: At 1280 × 800, hover over Users with the sidebar collapsed.
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 feature has clear value, with two focused repairs needed before completion. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI rail selects the existing sidebar renderer; pointer events temporarily change its section and CSS reveals it over the page. flowchart LR
A[Pointer over rail] --> B[Peek delay]
B --> C[Existing sidebar owner]
C --> D[Section renderer]
D --> E[Floating sidebar]
E --> F[Dismiss or navigate]
Technical reviewBest possible solution: Retain the existing sidebar owner, preserve non-navigation selection gestures, and bind peek events through the supported listener primitives. Do we have a high-confidence way to reproduce the issue? Source inspection establishes unconditional dismissal for selection-only anchor clicks and forbidden listener bindings; no target code or tests were executed. Is this the best way to solve the issue? Reusing the section renderer and existing clipping layout is appropriately scoped; the added browser scenario protects distinct visible behaviors without unnecessary test scaffolding. 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. EvidenceWhat I checked:
PR surfaceSource +100, Tests +72. Total +172 across 3 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: 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:04 PM ET / 23:04 UTC. |
4e4d523 to
e9cd019
Compare
795c353 to
301972b
Compare
e9cd019 to
774c07a
Compare
301972b to
32d8082
Compare
774c07a to
e6e7635
Compare
32d8082 to
dabd89e
Compare
e6e7635 to
b53be76
Compare
e235fbb to
074a995
Compare
9939bab to
b095c2c
Compare
074a995 to
71f356d
Compare
b095c2c to
bb87370
Compare
71f356d to
227ef1e
Compare
bb87370 to
e861165
Compare
227ef1e to
7114c78
Compare
7114c78 to
4f44382
Compare
With the sidebar closed, resting the pointer for 300 ms on a rail item that has a sidebar shows that sidebar floating beside the rail, over the content, without changing the page. Leaving the sidebar hides it; choosing a link in it navigates and hides it, and the sidebar stays closed. Choosing the rail item itself opens the sidebar for good. Touch input, the mobile drawer and settings never peek.
4f44382 to
b9be8d9
Compare
|
Merged as b255cc5 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. |
) 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
With the sidebar closed, seeing a section's list means opening the whole sidebar.
User Impact
Hovering a rail section while the sidebar is closed peeks its sidebar; leaving closes it again.
Why This Change Was Made
Adds the peek to the rail on top of the per-section sidebars.
Evidence
Screenshots come from the Control UI mock at the end of the series, so the after image can show later parts too.
Closed rail before, and the People peek after (left: main, right: after):
pnpm tsgo:uipasses at this PR's head.Side rail series, part 5 of 16. Stacked on #199825; review only this PR's commits.
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
9dc0cd4d918ca44b6b92406de7aeb41104921d9c; current head isb9be8d9a278cdc16e9c4e93f336fa1c08d156830. 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 listener repair preserves hover timing, touch/mobile exclusion, navigation and cleanup. The existing rail-peek browser E2E 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.