Skip to content

improve(control-ui): move the split-view opener into the top-right toggle cluster - #104341

Merged
steipete merged 2 commits into
mainfrom
claude/splitviewbutton-placement-53880b
Jul 11, 2026
Merged

steipete merged 2 commits into
mainfrom
claude/splitviewbutton-placement-53880b

Conversation

@steipete

@steipete steipete commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

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 panelRightOpen so 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

  • Live proof against a real local gateway (vite dev UI): the opener renders as the first button of .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.
  • Testbox-through-Crabbox (tbx_01kx85rqttd19j8b2z59ma8azk): pnpm check:changed green; chat-view.test.ts 158 ✓, chat-page.test.ts 15 ✓, chat-composer-redesign.e2e.test.ts 6/6 ✓. Two chat-flow.e2e.test.ts failures on that box ("workspace files panel collapsed", "worktree chat") reproduce identically on a clean main baseline in the same environment (system Chromium), so they are unrelated to this change; hosted CI is the arbiter for those.
  • Structured Codex review of the diff reported no actionable findings.
  • Net prod LOC is negative: the bottom-right chrome CSS block was deleted in favor of the shared floating-toggle rules.

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:

Split-view opener in the top-right toggle cluster

Clicking it opens the two-pane split; per-pane headers own the split/close controls as before:

Split view opened from the relocated button

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Jul 11, 2026
@steipete
steipete merged commit adb05e7 into main Jul 11, 2026
106 of 111 checks passed
@steipete
steipete deleted the claude/splitviewbutton-placement-53880b branch July 11, 2026 09:19
@steipete

Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant