Repository navigation
refactor(ui): simplify chat header actions - #137688
Patrick-Erichsen wants to merge 1 commit into
Conversation
|
Codex review: blocked before merge. Reviewed September 4, 2026, 4:40 AM ET / 08:40 UTC. ClawSweeper reviewWhat this changesRemoves the standalone Background tasks and Open split view buttons from the chat header while retaining their session-menu actions and updating tests. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 4 items remain Keep open: this useful cleanup is not implemented on current main, and both prior findings remain unresolved. Likely related people: Patrick-Erichsen and Peter Steinberger, low-confidence routing candidates from prior area work. Priority: P2 Review scores
Verification
How this fits togetherThe Control UI chat header receives the selected conversation and callbacks from the chat page. It exposes actions that open task panels or change the conversation layout. flowchart TD
A[Selected conversation] --> B[Chat page layout callbacks]
B --> C[Chat header]
C --> D{Session row available?}
D -->|Yes| E[Session menu]
E --> F[Tasks panel or split view]
D -->|No| G[No session menu]
G --> H[Split View header action missing]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource -104, Tests +17. Total -87 across 5 files. View PR surface stats
Review metrics
Mantis proof suggestionA web UI chat interaction capture would directly verify the catalog entry point that the supplied regular-chat evidence does not exercise. A maintainer can ask Mantis to capture proof by posting this exact PR comment: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use the existing session menu for regular chats, retain the split opener where that menu is absent, and document the resulting entry points. Do we have a high-confidence way to reproduce the issue? Yes, from source: render a connected, wide, single-pane catalog conversation without a session row; the PR removes its direct split opener while suppressing the replacement menu. No runtime reproduction was executed. Is this the best way to solve the issue? No, the unconditional removal is too broad: reusing the existing menu is appropriate for regular chats, but retaining the opener only when that menu is absent preserves access without introducing another menu implementation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b22ebb1b509c. 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 (9 earlier review cycles; latest 8 shown)
|
Before / after proofBefore: original header actions After — the top-level header only keeps Browser, Side panel, and ellipsis: After — Show background tasks remains under Ellipsis → Panels: After — Open split view remains under Ellipsis → Layout: Browser assertions from the real isolated gateway capture found zero top-level |
|
🦞👀 Pull request received. I will update this pull request when review starts. |
c3fdc8f to
edbe56e
Compare
edbe56e to
b8581d4
Compare
b8581d4 to
6797528
Compare
f151dd1 to
4bb0cee
Compare
4bb0cee to
66f1b41
Compare
66f1b41 to
add705c
Compare
add705c to
f403b04
Compare
|
Closing this chat/dashboard-header branch as superseded by the incoming Workboard/session implementation. |




What Problem This Solves
The chat header duplicates Background tasks and Open split view even though both actions are already available from the session ellipsis menu.
Why This Change Was Made
User Impact
The chat header is less crowded without losing either action.
Evidence
pnpm exec vitest run --config test/vitest/vitest.ui.config.ts ui/src/pages/chat/chat-pane-terminal.test.ts ui/src/pages/chat/components/chat-pane-header.test.tsnode scripts/check-changed.mjspnpm ui:buildhttp://127.0.0.1:5187/chat/main.Stack