Repository navigation
feat(ui): expand dashboard sessions from sidebar - #137687
Patrick-Erichsen wants to merge 3 commits into
Conversation
|
Codex review: blocked before merge. Reviewed September 4, 2026, 4:48 AM ET / 08:48 UTC. ClawSweeper reviewWhat this changesDashboard-preferred sidebar sessions request an expanded dashboard panel, with updated navigation tests and documentation. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 3 items remain Keep open: current main still lacks this sidebar behavior, and the previously reported Home native-link mismatch remains on the pinned head. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI sidebar turns session preferences into navigation destinations. The session route loader passes the dashboard presentation hint to the chat pane, which expands the side panel and selects Dashboard. flowchart LR
A[Session preferences] --> B[Sidebar rows and Home]
B --> C[Native link or in-app navigation]
C --> D[Session route loader]
D --> E[Chat pane layout]
E --> F[Expanded dashboard tab]
E --> G[Regular chat presentation]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +3, Tests +27, Docs +3. Total +33 across 6 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use the existing expansion hint consistently for sidebar rows and Home while preserving chat-preferred sessions and manual collapse behavior. Do we have a high-confidence way to reproduce the issue? Yes, from source: with a cached dashboard-preferred main session, compare an ordinary Home click with opening its href in a fresh tab; only the ordinary click requests expansion. This review did not execute that scenario. Is this the best way to solve the issue? The existing presentation hint is the right mechanism, but the patch is incomplete until Home’s native link uses the same decision; changing the global helper default would unnecessarily affect other callers. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9d2404a4538e. LabelsLabel justifications:
EvidenceAcceptance criteria:
What 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)
|
Before / after proofBefore: dashboard-session behavior before this PR After — clicking the expanded-dashboard.mp4Browser assertions from the real isolated gateway capture:
|
|
🦞👀 Pull request received. I will update this pull request when review starts. |
4c85c9a to
e5026e4
Compare
73370ce to
4fe8d36
Compare
4fe8d36 to
b127196
Compare
b127196 to
a88c869
Compare
a88c869 to
3c5865a
Compare
3c5865a to
db41582
Compare
|
Superseded by the merged interchangeable-panel layout in #138077; closing this older dashboard-specific expansion approach in favor of preserving that shared layout. |


What Problem This Solves
Selecting a dashboard-enabled thread from the main sidebar opens the dashboard namespace, but does not request the full-width dashboard presentation.
Why This Change Was Made
dashboard=expandedpresentation hint to both sidebar link hrefs and in-app navigation options whenboardFaceisdashboard.User Impact
Dashboard-enabled threads now open directly into a focused, full-width dashboard when selected from the sidebar.
Evidence
pnpm exec vitest run --config test/vitest/vitest.ui.config.ts ui/src/components/app-sidebar.test.tspnpm exec vitest run --config test/vitest/vitest.ui-isolated.config.ts ui/src/pages/chat/chat-pane-board.test.tsnode scripts/check-changed.mjspnpm ui:buildhttp://127.0.0.1:5187/chat/main.Stack