Feat: Add All Tasks view with cross-project task management #1953
+639
−16
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.
Implementation Summary
I added a new “All Tasks” feature that allows viewing all tasks from all projects in a single table, with filtering and search capabilities.
Created / Modified Files:
1. /frontend/src/hooks/useAllTasks.ts – New custom hook to fetch tasks from all projects
• Sends requests for each project individually
• Combines results with project information
• Supports filtering by status, search, and projectId
2. /frontend/src/pages/AllTasks.tsx – New page with a table-based view
• Table displaying all tasks from all projects
• Filters by status, project, and text search
• Sorting by title, status, project, and creation date
• Task statistics by status (clickable to filter)
• “New Task” button to create tasks directly from this view
• Columns: Title, Status (editable dropdown), Project (clickable), Created At, Actions
3. /frontend/src/App.tsx – Added a new route: /all-tasks
4. /frontend/src/components/projects/ProjectList.tsx – Added an “All Tasks” button on the projects page
Implemented Features:
• Single table with all tasks from all projects
• Status filter (To Do, In Progress, In Review, Done, Cancelled)
• Project filter
• Text search (title and description)
• Clickable column sorting
• Visual statistics with colored badges
• Inline status change via dropdown in the table
• Click on a row to view task details
• Click on the project name to navigate to that project’s Kanban board
• “New Task” button for direct task creation
• Actions menu (edit, delete, etc.) on each row
• Proper empty and loading states
How to Use:
1. On the home page (Projects), click the “All Tasks” button next to “Create Project”
2. You will see a table with all tasks from all projects
3. Use the filters at the top to refine the view
4. Click on status badges to quickly filter tasks
5. Use the search bar to find specific tasks
6. Click on any task to view its details
7. Change the task status directly in the table using the dropdown
8. Click on the project name to navigate to that project’s Kanban board
All type checks and linting passed successfully! 🚀