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.

Shorten drawer context section labels

rcourtmana200ee8be888
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 62325b0951..04a2ca9fca 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -392,11 +392,11 @@ state instead of inline documentation.
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
+That same overview now keeps AI and governance detail
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
+Inside that disclosure, the AI summary now reads as compact
label/value rows instead of metric tiles or nested cards, so the opened
investigation surface stays scan-first before the change summary and
correlation reveal appear.
diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx
index 57faa502ed..031ca77bdc 100644
--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx
+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawerOverviewTab.tsx
@@ -930,7 +930,7 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver
{(intel) => (
<div class="space-y-1.5 text-[11px]">
<div class="flex items-center justify-between gap-2">
- <span class="text-muted uppercase tracking-wide">AI Intelligence</span>
+ <span class="text-muted uppercase tracking-wide">AI</span>
</div>
<div class="flex items-center justify-between gap-2">
<span class="text-muted">Health</span>
@@ -992,7 +992,7 @@ export const ResourceDetailDrawerOverviewTab: Component<ResourceDetailDrawerOver
<Show when={drawer.hasGovernanceData()}>
<div class="space-y-1.5 text-[11px]">
<div class="flex items-center justify-between gap-2">
- <span class="text-muted uppercase tracking-wide">Data Governance</span>
+ <span class="text-muted uppercase tracking-wide">Governance</span>
</div>
<Show when={resource.policy}>
<div class="flex items-center justify-between gap-2">
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 30fe4778fa..5f9f69b621 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
@@ -374,10 +374,10 @@ describe('ResourceDetailDrawer change history section', () => {
expect(screen.queryByText('VM Child')).toBeNull();
expect(screen.queryByText('Capabilities 1')).toBeNull();
expect(screen.queryByText('Relationships 1')).toBeNull();
- expect(screen.queryByText('AI Intelligence')).toBeNull();
+ expect(screen.queryByText('AI')).toBeNull();
fireEvent.click(screen.getByRole('button', { name: 'Show context' }));
- await screen.findByText('AI Intelligence');
+ await screen.findByText('AI');
expect(
screen
.getByTestId('resource-investigation-context')
@@ -434,7 +434,7 @@ describe('ResourceDetailDrawer change history section', () => {
await screen.findByText('Current state');
expect(screen.queryByText('Context')).toBeNull();
- expect(screen.queryByText('Data Governance')).toBeNull();
+ expect(screen.queryByText('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 bdc0e9c7d1..c7ba156447 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
@@ -470,10 +470,10 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
));
expect(getByText('Context')).toBeInTheDocument();
- expect(queryByText('Data Governance')).toBeNull();
+ expect(queryByText('Governance')).toBeNull();
expect(queryByText('AI-Safe Summary')).toBeNull();
fireEvent.click(getByRole('button', { name: 'Show context' }));
- expect(getByText('Data Governance')).toBeInTheDocument();
+ expect(getByText('Governance')).toBeInTheDocument();
expect(getByText('Redactions')).toBeInTheDocument();
expect(getByText('AI-Safe Summary')).toBeInTheDocument();
expect(getAllByText('Restricted').length).toBeGreaterThan(0);
@@ -522,10 +522,10 @@ describe('ResourceDetailDrawer runtime and identity cards', () => {
expect(getByText('Context')).toBeInTheDocument();
});
- expect(queryByText('AI Intelligence')).toBeNull();
+ expect(queryByText('AI')).toBeNull();
fireEvent.click(getByRole('button', { name: 'Show context' }));
await waitFor(() => {
- expect(getByText('AI Intelligence')).toBeInTheDocument();
+ expect(getByText('AI')).toBeInTheDocument();
});
expect(getByText('Health')).toBeInTheDocument();
expect(getByText('A · 92/100')).toBeInTheDocument();