You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the last visible pane is killed or detached, auto-spawn a replacement so
the content area is never blank. The replacement receives the removed pane's
id as paneToCopy (dead infrastructure for now — future work will copy cwd and
terminal kind from it). Split also records paneToCopy → the pane it was split
from.
Freshly-spawned panes animate in via a clip-path reveal on the dockview group
(header + body together). clip-path is used instead of scale so the selection
overlay's getBoundingClientRect stays accurate during the animation.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/specs/layout.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -294,7 +294,7 @@ Dockview's separator borders, sash handles, and groupview borders are all set to
294
294
7.**Asymmetric back-navigation**: breadcrumb tracks last direction + origin for opposite-direction return.
295
295
8.**Center drop merges panels**: intercepted at group-level `model.onWillDrop` and converted to a swap.
296
296
9.**Group drag has null panelId**: falls back to `api.getGroup(groupId).activePanel.id`.
297
-
10.**Auto-spawn on empty**: `onDidRemovePanel` creates a new session when the last pane is removed and no doors exist.
297
+
10.**Auto-spawn on empty**: `onDidRemovePanel` creates a new session whenever the last visible pane is removed, whether or not doors exist — there is always a pane visible. The new pane receives the just-removed pane's id as `paneToCopy` for future cwd/terminal-kind inheritance.
0 commit comments