feat(enhanced-kanban): integrate ImprovedTaskFilters and fetchBoardSubTasks for enhanced task management

- Replaced the existing TaskListFilters with ImprovedTaskFilters in EnhancedKanbanBoard for better filtering capabilities.
- Updated EnhancedKanbanTaskCard to handle subtask expansion and fetching using the new fetchBoardSubTasks action.
- Added sectionId prop to EnhancedKanbanTaskCard and EnhancedKanbanGroup for improved task organization.
- Refactored project-view-header to utilize fetchEnhancedKanbanGroups for loading task groups.
This commit is contained in:
shancds
2025-06-25 15:24:44 +05:30
parent 9ce6cd63d1
commit e29e5ed0a4
5 changed files with 187 additions and 48 deletions

View File

@@ -48,6 +48,7 @@ import useIsProjectManager from '@/hooks/useIsProjectManager';
import useTabSearchParam from '@/hooks/useTabSearchParam';
import { addTaskCardToTheTop, fetchBoardTaskGroups } from '@/features/board/board-slice';
import { fetchPhasesByProjectId } from '@/features/projects/singleProject/phase/phases.slice';
import { fetchEnhancedKanbanGroups } from '@/features/enhanced-kanban/enhanced-kanban.slice';
const ProjectViewHeader = () => {
const navigate = useNavigate();
@@ -79,7 +80,8 @@ const ProjectViewHeader = () => {
dispatch(fetchTaskGroups(projectId));
break;
case 'board':
dispatch(fetchBoardTaskGroups(projectId));
// dispatch(fetchBoardTaskGroups(projectId));
dispatch(fetchEnhancedKanbanGroups(projectId));
break;
case 'project-insights-member-overview':
dispatch(setRefreshTimestamp());