Context
Found while resolving the Dock Layouts guide-series epic (#17540, closed after its nine subs merged). Two gaps outlived it, and no open ticket covers either.
The Problem
- Grouped drag is advertised and never taught.
learn/guides/uibuildingblocks/DockLayouts.md lists "grouped drag" among the dock's features, and DockLayoutsAdoption.md promises it under "Part 3 — The Feature Set". No guide says what it is, how an app enables it, or what the drop commits.
- The adoption guide still points at the series by its plan names. Its "Where to go next" lists "Part 2 — The Mechanics", "Part 3 — The Feature Set" and "Part 4 — Panes Are Ordinary Components" as unlinked text, while the guides that shipped go unmentioned.
The Architectural Reality
- Grouped drag is opt-in:
Neo.dashboard.dock.projection.LayoutAdapter takes enableStackDrag (default false) and decorates WorkspaceDocument.resolveStackRoot(model) with one whole-stack grip, passed as stackHandle from projection/Reconciler.mjs.
- The shipped consumers enable it only on popup workspaces —
apps/workstation/view/PopupWorkspace.mjs#getDockProjectionOptions and the popup workspace in examples/dashboard/crossWindow/DemoBWorkspace.mjs — so what users meet is a popup's whole stack dragged back as one unit, committing transferNode (ADR 0029 §2.4).
- Witnesses already exist:
test/playwright/unit/dashboard/DockCrossWindowParticipation.spec.mjs ("whole-stack drop") and the grouped gesture in test/playwright/e2e/workstation/WorkstationFiveBeatNL.spec.mjs.
- The shipped series, per
learn/tree.json: DockLayoutsAdoption, DockLayoutsStateAndPersistence, DockLayoutsPanes, DockLayoutsWindows, DockLayoutsStyling, DockLayoutsMechanics, DockLayoutsFeatures (under guides/uibuildingblocks), guides/testing/DockLayoutsTesting, and tutorials/DockLayoutsFirstLayout.
The Fix
DockLayoutsWindows.md gains a short section on the whole-stack return: how a workspace enables enableStackDrag, what the grip moves, and what transferNode commits, written against the running cross-window example.
DockLayoutsAdoption.md "Where to go next" links the shipped guides in place of the plan names.
Acceptance Criteria
Out of Scope
- New guides, and any change to grouped drag itself.
Related
- #17540 — the guide-series epic these gaps outlived.
- ADR 0029 §2.4 — grouped drag,
moveNode / transferNode.
Live latest-open sweep: latest 20 open issues at 2026-09-14T21:20:49Z; no equivalent. A2A sweep: last 30 messages; no claim on this scope. Memory Core sweep: only this session's own recommendation. Open issues assigned to me: none equivalent.
Origin Session ID: 0ee0e8a7-1323-49b7-aa36-a7a4563de130
Retrieval Hint: "dock guides grouped stack drag enableStackDrag whole-stack return adoption guide where to go next"
Context
Found while resolving the Dock Layouts guide-series epic (
#17540, closed after its nine subs merged). Two gaps outlived it, and no open ticket covers either.The Problem
learn/guides/uibuildingblocks/DockLayouts.mdlists "grouped drag" among the dock's features, andDockLayoutsAdoption.mdpromises it under "Part 3 — The Feature Set". No guide says what it is, how an app enables it, or what the drop commits.The Architectural Reality
Neo.dashboard.dock.projection.LayoutAdaptertakesenableStackDrag(defaultfalse) and decoratesWorkspaceDocument.resolveStackRoot(model)with one whole-stack grip, passed asstackHandlefromprojection/Reconciler.mjs.apps/workstation/view/PopupWorkspace.mjs#getDockProjectionOptionsand the popup workspace inexamples/dashboard/crossWindow/DemoBWorkspace.mjs— so what users meet is a popup's whole stack dragged back as one unit, committingtransferNode(ADR 0029 §2.4).test/playwright/unit/dashboard/DockCrossWindowParticipation.spec.mjs("whole-stack drop") and the grouped gesture intest/playwright/e2e/workstation/WorkstationFiveBeatNL.spec.mjs.learn/tree.json:DockLayoutsAdoption,DockLayoutsStateAndPersistence,DockLayoutsPanes,DockLayoutsWindows,DockLayoutsStyling,DockLayoutsMechanics,DockLayoutsFeatures(underguides/uibuildingblocks),guides/testing/DockLayoutsTesting, andtutorials/DockLayoutsFirstLayout.The Fix
DockLayoutsWindows.mdgains a short section on the whole-stack return: how a workspace enablesenableStackDrag, what the grip moves, and whattransferNodecommits, written against the running cross-window example.DockLayoutsAdoption.md"Where to go next" links the shipped guides in place of the plan names.Acceptance Criteria
DockLayoutsAdoption.md"Where to go next" links the shipped guides; no unlinked "Part N" names remain.Out of Scope
Related
moveNode/transferNode.Live latest-open sweep: latest 20 open issues at 2026-09-14T21:20:49Z; no equivalent. A2A sweep: last 30 messages; no claim on this scope. Memory Core sweep: only this session's own recommendation. Open issues assigned to me: none equivalent.
Origin Session ID: 0ee0e8a7-1323-49b7-aa36-a7a4563de130
Retrieval Hint: "dock guides grouped stack drag enableStackDrag whole-stack return adoption guide where to go next"