feat(kanban): drag-and-drop task reordering in board view#3234
Open
desireddymohithreddy0925 wants to merge 16 commits into
Open
feat(kanban): drag-and-drop task reordering in board view#3234desireddymohithreddy0925 wants to merge 16 commits into
desireddymohithreddy0925 wants to merge 16 commits into
Conversation
…racking # Conflicts: # src/components/GoalTracker.tsx
desireddymohithreddy0925
requested a review
from Priyanshu-byte-coder
as a code owner
July 25, 2026 08:45
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements a drag-and-drop Kanban board for tasks using
@dnd-kit, allowing users to easily reorder tasks and move them across different status columns seamlessly.Closes #2889
Type of Change
Description
Tasks in the dashboard were previously only available in static lists under project milestones. This PR addresses the need for bulk triage and agile workflows by introducing a fully interactive Kanban board.
Changes made:
order_indexinteger column to thetaskstable via migration to reliably persist user-defined task ordering within each status.KanbanBoard.tsxwidget using@dnd-kit/coreand@dnd-kit/sortablefor accessible and robust drag-and-drop interactions. Features standard columns:To Do,In Progress, andDone.status(and marks itcompletedif dropped inDone), transferring it to the new list automatically.PUT /api/tasks/reorderendpoint optimized to handle bulk status andorder_indexupdates generated when a drag-and-drop action completes.KanbanBoardas an available widget insrc/lib/dashboard-layout.tsso users can pin it to their dashboard views.Testing
order_indexupon page refresh.pnpm typecheck) seamlessly without type errors.Screenshots / Screen Recording
(Attach a quick screen recording demonstrating dragging tasks between columns here)