refactor(Filter components): migrate from react-dnd to dnd-kit#37445
refactor(Filter components): migrate from react-dnd to dnd-kit#37445LevisNgigi wants to merge 9 commits intoapache:masterfrom
Conversation
Code Review Agent Run #82a83fActionable Suggestions - 0Additional Suggestions - 8
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Code Review Agent Run #799355Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
I tested manually (videos are not playing) and cross list divider d&d does not work. Should it? |
In the Filters and Config Modal? Below is the video. 2026-01-29.12-59-26.mp4 |
|
I think it might work but the dropping takes a while: 2026-01-30_14-40-43.mp4 |
3f92d30 to
aba104b
Compare
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Thank you. I updated the logic, tested locally and works fine now. |
Code Review Agent Run #d5aba5Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
@EnxDev This workflow is deprecated! Please use the new Superset Showtime system instead:
Processing your ephemeral environment request here. Action: up. More information on how to use or configure ephemeral environments |
|
@EnxDev Ephemeral environment spinning up at http://44.251.101.214:8080. Credentials are 'admin'/'admin'. Please allow several minutes for bootstrapping and startup. |
SUMMARY
This PR migrates DraggableFilter and related components from react-dnd to dnd-kit, replacing an unmaintained dependency with a modern, hooks-based drag-and-drop solution while preserving existing behavior.
The migration maintains container-level dragging, supports same-list reordering, and enables cross-list drag-and-drop via a shared DndContext.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE:
2026-01-25.10-23-59.mp4
AFTER:
2026-01-26.09-13-46.mp4
TESTING INSTRUCTIONS
1)Open a dashboard .
2)Open the Filter Configuration / Customization sidebar.
3)Verify that filters can be:
4)Dragged to reorder within the same list
5)Dragged without interfering with Delete and Undo actions
6)Verify cross-list drag-and-drop behavior for dividers works as before.
7)Confirm that drag interactions work seamlessly.
ADDITIONAL INFORMATION