feat(project-view-constants): add enhanced board view to project tabs

- Introduced ProjectViewEnhancedBoard to the project view constants.
- Added a new tab item for the enhanced board view, improving project management options.
- Updated tab items structure to include the new board variant for better user navigation.
This commit is contained in:
shancds
2025-06-20 17:13:37 +05:30
parent dfb360733e
commit bbca644b40
6 changed files with 1125 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import React from 'react';
import { useAppSelector } from '@/hooks/useAppSelector';
import TaskListBoard from '@/components/task-management/TaskListBoard';
import KanbanTaskListBoard from '@/components/kanban-board-management-v2/kanbanTaskListBoard';
const ProjectViewEnhancedBoard: React.FC = () => {
const { project } = useAppSelector(state => state.projectReducer);
if (!project?.id) {
return (
<div className="p-4 text-center text-gray-500">
Project not found
</div>
);
}
return (
<div className="project-view-enhanced-tasks">
<KanbanTaskListBoard projectId={project.id} />
</div>
);
};
export default ProjectViewEnhancedBoard;