-
-
Notifications
You must be signed in to change notification settings - Fork 202
refactor: Ensure Drag & Drop Stability via 'internalId' #9073
Copy link
Copy link
Closed
Labels
Description
Context:
Cross-store Drag & Drop (e.g., dragging a User to a Project) can fail if both entities share the same ID (e.g., 1) but come from different stores.
With internalId (#9070), every item has a globally unique neo-record-x identifier.
Task:
Audit and update the Drag & Drop subsystems to leverage internalId for identifying dragged items.
Requirements:
- DragZone: Ensure that when a list/grid item is dragged, the
dragDataincludes theinternalId. - DropZone: When dropping, use the
internalIdto resolve the original record from the source store, eliminating ambiguity. - Proxy: Ensure the drag proxy element uses a stable ID.
Scope:
src/draggable/list/DragZone.mjssrc/draggable/grid/DragZone.mjssrc/draggable/DragZone.mjs
Reactions are currently unavailable