import { Zap } from 'lucide-react';
import { useTasksSettings } from '../contexts/TasksSettingsContext';
function TasksSettings() {
const {
tasksEnabled,
setTasksEnabled,
isTaskMasterInstalled,
isCheckingInstallation
} = useTasksSettings();
return (
{/* Installation Status Check */}
{isCheckingInstallation ? (
Checking TaskMaster installation...
) : (
<>
{/* TaskMaster Not Installed Warning */}
{!isTaskMasterInstalled && (
TaskMaster AI CLI Not Installed
TaskMaster CLI is required to use task management features. Install it to get started:
npm install -g task-master-ai
After installation:
- Restart this application
- TaskMaster features will automatically become available
- Use
task-master init in your project directory
)}
{/* TaskMaster Settings */}
{isTaskMasterInstalled && (
Enable TaskMaster Integration
Show TaskMaster tasks, banners, and sidebar indicators across the interface
)}
>
)}
);
}
export default TasksSettings;