From a200ee8be888b3c2cb93daa35bfa84f6413c2f48 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Mon, 23 Mar 2026 12:10:15 +0000 Subject: [PATCH] Shorten drawer context section labels --- .../v6/internal/subsystems/unified-resources.md | 4 ++-- .../Infrastructure/ResourceDetailDrawerOverviewTab.tsx | 4 ++-- .../__tests__/ResourceDetailDrawer.history.test.tsx | 6 +++--- .../ResourceDetailDrawer.identity-runtime.test.tsx | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md index 62325b095..04a2ca9fc 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 57faa502e..031ca77bd 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 (
- AI Intelligence + AI
Health @@ -992,7 +992,7 @@ export const ResourceDetailDrawerOverviewTab: Component
- Data Governance + Governance
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 30fe4778f..5f9f69b62 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 bdc0e9c7d..c7ba15644 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();