diff --git a/src/renderer/components/settings/SettingsTabs.tsx b/src/renderer/components/settings/SettingsTabs.tsx index fdedb1b7..2eb1e9f2 100644 --- a/src/renderer/components/settings/SettingsTabs.tsx +++ b/src/renderer/components/settings/SettingsTabs.tsx @@ -1,8 +1,8 @@ import { useState } from 'react'; -import { Bell, Server, Settings, Wrench } from 'lucide-react'; +import { Bell, HardDrive, Server, Settings, Wrench } from 'lucide-react'; -export type SettingsSection = 'general' | 'connection' | 'notifications' | 'advanced'; +export type SettingsSection = 'general' | 'connection' | 'workspace' | 'notifications' | 'advanced'; interface SettingsTabsProps { activeSection: SettingsSection; @@ -18,6 +18,7 @@ interface TabConfig { const tabs: TabConfig[] = [ { id: 'general', label: 'General', icon: Settings }, { id: 'connection', label: 'Connection', icon: Server }, + { id: 'workspace', label: 'Workspaces', icon: HardDrive }, { id: 'notifications', label: 'Notifications', icon: Bell }, { id: 'advanced', label: 'Advanced', icon: Wrench }, ]; diff --git a/src/renderer/components/settings/SettingsView.tsx b/src/renderer/components/settings/SettingsView.tsx index b961619a..904149a7 100644 --- a/src/renderer/components/settings/SettingsView.tsx +++ b/src/renderer/components/settings/SettingsView.tsx @@ -13,6 +13,7 @@ import { ConnectionSection, GeneralSection, NotificationsSection, + WorkspaceSection, } from './sections'; import { type SettingsSection, SettingsTabs } from './SettingsTabs'; @@ -119,6 +120,8 @@ export const SettingsView = (): React.JSX.Element | null => { {activeSection === 'connection' && } + {activeSection === 'workspace' && } + {activeSection === 'notifications' && (