Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring
TypeScript diagramhomelabhomelab-infrastructure-observabilitynetworkproxmox-veself-hostedzigbeezwavezwave-js
fix: always show node border color, widen to 2px on selection
Pouzor7dd500feee74
diff --git a/frontend/src/components/canvas/nodes/BaseNode.tsx b/frontend/src/components/canvas/nodes/BaseNode.tsxindex b79d3f5..e848aff 100644--- a/frontend/src/components/canvas/nodes/BaseNode.tsx+++ b/frontend/src/components/canvas/nodes/BaseNode.tsx@@ -24,7 +24,8 @@ export function BaseNode({ data, selected, icon: Icon }: BaseNodeProps) {className="relative flex flex-row items-center gap-2.5 px-2.5 py-2 rounded-lg border transition-all duration-200"style={{background: colors.background,- borderColor: selected ? colors.border : '#30363d',+ borderColor: colors.border,+ borderWidth: selected ? 2 : 1,boxShadow: isOnline? `0 0 10px ${colors.border}2e, 0 0 3px ${colors.border}1a`: selecteddiff --git a/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsx b/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsxindex be883ae..db83c4e 100644--- a/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsx+++ b/frontend/src/components/canvas/nodes/ProxmoxGroupNode.tsx@@ -38,7 +38,7 @@ export function ProxmoxGroupNode(props: NodeProps<Node<NodeData>>) {<divclassName="w-full h-full rounded-xl border-2 flex flex-col overflow-hidden"style={{- borderColor: selected ? glow : isOnline ? `${glow}66` : '#30363d',+ borderColor: selected ? glow : `${glow}88`,background: isOnline ? `${colors.background}cc` : `${colors.background}aa`,boxShadow: isOnline? `0 0 20px ${glow}1a, inset 0 0 40px ${glow}08`