Skip to content

fix(org): draggable pool stacks + no-select on canvas nodes (#2439) - #2440

Merged
kevinthelago merged 1 commit into
developfrom
2439-org-noselect-pool-drag
Jul 6, 2026
Merged

fix(org): draggable pool stacks + no-select on canvas nodes (#2439)#2440
kevinthelago merged 1 commit into
developfrom
2439-org-noselect-pool-drag

Conversation

@kevinthelago

Copy link
Copy Markdown
Owner

Two org-canvas UX fixes following #2436's always-stacked engineer nodes:

  • Pool stacks are draggable. The stacked card previously owned a click-only (drill) gesture; it now shares the regular node drag machinery — drag moves the stack, click still drills. Because the pool node is synthetic (rendered at its members' centroid), the drop commits by shifting every member by the drag delta: the stack lands where dropped, and the drill-in layout keeps its relative arrangement.
  • user-select: none on the pool card and all node wrappers — dragging never highlights node labels.

Tests: OrgPanel integration — click drills (unchanged), drag shifts all members by one shared delta and never drills, wrappers carry no-select.

Gate: typecheck clean · lint 0 errors.

Closes #2439.

🤖 Generated with Claude Code

- The stacked pool card now shares the node drag machinery: a drag moves
  the whole stack (the drop shifts EVERY member by the delta, since the
  synthetic pool node re-renders at the members' centroid — the stack
  lands where dropped and the drill-in keeps its arrangement); a plain
  click still drills in.
- user-select: none on the pool card and node wrappers so a drag never
  highlights labels/blurbs.
- OrgPanel integration tests: click drills, drag shifts all members by
  one shared delta without drilling, wrappers carry user-select none.

Closes #2439.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kevinthelago
kevinthelago merged commit 5560b3f into develop Jul 6, 2026
7 checks passed
@kevinthelago
kevinthelago deleted the 2439-org-noselect-pool-drag branch July 6, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant