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:
@@ -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;
|
||||
Reference in New Issue
Block a user