Repository navigation
improve(control-ui): move the split-view opener into the top-right toggle cluster - #104341
Merged
Merged
Conversation
…ng toggle cluster
…ting toggle cluster
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 12, 2026
…ggle cluster (openclaw#104341) * improve(control-ui): move split-view opener into the top-right floating toggle cluster * test(control-ui): anchor split-view opener e2e assertions to the floating toggle cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The Control UI chat screen rendered the "Open split view" button as a lone floating control pinned to the bottom-right corner, hovering next to the composer's mic button. It looked attached to the message input, crowded the corner on shorter windows, and was the only split-view control living at the bottom: once a split is open, all split controls (split right/down, close pane) live in the pane headers at the top.
Why This Change Was Made
The opener now renders as the first button in the existing top-right floating toggle cluster (next to the session diff, background tasks, and session files toggles), so all pane-level chrome shares one corner and the whole split-view lifecycle is top-anchored. The page still owns the layout state and only hands the open callback to the single wide pane; split mode and narrow viewports keep suppressing the opener exactly as before. The duplicated bottom-right chrome CSS block was deleted in favor of the shared floating-toggle styles, and the button now uses a columns icon instead of
panelRightOpenso it does not read as another sidebar toggle next to the panel toggles.User Impact
The split-view opener sits with the other view toggles in the top-right corner of the chat area instead of floating above the composer. Behavior is unchanged: it appears only for a single wide pane, opens a two-pane split on click, and stays hidden on narrow viewports, in split mode, and while the detail sidebar is open (the whole cluster yields that corner to the sidebar header controls).
Evidence
.chat-floating-toggles, tooltip reads "Open split view", clicking it opens the two-pane split with per-pane headers, closing the pane restores single-pane mode. Screenshots in the PR body below.tbx_01kx85rqttd19j8b2z59ma8azk):pnpm check:changedgreen;chat-view.test.ts158 ✓,chat-page.test.ts15 ✓,chat-composer-redesign.e2e.test.ts6/6 ✓. Twochat-flow.e2e.test.tsfailures on that box ("workspace files panel collapsed", "worktree chat") reproduce identically on a cleanmainbaseline in the same environment (system Chromium), so they are unrelated to this change; hosted CI is the arbiter for those.Screenshots
New placement — the opener is the first button in the top-right floating toggle cluster (tooltip shown), and the bottom-right corner next to the composer is clean:
Clicking it opens the two-pane split; per-pane headers own the split/close controls as before: