Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Make resource table action header and disk count discoverable

rcourtman845827eac5fa
diff --git a/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.workloads-link.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.workloads-link.test.tsx
index dc1092740a..e3877cc1d5 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.workloads-link.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/UnifiedResourceTable.workloads-link.test.tsx
@@ -255,8 +255,8 @@ describe('UnifiedResourceTable workloads links', () => {
// Service Infrastructure dual-table renders the compact column label.
expect(getByText('Stores')).toBeInTheDocument();
expect(getByText('Activity')).toBeInTheDocument();
- // Compact layout uses 'Open' for the action column.
- expect(getAllByText('Open').length).toBeGreaterThan(0);
+ // Compact layout uses 'Action' for the action column header.
+ expect(getAllByText('Action').length).toBeGreaterThan(0);
expect(getByText('Queue')).toBeInTheDocument();
// Compact layout abbreviates Deferred to 'Def'.
expect(getByText('Def')).toBeInTheDocument();
diff --git a/frontend-modern/src/components/Infrastructure/unifiedResourceTableStateModel.ts b/frontend-modern/src/components/Infrastructure/unifiedResourceTableStateModel.ts
index d82e64590a..9b37dfa998 100644
--- a/frontend-modern/src/components/Infrastructure/unifiedResourceTableStateModel.ts
+++ b/frontend-modern/src/components/Infrastructure/unifiedResourceTableStateModel.ts
@@ -329,7 +329,7 @@ export const getUnifiedResourceTableHeaderLabels = (
hold: 'Hold',
nodes: 'Nodes',
health: 'Health',
- action: 'Open',
+ action: 'Action',
};
}
@@ -350,7 +350,7 @@ export const getUnifiedResourceTableHeaderLabels = (
hold: 'Hold',
nodes: 'Nodes',
health: 'Health',
- action: 'Open',
+ action: 'Action',
};
};
diff --git a/frontend-modern/src/components/Workloads/StackedDiskBar.tsx b/frontend-modern/src/components/Workloads/StackedDiskBar.tsx
index 53e936e15e..e39bb0ef2f 100644
--- a/frontend-modern/src/components/Workloads/StackedDiskBar.tsx
+++ b/frontend-modern/src/components/Workloads/StackedDiskBar.tsx
@@ -108,7 +108,13 @@ export function StackedDiskBar(props: StackedDiskBarProps) {
</span>
</Show>
<Show when={presentation().showDiskCount}>
- <span class="text-[8px] font-normal text-muted"> [{props.disks?.length}]</span>
+ <span
+ class="text-[8px] font-normal text-muted"
+ title={`${props.disks?.length ?? 0} disks`}
+ >
+ {' '}
+ [{props.disks?.length}]
+ </span>
</Show>
{/* Anomaly indicator */}
<Show when={presentation().anomalyDescription && presentation().anomalyRatio}>