codeant-ai-for-open-source[bot] commented on PR #38563:
URL: https://github.com/apache/superset/pull/38563#issuecomment-4038427224

   ## **Sequence Diagram**
   
   This PR rewires the Explore collection control to use dnd kit for drag and 
drop, changing how item reordering events flow from the UI back to the parent 
form while keeping the visible behavior the same.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant CollectionControl
       participant DragDropEngine
       participant ParentForm
   
       User->>CollectionControl: Drag item handle
       CollectionControl->>DragDropEngine: Register drag sensors and item ids
       DragDropEngine-->>CollectionControl: Drag end event (active id, over id)
       CollectionControl->>CollectionControl: Compute new order with arrayMove
       CollectionControl->>ParentForm: onChange(updated collection)
       ParentForm-->>CollectionControl: Rerender with new item order
   ```
   
   ---
   *Generated by [CodeAnt AI](https://codeant.ai)*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to