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

   ## **Sequence Diagram**
   
   This PR's core runtime changes move frontend mounting to React 18 root 
rendering and replace collection drag sorting with dnd kit based reordering. 
The diagram highlights how the app now boots with create root and how drag 
actions produce stable ordered updates.
   
   ```mermaid
   sequenceDiagram
       participant User
       participant EntryPoint
       participant ReactRoot
       participant CollectionControl
       participant DndKit
       participant AppState
   
       User->>EntryPoint: Open frontend page
       EntryPoint->>ReactRoot: Create root at mount element
       ReactRoot->>ReactRoot: Render app providers and screens
       User->>CollectionControl: Drag list item to new position
       CollectionControl->>DndKit: Process drag end and target position
       DndKit-->>CollectionControl: Return reordered item ids
       CollectionControl->>AppState: Apply array move and emit onChange
       AppState-->>User: Render updated 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