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.

Keep composed drawer imports and observation narrowing type-safe

pulse-triage[bot]832841d74a58
diff --git a/frontend-modern/src/components/Workloads/GuestRow.tsx b/frontend-modern/src/components/Workloads/GuestRow.tsx
index fb41f4be98..0ef546b08e 100644
--- a/frontend-modern/src/components/Workloads/GuestRow.tsx
+++ b/frontend-modern/src/components/Workloads/GuestRow.tsx
@@ -732,13 +732,13 @@ export function GuestRow(props: GuestRowProps) {
}
>
{(label) => (
- <WorkloadReadingStatus
- metric="Memory"
- guestId={guestId()}
- guestName={props.guest.name}
- label={label()}
- message={status().message}
- />
+ <WorkloadReadingStatus
+ metric="Memory"
+ guestId={guestId()}
+ guestName={props.guest.name}
+ label={label()}
+ message={status().message}
+ />
)}
</Show>
)}
@@ -797,14 +797,14 @@ export function GuestRow(props: GuestRowProps) {
}
>
{(label) => (
- <WorkloadReadingStatus
- metric="Disk"
- guestId={guestId()}
- guestName={props.guest.name}
- label={label()}
- message={status().message}
- needsAction={status().needsAction}
- />
+ <WorkloadReadingStatus
+ metric="Disk"
+ guestId={guestId()}
+ guestName={props.guest.name}
+ label={label()}
+ message={status().message}
+ needsAction={status().needsAction}
+ />
)}
</Show>
)}
diff --git a/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx b/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx
index 85d19306de..a81ff6cf14 100644
--- a/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx
+++ b/frontend-modern/src/components/Workloads/NodeDrawerOverview.tsx
@@ -16,7 +16,6 @@ import {
compactDetailSections,
makeDetailRow,
type DetailRow,
- type DetailSection,
type DetailValueTone,
} from '@/components/shared/DetailSectionTable';
import type { Alert, Disk, HostGPUSensor, Node, Temperature } from '@/types/api';
@@ -449,7 +448,6 @@ export function NodeDrawerOverview(props: NodeDrawerOverviewProps) {
]);
};
-
const exceptionRows = createMemo(() =>
collectDrawerExceptionRows([...overviewSections(), ...technicalSections()]),
);
diff --git a/frontend-modern/src/utils/memoryObservation.ts b/frontend-modern/src/utils/memoryObservation.ts
index 83ad9545eb..4fb8b8942e 100644
--- a/frontend-modern/src/utils/memoryObservation.ts
+++ b/frontend-modern/src/utils/memoryObservation.ts
@@ -206,7 +206,7 @@ export const getMemoryObservationPresentation = (
};
}
const sourceStatus =
- state !== 'unavailable' && options.agentStale && observation?.source === 'agent'
+ options.agentStale && observation?.source === 'agent'
? ' The Pulse Agent that supplied this reading stopped reporting.'
: '';
return {