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.

Polish dash placeholders and cluster timestamp tooltip

rcourtman9db3b53af75c
diff --git a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
index ef2926088c..b292443c58 100644
--- a/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
+++ b/frontend-modern/src/components/Settings/InfrastructureSourceManager.tsx
@@ -798,7 +798,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<TableCell class="px-3 py-1 align-top">
<Show
when={row.host}
- fallback={<span class="text-xs text-muted" aria-hidden="true">-</span>}
+ fallback={<span class="text-xs text-muted" aria-hidden="true">—</span>}
>
<div
class="truncate whitespace-nowrap text-[12px] text-muted"
@@ -812,7 +812,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<TableCell class="px-3 py-1 align-top">
<Show
when={row.coverageLabels.length > 0}
- fallback={<span class="text-xs text-muted" aria-hidden="true">-</span>}
+ fallback={<span class="text-xs text-muted" aria-hidden="true">—</span>}
>
<div
class="whitespace-normal break-words text-[12px] leading-4 text-muted"
@@ -837,7 +837,14 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
: `${row.agentUpdateCount} agent updates`}
</span>
</Show>
- <span class="whitespace-nowrap text-[12px] text-muted/90">
+ <span
+ class="whitespace-nowrap text-[12px] text-muted/90"
+ title={
+ row.isCluster
+ ? 'Oldest activity across cluster API and member agents'
+ : undefined
+ }
+ >
{row.lastActivityText}
</span>
</div>
@@ -955,7 +962,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<Show
when={member.host}
fallback={
- <span class="text-xs text-muted" aria-hidden="true">-</span>
+ <span class="text-xs text-muted" aria-hidden="true">—</span>
}
>
<div
@@ -971,7 +978,7 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
<Show
when={member.coverageLabels.length > 0}
fallback={
- <span class="text-xs text-muted" aria-hidden="true">-</span>
+ <span class="text-xs text-muted" aria-hidden="true">—</span>
}
>
<div
@@ -1306,7 +1313,14 @@ export const InfrastructureSourceManager: Component<InfrastructureSourceManagerP
: `${row.agentUpdateCount} agent updates`}
</span>
</Show>
- <span class="text-[12px] text-muted/90">
+ <span
+ class="text-[12px] text-muted/90"
+ title={
+ row.isCluster
+ ? 'Oldest activity across cluster API and member agents'
+ : undefined
+ }
+ >
{row.lastActivityText}
</span>
<For each={row.fleetHighlights}>