From a1b634bbf2438f81693bafdb0022bb09a2843498 Mon Sep 17 00:00:00 2001 From: Jason Staack Date: Thu, 19 Mar 2026 17:00:16 -0500 Subject: [PATCH] fix(nav): restore missing sidebar menu items for all routes Adds CA, VPN, About, Alerts, Topology, Map, Batch Config, Bulk Commands, Alert Rules, Maintenance, Reports, and Transparency to the sidebar navigation. These routes existed but had no menu entries. Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/components/layout/Sidebar.tsx | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 7f93e6a..6416cd8 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -16,6 +16,18 @@ import { Wifi, BarChart3, MapPin, + ShieldCheck, + KeyRound, + Info, + Bell, + Network, + Map, + Layers, + Wrench, + Calendar, + FileBarChart, + Eye, + BellRing, } from 'lucide-react' import { cn } from '@/lib/utils' import { useAuth, isSuperAdmin, isTenantAdmin } from '@/lib/auth' @@ -140,6 +152,21 @@ export function Sidebar() { href: '/traffic', icon: BarChart3, }, + { + label: 'Alerts', + href: '/alerts', + icon: Bell, + }, + { + label: 'Topology', + href: '/topology', + icon: Network, + }, + { + label: 'Map', + href: '/map', + icon: Map, + }, ], }, { @@ -161,6 +188,26 @@ export function Sidebar() { href: '/firmware', icon: Download, }, + { + label: 'Certificates', + href: '/certificates', + icon: ShieldCheck, + }, + { + label: 'VPN', + href: '/vpn', + icon: KeyRound, + }, + { + label: 'Batch Config', + href: '/batch-config', + icon: Layers, + }, + { + label: 'Bulk Commands', + href: '/bulk-commands', + icon: Wrench, + }, ], }, { @@ -195,6 +242,31 @@ export function Sidebar() { href: '/settings', icon: Settings, }, + { + label: 'Alert Rules', + href: '/alert-rules', + icon: BellRing, + }, + { + label: 'Maintenance', + href: '/maintenance', + icon: Calendar, + }, + { + label: 'Reports', + href: '/reports', + icon: FileBarChart, + }, + { + label: 'Transparency', + href: '/transparency', + icon: Eye, + }, + { + label: 'About', + href: '/about', + icon: Info, + }, ], }, ]