import { Bell, Bot, GitBranch, Info, Key, ListChecks, MonitorPlay, Palette, Puzzle } from 'lucide-react'; import { useTranslation } from 'react-i18next'; import { cn } from '../../../lib/utils'; import { PillBar, Pill } from '../../../shared/view/ui'; import type { SettingsMainTab } from '../types/types'; type SettingsSidebarProps = { activeTab: SettingsMainTab; onChange: (tab: SettingsMainTab) => void; }; type NavItem = { id: SettingsMainTab; labelKey: string; icon: typeof Bot; }; const NAV_ITEMS: NavItem[] = [ { id: 'agents', labelKey: 'mainTabs.agents', icon: Bot }, { id: 'appearance', labelKey: 'mainTabs.appearance', icon: Palette }, { id: 'git', labelKey: 'mainTabs.git', icon: GitBranch }, { id: 'api', labelKey: 'mainTabs.apiTokens', icon: Key }, { id: 'tasks', labelKey: 'mainTabs.tasks', icon: ListChecks }, { id: 'browser', labelKey: 'mainTabs.browser', icon: MonitorPlay }, { id: 'plugins', labelKey: 'mainTabs.plugins', icon: Puzzle }, { id: 'notifications', labelKey: 'mainTabs.notifications', icon: Bell }, { id: 'about', labelKey: 'mainTabs.about', icon: Info }, ]; export default function SettingsSidebar({ activeTab, onChange }: SettingsSidebarProps) { const { t } = useTranslation('settings'); return ( <> {/* Desktop sidebar */} {/* Mobile horizontal nav — pill bar */}