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.

Rename drawer investigation context

rcourtmance93cbbe9a49
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 6815b330de..084b5b7435 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -393,7 +393,7 @@ The event log cards inside that section now stack key/value fields vertically
instead of using a two-column micro-grid, so each event reads like a single
timeline record rather than a tiny dashboard.
That same overview now keeps AI intelligence and data-governance details
-inside a collapsed `Investigation context` disclosure, so runtime status and
+inside a collapsed `Context` disclosure, so runtime status and
identity stay primary while secondary AI and policy signals remain available
without competing with the first-screen monitoring story.
Inside that disclosure, the AI intelligence summary now reads as compact
diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx
index eb9c92688a..1d391a4d7d 100644
--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx
+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx
@@ -926,7 +926,7 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver
<Show when={drawer.hasInvestigationContext()}>
<SupportDisclosure
- title="Investigation context"
+ title="Context"
summary={drawer.investigationContextSummary()}
expanded={drawer.showInvestigationContext()}
onToggle={() => drawer.setShowInvestigationContext((value) => !value)}
@@ -970,7 +970,7 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver
<div data-testid="resource-correlation-context" class="space-y-1.5">
<div class="flex flex-wrap items-center justify-between gap-2">
<span class="text-[10px] font-medium uppercase tracking-wide text-base-content">
- Correlation context
+ Correlations
</span>
<button
type="button"
@@ -984,7 +984,7 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver
<Show when={drawer.showCorrelationContext()}>
<div class="pt-1">
<ResourceCorrelationSummary
- title="Correlation context"
+ title="Correlations"
dependencies={drawer.resourceDependencies()}
dependents={drawer.resourceDependents()}
correlations={drawer.resourceCorrelations()}
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 f547dcd6a0..d56464d906 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
@@ -369,8 +369,8 @@ describe('ResourceDetailDrawer change history section', () => {
expect(screen.getAllByText('Proxmox adapter 1')).toHaveLength(1);
expect(changeHistorySection.querySelectorAll('.mt-1.grid').length).toBe(0);
expect(screen.queryByText('Quick links')).toBeNull();
- expect(screen.getByText('Investigation context')).toBeInTheDocument();
- expect(screen.queryByText('Correlation context')).toBeNull();
+ expect(screen.getByText('Context')).toBeInTheDocument();
+ expect(screen.queryByText('Correlations')).toBeNull();
expect(screen.queryByText('Storage 1 alias')).toBeNull();
expect(screen.queryByText('VM Child')).toBeNull();
expect(screen.queryByText('Capabilities 1')).toBeNull();
@@ -434,7 +434,7 @@ describe('ResourceDetailDrawer change history section', () => {
render(() => <ResourceDetailDrawer resource={resource} />);
await screen.findByText('Current state');
- expect(screen.queryByText('Investigation context')).toBeNull();
+ expect(screen.queryByText('Context')).toBeNull();
expect(screen.queryByText('Data Governance')).toBeNull();
expect(screen.queryByText('AI-Safe Summary')).toBeNull();
expect(screen.queryByText('Routing Cloud Summary')).toBeNull();
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 53de7dbb57..6f44f6b292 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
@@ -469,7 +469,7 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
<ResourceDetailDrawer resource={resource} />
));
- expect(getByText('Investigation context')).toBeInTheDocument();
+ expect(getByText('Context')).toBeInTheDocument();
expect(queryByText('Data Governance')).toBeNull();
expect(queryByText('AI-Safe Summary')).toBeNull();
fireEvent.click(getByRole('button', { name: 'Show context' }));
@@ -505,7 +505,7 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
<ResourceDetailDrawer resource={resource} />
));
- expect(getByText('Investigation context')).toBeInTheDocument();
+ expect(getByText('Context')).toBeInTheDocument();
expect(queryByText('AI-Safe Summary')).toBeNull();
fireEvent.click(getByRole('button', { name: 'Show context' }));
expect(getByText('AI-Safe Summary')).toBeInTheDocument();
@@ -519,7 +519,7 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
));
await waitFor(() => {
- expect(getByText('Investigation context')).toBeInTheDocument();
+ expect(getByText('Context')).toBeInTheDocument();
});
expect(queryByText('AI Intelligence')).toBeNull();
diff --git a/frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDerivedState.ts b/frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDerivedState.ts
index dd8aec23e7..647cafd1c1 100644
--- a/frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDerivedState.ts
+++ b/frontend-modern/src/components/Infrastructure/useResourceDetailDrawerDerivedState.ts
@@ -177,7 +177,7 @@ export const useResourceDetailDrawerDerivedState = (
const summary: string[] = [];
if (intel && hasMeaningfulResourceIntelligence()) {
- summary.push(`AI health ${intel.health.grade} · ${Math.round(intel.health.score)}/100`);
+ summary.push(`AI ${intel.health.grade} · ${Math.round(intel.health.score)}/100`);
}
if (resourceCorrelations().length > 0) {
summary.push(