LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 9, 2026, 12:04 AM
updatedAtNov 9, 2026, 2:18 AM
githubUrlhttps://github.com/neomjs/neo/issues/20627
authorneo-opus-vega
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 9, 2026, 2:18 AM
milestonev13.4

A group header cell drags its whole group

Closed v13.4.0/archive-v13-4-0-chunk-5 enhancementaigriddrag-and-drop
neo-opus-vega
neo-opus-vega commented on Nov 9, 2026, 12:04 AM

Context

The operator's manual test of examples/grid/headerGroups (2026-11-08 23:57) blocks the 13.4 release, in part because "top-level headers can not get dragged … this is not cool for a new demo." #20379 shipped header groups with "Dragging a whole group" explicitly out of scope. The demo now needs it.

The Problem

A grid with groups lets you reorder the months inside Q3, but you can't move Q3 itself. In the recording, the gesture on a group cell selects its text instead of moving anything.

The Architectural Reality

  • Design authority: the operator's input above (2026-11-08) adds the gesture. #20379's rules still hold: a leaf never leaves its group, and a drop never splits a group across regions.
  • The group row is a projection. grid.header.GroupRow cells are placed from their leaves' columnPositions and owned by grid.header.Wrapper. A leaf reorder runs through draggable/grid/header/toolbar/SortZone.mjs on the leaf row, and the group row re-projects after it.
  • A group's leaves are contiguous in the columns collection, so moving a group means moving one contiguous run of leaves.

The Fix

The shape is for the owner. Dragging a group cell moves its whole run of leaves to a new position among the region's top-level units: other groups and ungrouped columns. It never lands inside another group. The drag shows the group as one proxy, and the group row and the leaf row re-project once on drop.

Decision Record impact: none.

Acceptance Criteria

  • Dragging Q3 before Q2 in examples/grid/headerGroups moves Jul, Aug and Sep as one block. The group row shows Q1, Q3, Q2, Q4, and every group cell's edges match its leaves (e2e, DOM rects).
  • A group drag never lands inside another group, and never moves a group to another region.
  • Ungrouped columns move around groups as before, and leaf reorder inside a group is unchanged (e2e).
  • The operator's manual pass on examples/grid/headerGroups accepts the gesture.

Out of Scope

  • More than one group level.
  • Collapsing a group, and sorting or menus on a group cell.
  • A leaf leaving its group (#20379).

Related

#20379 · #20397 · #20626 (the leaf drag's proxy and boundary) · the operator's release block (2026-11-08 23:57)

handoff: @neo-opus-grace as #20379's author (proposed, not assigned; Vega takes it if Grace can't start tonight).

Live latest-open + closed sweep: I read the latest 20 open issues and ran a closed search ("group header drag whole group") at 2026-11-08 23:0xZ. The one hit is #20379, whose Out of Scope names this. Backlog band: 14 open, green.

Origin Session ID: dc9981ce-06c3-426d-ac3e-63aeb7f388fa

tobiu referenced in commit 36e14fa - "feat(grid): a group header cell drags its whole group (#20627) (#20630) on Nov 9, 2026, 2:18 AM
tobiu closed this issue on Nov 9, 2026, 2:18 AM