diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx
index ba020c3..843e95a 100644
--- a/frontend/src/components/layout/Sidebar.tsx
+++ b/frontend/src/components/layout/Sidebar.tsx
@@ -7,30 +7,17 @@ import {
Settings,
ChevronLeft,
ChevronRight,
- Bell,
- BellRing,
Download,
Terminal,
FileCode,
- FileText,
- MapPin,
LayoutDashboard,
- Network,
- Wrench,
ClipboardList,
- Calendar,
- Key,
- Layers,
- Shield,
- ShieldCheck,
-
- Eye,
- Info,
+ Wifi,
+ BarChart3,
} from 'lucide-react'
import { cn } from '@/lib/utils'
import { useAuth, isSuperAdmin, isTenantAdmin } from '@/lib/auth'
import { useUIStore } from '@/lib/store'
-import { AlertBadge } from '@/components/alerts/AlertBadge'
import { RugLogo } from '@/components/brand/RugLogo'
interface NavItem {
@@ -38,7 +25,6 @@ interface NavItem {
href: string
icon: React.FC<{ className?: string }>
exact?: boolean
- badge?: React.ReactNode
}
interface NavSection {
@@ -109,12 +95,12 @@ export function Sidebar() {
visible: true,
items: [
{
- label: 'Dashboard',
+ label: 'Overview',
href: '/',
icon: LayoutDashboard,
exact: true,
},
- // Only show Devices for non-super_admin (super_admin uses Organizations in Admin)
+ // Only show Devices for non-super_admin with a tenant_id
...(!isSuperAdmin(user) && user?.tenant_id
? [
{
@@ -125,31 +111,26 @@ export function Sidebar() {
]
: []),
{
- label: 'Map',
- href: '/map',
- icon: MapPin,
+ label: 'Wireless',
+ href: '/wireless',
+ icon: Wifi,
+ },
+ {
+ label: 'Traffic',
+ href: '/traffic',
+ icon: BarChart3,
},
],
},
{
- label: 'Manage',
+ label: 'Config',
visible: true,
items: [
{
- label: 'Config Editor',
+ label: 'Editor',
href: '/config-editor',
icon: Terminal,
},
- {
- label: 'Batch Config',
- href: '/batch-config',
- icon: Wrench,
- },
- {
- label: 'Bulk Commands',
- href: '/bulk-commands',
- icon: Layers,
- },
{
label: 'Templates',
href: '/templates',
@@ -160,63 +141,6 @@ export function Sidebar() {
href: '/firmware',
icon: Download,
},
- {
- label: 'Maintenance',
- href: '/maintenance',
- icon: Calendar,
- },
- {
- label: 'VPN',
- href: '/vpn',
- icon: Shield,
- },
- {
- label: 'Certificates',
- href: '/certificates',
- icon: ShieldCheck,
- },
-
- ],
- },
- {
- label: 'Monitor',
- visible: true,
- items: [
- {
- label: 'Topology',
- href: '/topology',
- icon: Network,
- },
- {
- label: 'Alerts',
- href: '/alerts',
- icon: Bell,
- badge: