Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring
TypeScript diagramhomelabhomelab-infrastructure-observabilitynetworkproxmox-veself-hostedzigbeezwavezwave-js
fix: rename left-panel nav item to Device Inventory
Pouzor430c14ed5eeb
diff --git a/frontend/src/components/panels/Sidebar.tsx b/frontend/src/components/panels/Sidebar.tsxindex 1900eb9..a2d10f9 100644--- a/frontend/src/components/panels/Sidebar.tsx+++ b/frontend/src/components/panels/Sidebar.tsx@@ -15,7 +15,7 @@ import { useLatestRelease } from '@/hooks/useLatestRelease'const STANDALONE = import.meta.env.VITE_STANDALONE === 'true'const PENDING_TRIGGERS: { kind: 'pending' | 'hidden'; icon: typeof ScanLine; label: string }[] = [- { kind: 'pending', icon: ScanLine, label: 'Pending Devices' },+ { kind: 'pending', icon: ScanLine, label: 'Device Inventory' },{ kind: 'hidden', icon: EyeOff, label: 'Hidden Devices' },]diff --git a/frontend/src/components/panels/__tests__/Sidebar.test.tsx b/frontend/src/components/panels/__tests__/Sidebar.test.tsxindex d98c715..b2120e4 100644--- a/frontend/src/components/panels/__tests__/Sidebar.test.tsx+++ b/frontend/src/components/panels/__tests__/Sidebar.test.tsx@@ -98,7 +98,7 @@ describe('Sidebar', () => {it('shows all view nav items', () => {render(<Sidebar {...defaultProps} />)expect(screen.getByText('Canvas')).toBeInTheDocument()- expect(screen.getByText('Pending Devices')).toBeInTheDocument()+ expect(screen.getByText('Device Inventory')).toBeInTheDocument()expect(screen.getByText('Hidden Devices')).toBeInTheDocument()expect(screen.getByText('Scan History')).toBeInTheDocument()})@@ -233,9 +233,9 @@ describe('Sidebar', () => {// ── Pending / Hidden open modal ────────────────────────────────────────────- it('calls onOpenPending with pending status when Pending Devices is clicked', () => {+ it('calls onOpenPending with pending status when Device Inventory is clicked', () => {render(<Sidebar {...defaultProps} />)- fireEvent.click(screen.getByText('Pending Devices'))+ fireEvent.click(screen.getByText('Device Inventory'))expect(defaultProps.onOpenPending).toHaveBeenCalledWith(undefined, 'pending')})