feat(project-view): add Enhanced Tasks tab and component

- Introduced a new tab for Enhanced Tasks in the project view.
- Created ProjectViewEnhancedTasks component to display task management features.
- Updated project-view-constants to include the new tab and adjusted indices for existing tabs.
- Enhanced task management styles for improved dark mode support.
This commit is contained in:
chamikaJ
2025-06-18 17:07:26 +05:30
parent c1a303e78c
commit c01ef4579a
3 changed files with 415 additions and 14 deletions

View File

@@ -0,0 +1,23 @@
import React from 'react';
import { useParams } from 'react-router-dom';
import TaskListBoard from '@/components/task-management/TaskListBoard';
const ProjectViewEnhancedTasks: React.FC = () => {
const { id: projectId } = useParams<{ id: string }>();
if (!projectId) {
return (
<div className="p-4 text-center text-gray-500">
Project ID not found
</div>
);
}
return (
<div className="project-view-enhanced-tasks">
<TaskListBoard projectId={projectId} />
</div>
);
};
export default ProjectViewEnhancedTasks;