Repository navigation
feat: support dragging tabs into new split panes - #732
Merged
Merged
Conversation
- fix: hide no-op single-tab split overlay - Auto-review iteration 2: fix drag perf, CSS overlay, DndContext sensors, dead init - WIP: Update review context for iteration 2 - WIP: Auto-review iteration 1 fixes - WIP: Changes before auto-review fixes
- useTabDragSplit: include worktreeId in updateHoveredPane deps; skip no-op center drop onto the tab's own pane body - TabGroupDropOverlay: mark decorative overlay aria-hidden - useTabGroupWorkspaceModel: drop dead reorderTabBar plumbing
6 tasks
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
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.
Problem
Users could create split groups from header actions, but the tab strip itself could not drag tabs across groups or into new pane splits. That made tab management less direct, and the drag UI could still show a split affordance for a single-tab pane even when the store would reject the drop as a no-op.
Solution
Move tab drag handling into the split-layout DnD context so tabs can be reordered within a group, dropped into another group, or dropped on a pane body to create a new split. Add pane-body overlays and shared drag metadata for terminal, editor, and browser tabs, wire the store with a
dropUnifiedTabpath that collapses emptied groups correctly, and suppress same-pane single-tab split drops in both the UI and store. Add focused tests for the new drag-drop behavior and the no-op guard.