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
Move policy summary out of drawer
rcourtman0240be344b58
diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsxindex eae8342ff4..69134bcf18 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx@@ -62,7 +62,6 @@ import {import { ResourceCorrelationSummary } from './ResourceCorrelationSummary';import { ResourceChangeSummary } from './ResourceChangeSummary';import { ResourceFacetSummary } from './ResourceFacetSummary';-import { ResourcePolicySummary } from './ResourcePolicySummary';import {RESOURCE_CHANGE_KIND_ORDER,RESOURCE_CHANGE_SOURCE_ADAPTER_ORDER,@@ -295,7 +294,6 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {const resourceDependencies = createMemo(() => resourceIntelligence()?.dependencies ?? []);const resourceDependents = createMemo(() => resourceIntelligence()?.dependents ?? []);const resourceCorrelations = createMemo(() => resourceIntelligence()?.correlations ?? []);- const policyPosture = createMemo(() => resourceIntelligence()?.policy_posture);const timelineFacetRequest = createMemo(() => {const id = resourceFacetId();if (!id) return null;@@ -817,7 +815,6 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {maxChanges={1}compact/>- <ResourcePolicySummary posture={policyPosture()} title="Policy posture" /><ResourceCorrelationSummarytitle="Correlation context"dependencies={resourceDependencies()}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 0154367747..d1e41c6893 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@@ -326,10 +326,6 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {expect(getByText(/A · 92\/100/)).toBeInTheDocument();expect(getByText('Recent Changes')).toBeInTheDocument();expect(getByText('Recent Changes').parentElement).toHaveTextContent('1');- expect(getByText('Policy posture')).toBeInTheDocument();- expect(getByText('2 governed resources')).toBeInTheDocument();- expect(getByText('Public')).toBeInTheDocument();- expect(getByText('Cloud Summary')).toBeInTheDocument();await waitFor(() => {expect(getByText('Correlation context')).toBeInTheDocument();});