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.

Trim investigation correlation copy

rcourtman5e7f8d7f146c
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 99e8be74a0..0f0fdff34c 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -250,8 +250,8 @@ identity stay primary while secondary AI and policy signals remain available
without competing with the first-screen monitoring story.
Inside that disclosure, learned dependency and correlation detail now sits
behind its own reveal instead of rendering at full depth immediately, so the
-opened investigation surface still starts with compact health, change, and
-policy summaries before the user asks for relationship pattern detail.
+opened investigation surface stays label-first and leaves relationship pattern
+detail behind the reveal.
Change-related summary badges now belong to the `Change history` section
instead of the `Runtime` card, so current-state facts and timeline context do
not compete for the same ownership on first read.
diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
index 8d9f0e723c..0d96d6180e 100644
--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
@@ -1872,11 +1872,6 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {
<div class="text-[10px] font-medium uppercase tracking-wide text-base-content">
Correlation context
</div>
- <div class="mt-0.5 text-[10px] text-muted">
- {resourceDependencies().length} dependencies ·{' '}
- {resourceDependents().length} dependents ·{' '}
- {resourceCorrelations().length} correlations
- </div>
</div>
<button
type="button"
diff --git a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
index 990d881ff3..c6edf7988f 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
@@ -237,6 +237,15 @@ describe('ResourceDetailDrawer change history section', () => {
expect(screen.queryByText('VM Child')).toBeNull();
expect(screen.queryByText('Capabilities 1')).toBeNull();
expect(screen.queryByText('Relationships 1')).toBeNull();
+
+ fireEvent.click(screen.getByRole('button', { name: 'Show context' }));
+ await screen.findByText('AI Intelligence');
+ fireEvent.click(screen.getByRole('button', { name: 'Show correlations' }));
+ expect(
+ screen
+ .getByRole('button', { name: 'Hide correlations' })
+ .parentElement?.querySelector('.mt-0\\.5.text-\\[10px\\].text-muted'),
+ ).toBeNull();
});
it('keeps supporting context label-first without a summary sentence', () => {
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.tsx
index 2de26b1f17..495a324409 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
@@ -471,7 +471,10 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
await waitFor(() => {
expect(getByText('Storage 1')).toBeInTheDocument();
});
- expect(getByText('1 dependency · 1 dependent · 1 correlation')).toBeInTheDocument();
+ expect(
+ getByRole('button', { name: 'Hide correlations' })
+ .parentElement?.querySelector('.mt-0\\.5.text-\\[10px\\].text-muted'),
+ ).toBeNull();
expect(
getByRole('link', {
name: 'Open dependency resource storage-1 in Infrastructure',