Repository navigation
fix(ui): keep the sidebar in one scroll area on every route - #148809
Conversation
Restore shared scrolling for global navigation and the active session or Systems list after #147519 split them apart. Preserve destination scroll restoration and shared scroll fades. Regression proof fails before the change on both routes and passes afterward; 5 browser cases and 432 focused unit tests pass.
|
🦞👀 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. Reviewed September 15, 2026, 1:57 AM ET / 05:57 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR makes sidebar navigation scroll with the session or machine list, preserves destination scroll positions, and updates documentation and regression coverage. Merge readiness✅ Ready for maintainer review The fix remains necessary on current main. The focused implementation and inspected before/after screenshots support the intended behavior, with no actionable defects found. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI sidebar combines global navigation with sessions or the active route’s machine list. Its existing controllers retain scroll positions and update visual fades while the header and footer remain fixed. flowchart TD
A[Active route] --> B[Select sessions or machines]
C[Global navigation] --> D[Shared sidebar scroller]
B --> D
E[Wheel and scroll input] --> D
D --> F[Destination positions and edge fades]
G[Fixed header and footer] --- D
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -6, Tests +87, Docs +1. Total +82 across 6 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep one sidebar scroll container for navigation and route content, using the existing destination-position and fade controllers. Do we have a high-confidence way to reproduce the issue? Yes: current-main markup and CSS establish separate scrollers, and the supplied browser scenario exercises overflow on both session and machine routes. This review did not execute that scenario. Is this the best way to solve the issue? Yes: moving navigation into the existing scroller removes the competing overflow region without adding a second state owner or changing saved preferences. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c657a10e11da. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
…#148809) Restore shared scrolling for global navigation and the active session or Systems list after openclaw#147519 split them apart. Preserve destination scroll restoration and shared scroll fades. Regression proof fails before the change on both routes and passes afterward; 5 browser cases and 432 focused unit tests pass.
Related: #147519, #109694.
What Problem This Solves
The sidebar scrolls navigation separately from sessions or machines after the Systems workspace change, splitting one continuous list into two regions.
User Impact
Navigation and the active list scroll together on every route, including Systems. The header and footer stay fixed, and switching back restores the destination's scroll position.
Why This Change Was Made
Place navigation back inside the existing sidebar scroller and remove its independent height cap and overflow. Systems replaces the list content inside that same scroller and uses the shared scroll fades.
Evidence
Both new browser regressions failed before the fix: the list moved 160 pixels while Home stayed fixed. Both pass afterward, including scrolling over either navigation or list content.
The following screenshots use only synthetic fixtures at matching 1440 × 900 viewports, cropped to the sidebar. Each shows the result of the same 160-pixel wheel scroll. Full captures were inspected before cropping and upload.