Commit 519bfa1
committed
feat(todo): add drag-and-drop reordering for checklist items
Add order_index column to checklist_items table to persist custom ordering.
Implement DnD-kit for drag-and-drop UI with vertical axis restriction.
Separate incomplete/completed items visually and only allow reordering within same completion state.
Update toggle logic to assign order index when moving between states.1 parent 7d86683 commit 519bfa1
File tree
6 files changed
+364
-86
lines changed- desktop
- src
- components/todo
- core/infra
- stores
6 files changed
+364
-86
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments