import { Button } from '@/components/ui/button'; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from '@/components/ui/tooltip'; import { ImageIcon, Archive, Minimize2, Square, Maximize2, Columns3, Network } from 'lucide-react'; import { cn } from '@/lib/utils'; import { BoardViewMode } from '@/store/app-store'; interface BoardControlsProps { isMounted: boolean; onShowBoardBackground: () => void; onShowCompletedModal: () => void; completedCount: number; kanbanCardDetailLevel: 'minimal' | 'standard' | 'detailed'; onDetailLevelChange: (level: 'minimal' | 'standard' | 'detailed') => void; boardViewMode: BoardViewMode; onBoardViewModeChange: (mode: BoardViewMode) => void; } export function BoardControls({ isMounted, onShowBoardBackground, onShowCompletedModal, completedCount, kanbanCardDetailLevel, onDetailLevelChange, boardViewMode, onBoardViewModeChange, }: BoardControlsProps) { if (!isMounted) return null; return (
{/* View Mode Toggle - Kanban / Graph */}

Kanban Board View

Dependency Graph View

{/* Board Background Button */}

Board Background Settings

{/* Completed/Archived Features Button */}

Completed Features ({completedCount})

{/* Kanban Card Detail Level Toggle */}

Minimal - Title & category only

Standard - Steps & progress

Detailed - Model, tools & tasks

); }