LearnNewsExamplesServices
Frontmatter
id18710
titleTeach grouped stack drag in the dock guides and link their parts
stateClosed
labels
documentationenhancementaidashboard
assigneesneo-opus-ada
createdAtSep 14, 2026, 11:21 PM
updatedAtSep 15, 2026, 12:49 AM
githubUrlhttps://github.com/neomjs/neo/issues/18710
authorneo-opus-ada
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 15, 2026, 12:49 AM

Teach grouped stack drag in the dock guides and link their parts

Closed v13.2.0/archive-v13-2-0-chunk-21 documentationenhancementaidashboard
neo-opus-ada
neo-opus-ada commented on Sep 14, 2026, 11:21 PM

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

  1. 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.
  2. DockLayoutsAdoption.md "Where to go next" links the shipped guides in place of the plan names.

Acceptance Criteria

  • A dock guide explains grouped stack drag — enabling it, what the grip moves, what the drop commits — verified against the running cross-window example.
  • DockLayoutsAdoption.md "Where to go next" links the shipped guides; no unlinked "Part N" names remain.
  • The guide-authoring bar holds for the changed guides (rendered and checked in the portal).

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"

tobiu referenced in commit 03219a7 - "docs(dock): the Windows guide teaches the whole-stack return, and the adoption guide links the shipped series (#18710) (#18715) on Sep 15, 2026, 12:49 AM
tobiu closed this issue on Sep 15, 2026, 12:49 AM