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.

refactor(proxmox): flatten Restore-points and PBS identity cells

rcourtman5c08b250a292
diff --git a/frontend-modern/src/features/proxmox/ProxmoxPbsTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxPbsTable.tsx
index ba93122437..e6a162f5de 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxPbsTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxPbsTable.tsx
@@ -101,13 +101,14 @@ export function ProxmoxPbsTable(props: {
<TableCard class={PLATFORM_TABLE_CARD_CLASS}>
<Table class="min-w-[1050px] table-fixed text-xs">
<colgroup>
- <col style={{ width: '16%' }} />
- <col style={{ width: '20%' }} />
- <col style={{ width: '12%' }} />
- <col style={{ width: '16%' }} />
- <col style={{ width: '11%' }} />
- <col style={{ width: '12%' }} />
+ <col style={{ width: '15%' }} />
+ <col style={{ width: '17%' }} />
<col style={{ width: '13%' }} />
+ <col style={{ width: '11%' }} />
+ <col style={{ width: '15%' }} />
+ <col style={{ width: '10%' }} />
+ <col style={{ width: '11%' }} />
+ <col style={{ width: '8%' }} />
</colgroup>
<TableHeader>
<TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}>
@@ -129,6 +130,7 @@ export function ProxmoxPbsTable(props: {
align="left"
headClass={getPlatformTableHeadClassForKind('text')}
/>
+ <TableHead class={getPlatformTableHeadClassForKind('text')}>Instance</TableHead>
<SortableHead
label="Created"
sortKey="created"
@@ -173,24 +175,21 @@ export function ProxmoxPbsTable(props: {
{(backup) => (
<TableRow class="hover:bg-surface-hover">
<TableCell
- class={`${getPlatformTableCellClassForKind('name')} text-base-content`}
+ class={`${getPlatformTableCellClassForKind('name')} text-base-content truncate font-semibold`}
>
- <div class="min-w-0">
- <div class="font-semibold">{pbsWorkloadLabel(backup)}</div>
- <div class="font-mono text-[10px] uppercase text-muted">
- {backup.backupType || 'backup'}
- </div>
- </div>
+ {pbsWorkloadLabel(backup)}
</TableCell>
<TableCell
- class={`${getPlatformTableCellClassForKind('text')} text-base-content`}
+ class={`${getPlatformTableCellClassForKind('text')} text-base-content truncate font-mono text-[11px]`}
+ title={pbsRepositoryLabel(backup)}
+ >
+ {pbsRepositoryLabel(backup)}
+ </TableCell>
+ <TableCell
+ class={`${getPlatformTableCellClassForKind('text')} text-base-content truncate font-mono text-[11px]`}
+ title={backup.instance}
>
- <div class="min-w-0">
- <div class="font-mono text-[11px]">{pbsRepositoryLabel(backup)}</div>
- <div class="truncate text-[10px] text-muted" title={backup.instance}>
- {backup.instance || '—'}
- </div>
- </div>
+ {backup.instance || '—'}
</TableCell>
<TableCell
class={`${getPlatformTableCellClassForKind('numeric-value')} text-base-content`}
diff --git a/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx
index 6ae36bc278..60713becb8 100644
--- a/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx
+++ b/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx
@@ -33,6 +33,7 @@ import {
// "Restore points" table: every recoverable artifact (PBS / archive / snapshot)
// across sources in one flat, sortable list. Presentational only — the parent
// owns the filtered + sorted memo and the shared search / day / source filters.
+// Single-line rows: the workload identity (type/vmid) is already in the label.
export function ProxmoxRecoverableTable(props: {
artifacts: RecoverableArtifact[];
hasAnyArtifacts: boolean;
@@ -146,10 +147,7 @@ export function ProxmoxRecoverableTable(props: {
class={`${getPlatformTableCellClassForKind('name')} text-base-content`}
>
<div class="min-w-0">
- <div class="font-semibold">{artifact.workload.label}</div>
- <div class="font-mono text-[10px] uppercase text-muted">
- {artifact.workload.typeLabel} {artifact.workload.vmid}
- </div>
+ <div class="truncate font-semibold">{artifact.workload.label}</div>
</div>
</TableCell>
<TableCell