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.

Flatten resource drawer summary shell

rcourtman5cde6b365f68
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index cf324f9350..55bb907901 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -271,6 +271,9 @@ read as one first-screen answer rather than two adjacent mini-surfaces.
That summary shell now reads as one linear current-state and identity column
instead of a split two-pane grid, so the first read stays sequential rather
than asking the operator to compare two side-by-side blocks.
+The summary shell now stacks current-state and identity sections vertically
+instead of a responsive two-column grid, so the overview reads as one linear
+sheet rather than a paired layout on wider screens.
The drawer header now stays focused on canonical identity and source/type
badges only, while workload/service drill-down links and Kubernetes platform
signals live with the summary shell, so the top strip does not compete with
diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
index e653227749..88c588c71f 100644
--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
@@ -914,7 +914,7 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {
<div class="text-[11px] font-medium uppercase tracking-wide text-base-content">
Summary
</div>
- <div class="mt-3 grid gap-4">
+ <div class="mt-3 space-y-4">
<div data-testid="resource-current-state-section">
<div class="mb-2 text-[10px] font-medium uppercase tracking-wide text-base-content">
Current state
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 45db7c04d0..48fe5d44a9 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
@@ -195,6 +195,9 @@ describe('ResourceDetailDrawer change history section', () => {
screen.getByTestId('resource-summary-section').querySelectorAll('.bg-surface-hover.px-2.py-2')
.length,
).toBe(0);
+ expect(
+ screen.getByTestId('resource-summary-section').querySelector('.mt-3.grid.gap-4'),
+ ).toBeNull();
expect(screen.queryByText('Host details')).toBeNull();
expect(screen.queryByText('Service details')).toBeNull();
expect(screen.queryByText('Supporting context')).toBeNull();