feat(KB-270): add drag-and-drop reordering for subtasks

- Add drag-and-drop state management with mouse event handlers
- Add CSS styles for subtask drag states (dragging, drop-target, drop-before/after)
- Integrate drag-and-drop into SubtaskBreakdownModal with grip handles
- Add keyboard accessible reordering with up/down arrow buttons
- Add comprehensive tests for drag-and-drop interactions
- Update AGENTS.md with subtask dialog documentation
- Add changeset for subtask drag-reorder feature
This commit is contained in:
gsxdsm
2026-03-31 06:00:12 -07:00
parent b1a5db6560
commit d86ffcf967
5 changed files with 539 additions and 16 deletions

View File

@@ -0,0 +1,9 @@
---
"@dustinbyrne/kb": patch
---
Add drag-and-drop reordering to subtask breakdown dialog
Users can now drag subtasks up and down to reorder them before creating,
which automatically updates the execution order and dependency chain.
Keyboard reordering buttons are also available as an accessible alternative.