Repository navigation
fix(ui): make dashboard side panels enter split view - #130426
fuller-stack-dev merged 2 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 5:30 PM ET / 21:30 UTC. ClawSweeper reviewWhat this changesThe PR routes explicit Control UI side-panel actions through the Board owner so Dashboard and Split agree with panel visibility, and only offers Discussion after its provider reports availability. Regression provenancePossible regression — probable (reviewed change; reproduction). No predecessor PR is attributed. Merge readinessKeep open. Current main still lacks the Board-aware transition that makes Dashboard hide side panels and makes an explicit panel action restore Split; the patch centralizes that policy and has no source-level blocking finding. Its protected maintainer label and current-head verification still require human handling before merge. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherThe Control UI chat page renders a Board workspace plus optional Browser, Terminal, Discussion, and other side panels. Panel actions update local layout while the Board provider owns the chat dock that selects Dashboard or Split presentation. flowchart LR
A[User selects Dashboard or a panel] --> B[Chat page action handler]
B --> C[Board-aware layout transition]
C --> D[Board chat dock]
C --> E[Stored side-panel layout]
D --> F[Dashboard or Split workspace]
E --> F
G[Gateway Discussion probe] --> H[Discussion launcher availability]
Decision needed
Why: This is a deliberate user-visible behavior change to existing saved layouts, and the protected maintainer label requires explicit maintainer handling. Before merge
Agent review detailsSecurityNone. PR surfaceSource +33, Tests +182. Total +215 across 15 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep one Board-owned transition seam, then rebase onto current main and verify the saved-layout Dashboard/Split flow on the exact merge head before landing. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main hides the Board dock for Dashboard while preserving ordinary side-panel layout, and the focused E2E scenario names the resulting visible mismatch. The read-only review did not execute the browser test. Is this the best way to solve the issue? Yes. Routing explicit visibility changes through the Board owner is preferable to duplicating dock updates at every launcher, while the render projection keeps restored state passive. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e0a4915bcf16. LabelsLabel changes:
Label 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
|
|
ClawSweeper moves addressed:
|
|
Merged via squash.
|
* origin/main: (275 commits) fix(ai): require explicit compatible-provider endpoints (#130453) test(control-ui): guard the hand-mirrored theme --bg copies (#130444) fix(onboard): preserve the saved skills package manager (#130438) improve(worker): diagnose admission-deadline failures and widen daemon revalidation budget (#130435) fix(plugins): align diffs external install metadata (#130362) refactor(models): consolidate config normalization (#130439) fix(browser): accept common keyboard aliases (#130401) fix(release): refresh IMAP plugin baselines (#130351) fix(tests): type sticky model agent fixtures (#130441) fix(qa): track current Slack progress cards (#130354) feat(ui): refine the mobile composer (#130308) fix(ui): clarify gateway disconnect status in tab title (#130364) test(qa): await gateway startup before network probes (#130353) fix(qa): run Buzz profile scenarios with pooled credentials (#130316) fix(crabbox): keep the setup failure reason and name its phase (#130425) fix: dashboard tools target the wrong Gateway after admission (#130112) fix(ui): distinguish inherited model defaults from session pins (#120805) feat(feishu): let agents resend received stickers (#130374) refactor(models): prepare selection policy once (#130413) fix(ui): make dashboard side panels enter split view (#130426) ... # Conflicts: # test/scripts/docker-build-helper.test.ts
* fix(ui): hide unavailable discussion panel * fix(ui): couple dashboard side panel to split mode
What Problem This Solves
Fixes an issue where Dashboard, Split, and the side panel could disagree. Selecting Dashboard could leave a panel visible, while closing the whole panel could leave Split selected. The Add side panel menu could also offer Discussion before the gateway reported a Discussion provider for the session.
Why This Change Was Made
Explicit side-panel intents now pass through the Board owner so panel visibility and the active Board chat dock change together. Passive restored state remains passive, bottom-docked chat stays independent, and Discussion appears only after the session probe reports it as available or open.
User Impact
Dashboard is now the board-only view. Opening any available side panel enters Split with the remembered tabs, and closing the whole side panel returns to Dashboard. Disconnected or unavailable Discussion providers no longer leave a non-working Discussion launcher in the Add tab menu.
Evidence
Canonical base remained red after the overlapping empty-panel resize fix at
f290d6bc815c605a5e6af6ce3ea53bc20abe661c: after selecting Dashboard, the browser test expected no side panel but still found one. Current based64d8464c1c48c66f65ecb893759aaf5d6b23d98only adds unrelated CLI, plugin, channel, provider, and test changes.dashboard-panel-base.webm
The corrected flow is green: Dashboard settles without a panel, the header launcher restores Split with Board chat, Browser, and Terminal, whole-panel close returns to Dashboard, and Chat-to-Dashboard navigation does not reopen the panel.
dashboard-panel-head.webm
The linked playback predates the final test-hardening and rebases. The same focused recording was rerun at
0908ee6a969fe21a2bbbb6ca309619a0f8916b2c(SHA-256f77f9ce840b6ac8e4514b3bb520d75b0f46b3a55ced31cac8c64f72e16a985ce). Final head5166dcfec5c98a7c0e12b2c1db9f0965c8c0a58cpreserves stable patch ID0592bc3101f0f69f70c2600c68a7ec9820242359after the unrelated final base update.