-
Notifications
You must be signed in to change notification settings - Fork 8
Description
What you need to do
Implement handleTaskDragStart, handleTaskDragOver, handleTaskDrop, and handleTaskDragEnd to handle the drag-and-drop events.
The application currently does not handle these events, which are necessary for the drag and drop functionality of the tasks. They can be found between lines 24-48 of App.tsx.
Before:
before2.mov
After:
after2.mov
Subtask 2.1
Make sure the application doesn't incorrectly show duplicate tasks when dragged over themselves.
The application may display a duplicate of the task when a task is dragged over itself. Make sure this doesnt happen.
Before:
b.mov
After:
a.mov
Subtask 2.2
Make sure the application doesn't leave a lingering task when dragged over a column but dropped elsewhere.
If a task is dragged over a column but is dropped elsewhere, the application should not leave a copy of the task in the column.
Before:
b.mov
After:
a.mov
Subtask 2.3
Make sure the application doesn't delete a task that is dragged over its current column.
A task should not be deleted when it is dragged over its current column.
Before:
b.mov
After: