Merge pull request #185 from shancds/refact/board-task-card-performance

Refact/board task card performance
This commit is contained in:
Chamika J
2025-06-25 16:25:32 +05:30
committed by GitHub
6 changed files with 191 additions and 52 deletions

View File

@@ -53,6 +53,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();
@@ -84,7 +85,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());