codeant-ai-for-open-source[bot] commented on PR #38563:
URL: https://github.com/apache/superset/pull/38563#issuecomment-4047649446
## **Sequence Diagram**
This PR migrates Superset frontend rendering to React 18 roots and replaces
legacy list sorting with dnd kit. The diagram shows the core runtime flow for
app mount, item reordering, and dynamic chart root lifecycle updates.
```mermaid
sequenceDiagram
participant User
participant Frontend
participant DndKit
participant ChartLayer
participant React18Root
User->>Frontend: Open application
Frontend->>React18Root: Create root and render app
User->>Frontend: Drag collection item
Frontend->>DndKit: Handle drag end and compute new order
DndKit-->>Frontend: Return reordered items
Frontend-->>Frontend: Save updated control value
Frontend->>ChartLayer: Refresh dynamic chart layer
ChartLayer->>React18Root: Render updated charts and unmount removed
charts
```
---
*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]