mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-14 08:20:11 +00:00
Shorten drawer context section labels
This commit is contained in:
parent
fa42484936
commit
a200ee8be8
4 changed files with 11 additions and 11 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue