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
Trim identity support summary copy
rcourtman5773d80fff5d
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.mdindex 860f91a51d..99e8be74a0 100644--- a/docs/release-control/v6/internal/subsystems/unified-resources.md+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md@@ -293,9 +293,8 @@ while platform IDs, quick links, and platform-signal badges live in a smaller`Operational context` block, so first read remains status-first instead ofmixing state and supporting action surfaces together.That same summary shell also keeps canonical identity rows primary, while-aliases, IPs, and tags live in a smaller-`Supporting context` block so the drawer answers "what is this resource" before-showing every attached label.+aliases, IPs, and tags live in a smaller `Supporting context` block that stays+label-first instead of adding another summary sentence before the data.When the identity side has no owned rows or supporting labels yet, the sparsefallback now stays terse (`No identity metadata yet.`) so empty state chromedoes not read heavier than the data it is standing in for.diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsxindex ea6f5690f0..8d9f0e723c 100644--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx@@ -619,18 +619,6 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {(props.resource.tags?.length ?? 0) > 0 ||identityAliasValues().length > 0,);- const identitySupportSummary = createMemo(() => {- const parts: string[] = [];- const ipCount = props.resource.identity?.ips?.length ?? 0;- const tagCount = props.resource.tags?.length ?? 0;- const aliasCount = identityAliasValues().length;-- if (ipCount > 0) parts.push(`${ipCount} IP${ipCount === 1 ? '' : 's'}`);- if (tagCount > 0) parts.push(`${tagCount} tag${tagCount === 1 ? '' : 's'}`);- if (aliasCount > 0) parts.push(`${aliasCount} alias${aliasCount === 1 ? '' : 'es'}`);-- return parts.join(' · ');- });const hasMergedSources = createMemo(() => mergedSources().length > 1);const discoveryConfig = createMemo(() => toDiscoveryConfig(props.resource));const discoveryContextSummary = createMemo(() => {@@ -1063,9 +1051,6 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {<div class="text-[10px] font-medium uppercase tracking-wide text-base-content">Supporting context</div>- <Show when={identitySupportSummary()}>- <div class="mt-1 text-[10px] text-muted">{identitySupportSummary()}</div>- </Show><Showwhen={props.resource.identity?.ips && props.resource.identity.ips.length > 0}>diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsxindex c01deda3d3..990d881ff3 100644--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx@@ -239,6 +239,42 @@ describe('ResourceDetailDrawer change history section', () => {expect(screen.queryByText('Relationships 1')).toBeNull();});+ it('keeps supporting context label-first without a summary sentence', () => {+ facetBundleMock.getFacetBundle.mockResolvedValueOnce({+ capabilities: [],+ relationships: [],+ recentChanges: [],+ });++ const resource = baseResource({+ id: 'agent-with-support',+ name: 'agent-with-support',+ displayName: 'Agent With Support',+ platformId: 'agent-with-support',+ sourceType: 'agent',+ identity: {+ hostname: 'agent-with-support.local',+ },+ tags: ['support-tag'],+ platformData: {+ sources: ['agent'],+ agent: {+ agentId: 'agent-support-1',+ hostname: 'agent-with-support.local',+ },+ },+ });++ render(() => <ResourceDetailDrawer resource={resource} />);++ const supportingContext = screen.getByText('Supporting context');+ expect(supportingContext).toBeInTheDocument();+ expect(+ supportingContext.parentElement?.querySelector('.mt-1.text-\\[10px\\].text-muted'),+ ).toBeNull();+ expect(screen.getByText('Aliases')).toBeInTheDocument();+ });+it('renders timeline history without surfacing unsupported capability or relationship facets', async () => {facetBundleMock.getFacetBundle.mockResolvedValueOnce({capabilities: [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 7ddcf9e426..2de26b1f17 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@@ -343,6 +343,11 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {const inlineRender = render(() => <ResourceDetailDrawer resource={inlineResource} />);expect(inlineRender.getByText('Supporting context')).toBeInTheDocument();+ expect(+ inlineRender+ .getByText('Supporting context')+ .parentElement?.querySelector('.mt-1.text-\\[10px\\].text-muted'),+ ).toBeNull();expect(inlineRender.getByText('Aliases')).toBeInTheDocument();expect(inlineRender.container.querySelector('details')).toBeNull();expect(inlineRender.getByText('agent-inline-1')).toBeInTheDocument();@@ -373,6 +378,11 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {const overflowRender = render(() => <ResourceDetailDrawer resource={overflowResource} />);expect(overflowRender.getByText('Supporting context')).toBeInTheDocument();+ expect(+ overflowRender+ .getByText('Supporting context')+ .parentElement?.querySelector('.mt-1.text-\\[10px\\].text-muted'),+ ).toBeNull();expect(overflowRender.getByText('Aliases')).toBeInTheDocument();expect(overflowRender.container.querySelector('details')).toBeTruthy();});