Repository navigation
improve(ui): align sidebar and chat header controls - #125062
vyctorbrzezowski wants to merge 16 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: blocked before merge. Reviewed September 3, 2026, 3:08 AM ET / 07:08 UTC. ClawSweeper reviewWhat this changesThe PR moves Control UI navigation controls into the sidebar header, revises collapsed and macOS navigation chrome, and reorganizes chat-header identity controls. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 5 items remain Keep open: this maintainer-authored, protected draft still removes the collapsed native New session action identified in the prior review, and its broader remaining scope needs a rebase onto current main. Priority: P2 Review scores
Verification
How this fits togetherControl UI navigation wraps the chat workspace across desktop web, narrow layouts, and native macOS hosts. Its controls create sessions, open search, change navigation state, and expose session identity. flowchart LR
A[Desktop web or macOS host] --> B[Navigation state]
B --> C[Expanded sidebar header]
B --> D[Collapsed controls]
A --> E[Chat header]
C --> F[New session and search]
D --> F
E --> G[Identity and pane actions]
Decision needed
Why: The merged sidebar work intentionally excluded these remaining surfaces, while the draft’s native behavior conflicts with the established direct-session path. Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +305, Tests +870, Docs 0. Total +1175 across 54 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase the remaining native and chat-header work onto current main’s titlebar runtime owner, retain the collapsed access-gated New session action, and revalidate native-host and browser layouts. Do we have a high-confidence way to reproduce the issue? Yes—source-reproducible: the PR removes the collapsed native action and its E2E test expects that control to be absent. No target tests were run in this read-only review. Is this the best way to solve the issue? No: the intended alignment should preserve the established collapsed, access-gated New session path rather than delete it. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 8ffa76c28032. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (10 earlier review cycles; latest 8 shown)
|
9951e5b to
3b719a5
Compare
53bc9e4 to
38de7b8
Compare


Closes #122449
What Problem This Solves
Sidebar and chat-header controls were split across unrelated axes, making identity and navigation harder to scan. The collapsed desktop state also needed a stable recovery rail instead of overlapping the content header.
Why This Change Was Made
The expanded sidebar now owns New session, Search, and Collapse in its identity header. The collapsed web state keeps Expand and Search beside a divider, while the macOS app keeps Back, Forward, sidebar toggle, and Search in one stable cluster beside the traffic lights. The chat header groups project, session, creator, sharing, and participant identity before pane actions.
User Impact
Desktop and mobile navigation now preserve one predictable control order, session identity stays readable under constrained width, and sidebar-open and sidebar-closed layouts align without overlapping content. The native macOS cluster was verified in the app by the maintainer.
Evidence
pnpm ui:buildpassed; startup CSS is 44.4 KiB gzip (45.0 KiB limit).OPENCLAW_VITEST_MAX_WORKERS=2 node scripts/check-changed.mjspassed./reviewwithgithub-copilot/gpt-5.6-solhigh: no findings.