From 404d461d356921c3f0f122ba30e65ef8ae7c6625 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 5 Nov 2025 19:25:59 +0000 Subject: [PATCH] Add helpful guidance for empty physical disk list Improves user experience when physical disks don't appear by providing clear, context-aware instructions. The empty state now shows: - When no PVE nodes are configured: prompt to add nodes - When nodes exist but no disks appear: step-by-step requirements including enabling SMART monitoring in both Pulse and Proxmox This addresses confusion from issue #594 where users didn't realize they needed to enable SMART monitoring in Proxmox itself (not just in Pulse settings) and wait 5 minutes for data collection. Related to #594 --- .../src/components/Storage/DiskList.tsx | 41 +++++++++++++++++-- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/frontend-modern/src/components/Storage/DiskList.tsx b/frontend-modern/src/components/Storage/DiskList.tsx index 27b61b0..1f7a59d 100644 --- a/frontend-modern/src/components/Storage/DiskList.tsx +++ b/frontend-modern/src/components/Storage/DiskList.tsx @@ -13,6 +13,11 @@ interface DiskListProps { export const DiskList: Component = (props) => { const { state } = useWebSocket(); + // Check if there are any PVE nodes configured + const hasPVENodes = createMemo(() => { + return (state.nodes || []).length > 0; + }); + // Filter disks based on selected node and search term const filteredDisks = createMemo(() => { let disks = props.disks || []; @@ -108,10 +113,38 @@ export const DiskList: Component = (props) => { return (
- - No physical disks found - {selectedNodeName() && ` for node ${selectedNodeName()}`} - {props.searchTerm && ` matching "${props.searchTerm}"`} + +
+

No physical disks found

+ {selectedNodeName() &&

for node {selectedNodeName()}

} + {props.searchTerm &&

matching "{props.searchTerm}"

} +
+ + +

+ No Proxmox nodes configured. Add a Proxmox VE cluster in Settings to monitor physical disks. +

+
+ } + > +
+

+ Physical disk monitoring requirements: +

+
    +
  1. Enable "Monitor physical disk health (SMART)" in Settings → Proxmox Nodes (Advanced)
  2. +
  3. Enable SMART monitoring in Proxmox VE at Datacenter → Node → System → Advanced → "Monitor physical disk health"
  4. +
  5. Wait 5 minutes for Proxmox to collect SMART data
  6. +
+

+ Note: Both Pulse and Proxmox must have SMART monitoring enabled. +

+
+ +