Skip to content

Add drag-and-drop task reordering - #31

Open
zquintana wants to merge 9 commits into
mainfrom
dnd
Open

zquintana wants to merge 9 commits into
mainfrom
dnd

Conversation

@zquintana

Copy link
Copy Markdown
Collaborator

Implements drag-and-drop functionality for reordering tasks with the following features:

  • Global ordering system allowing tasks to be positioned anywhere in the list
  • Toggle between custom order and automatic sorting
  • Smooth animations with DragOverlay
  • Visual feedback during drag operations
  • Priority remains unchanged when reordering (only position changes)

Changes

  • Added @dnd-kit packages for drag-and-drop functionality
  • Added optional order field to Task interface for custom positioning
  • Added Redux actions for task reordering (reorderTasks, moveTaskToPriority, setTaskOrder, reorderMultipleTasks, clearTaskOrder)
  • Updated API service to handle order persistence and migration
  • Made TaskItem draggable with visual feedback
  • Implemented DndContext and SortableContext in TaskList with toggle button
  • Added DragOverlay for smooth drag animations

Closes #7

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add drag-and-drop reordering

1 participant