import React, { useEffect } from 'react'; import { Layout, Typography, Card, Space, Alert } from 'antd'; import { useDispatch } from 'react-redux'; import TaskListBoard from '@/components/task-management/task-list-board'; import { AppDispatch } from '@/app/store'; const { Header, Content } = Layout; const { Title, Paragraph } = Typography; const TaskManagementDemo: React.FC = () => { const dispatch = useDispatch(); // Mock project ID for demo const demoProjectId = 'demo-project-123'; useEffect(() => { // Initialize demo data if needed // You might want to populate some sample tasks here for demonstration }, [dispatch]); return (
Enhanced Task Management System
{/* Introduction */} Task Management Features This enhanced task management system provides a comprehensive interface for managing tasks with the following key features:
  • Dynamic Grouping: Group tasks by Status, Priority, or Phase
  • Drag & Drop: Reorder tasks within groups or move between groups
  • Multi-select: Select multiple tasks for bulk operations
  • Bulk Actions: Change status, priority, assignees, or delete multiple tasks
  • Subtasks: Expandable subtask support with progress tracking
  • Real-time Updates: Live updates via WebSocket connections
  • Rich Task Display: Progress bars, assignees, labels, due dates, and more
{/* Usage Instructions */}

Grouping: Use the dropdown to switch between Status, Priority, and Phase grouping.

Drag & Drop: Click and drag tasks to reorder within groups or move between groups.

Selection: Click checkboxes to select tasks, then use bulk actions in the blue bar.

Subtasks: Click the +/- buttons next to task names to expand/collapse subtasks.

} type="info" showIcon className="mb-4" /> {/* Task List Board */}
); }; export default TaskManagementDemo;