diff --git a/AppImage/components/storage-overview.tsx b/AppImage/components/storage-overview.tsx
index 5ed9e4ab..e16cf1f2 100644
--- a/AppImage/components/storage-overview.tsx
+++ b/AppImage/components/storage-overview.tsx
@@ -1649,9 +1649,11 @@ function openSmartReport(disk: DiskInfo, testStatus: SmartTestStatus, smartAttri
.hide-mobile { display: table-cell; }
@media screen and (max-width: 640px) {
.hide-mobile { display: none !important; }
- .attr-tbl { font-size: 10px; }
- .attr-tbl th, .attr-tbl td { padding: 4px 2px; }
- .attr-tbl .col-raw { font-size: 9px; word-break: break-all; }
+ .attr-tbl { font-size: 11px; }
+ .attr-tbl th { font-size: 11px; padding: 5px 3px; }
+ .attr-tbl td { padding: 5px 3px; }
+ .attr-tbl .col-name { padding-right: 6px; }
+ .attr-tbl .col-raw { font-size: 11px; word-break: break-all; }
}
/* Recommendations */
@@ -1847,6 +1849,7 @@ interface SmartTestStatus {
status: string
timestamp: string
duration?: string
+ lifetime_hours?: number
}
smart_data?: {
device: string
@@ -1893,14 +1896,25 @@ function SmartTestTab({ disk }: SmartTestTabProps) {
}
}
+ const [testError, setTestError] = useState
Failed to start test
+{testError}
+SMART tools not fully installed
++ {!testStatus.tools_installed.smartctl && 'smartmontools (for SATA/SAS) '} + {!testStatus.tools_installed.smartctl && !testStatus.tools_installed.nvme && 'and '} + {!testStatus.tools_installed.nvme && 'nvme-cli (for NVMe) '} + not found. Click a test button to auto-install. +
+Completed
+Result
{testStatus.last_test.timestamp}
Duration
-{testStatus.last_test.duration}
+At Power-On Hours
+{testStatus.last_test.lifetime_hours.toLocaleString()}h