diff --git a/src/App.tsx b/src/App.tsx index e1c86f71..e7404019 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,10 +11,12 @@ import { Plug, ChevronLeft, ChevronRight, + ChevronDown, Sun, Moon, Terminal, FileCode, + RefreshCw, Server, Server as ServerIcon, Settings, @@ -53,6 +55,7 @@ import { ProxmoxHAPage } from "@/pages/Proxmox/HAPage"; import { ProxmoxTasksPage } from "@/pages/Proxmox/TasksPage"; import { ProxmoxCertificatesPage } from "@/pages/Proxmox/CertificatesPage"; import { ProxmoxSettings } from "@/pages/Settings/Proxmox"; +import { Updater } from "@/pages/Settings/Updater"; const navItems = [ { to: "/", icon: Home, label: "Dashboard" }, @@ -88,15 +91,17 @@ const settingsItems = [ { to: "/settings/integrations", icon: Link, label: "Integrations" }, { to: "/settings/mcp", icon: Plug, label: "MCP Servers" }, { to: "/settings/security", icon: Shield, label: "Security" }, + { to: "/settings/updater", icon: RefreshCw, label: "Updater" }, { to: "/settings/proxmox", icon: Settings, label: "Proxmox" }, ]; export default function App() { const [collapsed, setCollapsed] = useState(false); + const [expandedSections, setExpandedSections] = useState([]); const [appVersion, setAppVersion] = useState(""); const { theme, setTheme, setProviders, getActiveProvider } = useSettingsStore(); const cleanupDone = useRef(false); - void useLocation(); + const location = useLocation(); useEffect(() => { getAppVersionCmd().then(setAppVersion).catch(() => {}); @@ -171,30 +176,41 @@ export default function App() {