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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Rename graph context to correlation context
rcourtman85a8c9774cb0
diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsxindex 180b70d12d..207ef34310 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx@@ -823,7 +823,7 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {/><ResourcePolicySummary posture={policyPosture()} title="Policy posture" /><ResourceGraphSummary- title="Graph context"+ title="Correlation context"dependencies={resourceDependencies()}dependents={resourceDependents()}correlations={resourceCorrelations()}diff --git a/frontend-modern/src/components/Infrastructure/ResourceGraphSummary.tsx b/frontend-modern/src/components/Infrastructure/ResourceGraphSummary.tsxindex 6b437e7d76..e60fe4328d 100644--- a/frontend-modern/src/components/Infrastructure/ResourceGraphSummary.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceGraphSummary.tsx@@ -45,7 +45,9 @@ export const ResourceGraphSummary: Component<ResourceGraphSummaryProps> = (props<div class={`rounded-md border border-border-subtle bg-base p-4 ${className()}`.trim()}><div class="flex flex-wrap items-start justify-between gap-2"><div>- <h3 class="text-sm font-semibold text-base-content">{props.title ?? 'Graph context'}</h3>+ <h3 class="text-sm font-semibold text-base-content">+ {props.title ?? 'Correlation context'}+ </h3><Show when={summaryText()}>{(summary) => <p class="mt-1 text-xs text-muted">{summary()}</p>}</Show>diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsxindex 8cfba79d4d..1078fd7b97 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.identity-runtime.test.tsx@@ -334,7 +334,9 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {expect(getByText('2 governed resources')).toBeInTheDocument();expect(getByText('Public')).toBeInTheDocument();expect(getByText('Cloud Summary')).toBeInTheDocument();- expect(getByText('Graph context')).toBeInTheDocument();+ await waitFor(() => {+ expect(getByText('Correlation context')).toBeInTheDocument();+ });expect(getByText('1 dependency · 1 dependent · 1 correlation')).toBeInTheDocument();expect(getByRole('link', {diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceGraphSummary.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceGraphSummary.test.tsxindex 12f408117c..87c787764c 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceGraphSummary.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceGraphSummary.test.tsx@@ -40,10 +40,10 @@ describe('ResourceGraphSummary', () => {expect(screen.queryByText(/last seen/i)).toBeNull();});- it('renders graph context with dependency and dependent links', () => {+ it('renders correlation context with dependency and dependent links', () => {render(() => (<ResourceGraphSummary- title="Graph context"+ title="Correlation context"dependencies={['storage-1']}dependents={['vm-child']}correlations={[@@ -66,7 +66,7 @@ describe('ResourceGraphSummary', () => {/>));- expect(screen.getByText('Graph context')).toBeInTheDocument();+ expect(screen.getByText('Correlation context')).toBeInTheDocument();expect(screen.getByText('1 dependency · 1 dependent · 1 correlation')).toBeInTheDocument();expect(screen.getByText('Depends on')).toBeInTheDocument();expect(screen.getByText('Used by')).toBeInTheDocument();