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 change history filters

rcourtman34ecdf2e9d1e
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 55bb907901..df810e3b8c 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -294,6 +294,9 @@ The overview keeps host, service, investigation, and discovery detail as
collapsed sibling disclosures under the primary summary, so the drawer keeps
the top-level shape to `Summary` plus `Change history` before any secondary
operational context appears.
+The `Change history` filter controls now stack vertically instead of using a
+paired filter grid, so the timeline reads like a simple inspection surface
+rather than a two-field form on wider screens.
Those support surfaces still use the same title-plus-summary header and
explicit reveal control without extra explanatory chrome, so the drawer signals
secondary depth through one governed structure instead of repeating prose about
diff --git a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
index 88c588c71f..655c1d0fe6 100644
--- a/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
+++ b/frontend-modern/src/components/Infrastructure/ResourceDetailDrawer.tsx
@@ -1163,7 +1163,7 @@ const DrawerContent: Component<ResourceDetailDrawerProps> = (props) => {
</div>
</div>
- <div class="mt-3 grid gap-2 sm:grid-cols-2">
+ <div class="mt-3 space-y-2">
<label class="space-y-1 text-[10px]">
<span class="text-muted">Change kind</span>
<select
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 48fe5d44a9..7171e9af10 100644
--- a/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
+++ b/frontend-modern/src/components/Infrastructure/__tests__/ResourceDetailDrawer.history.test.tsx
@@ -198,6 +198,9 @@ describe('ResourceDetailDrawer change history section', () => {
expect(
screen.getByTestId('resource-summary-section').querySelector('.mt-3.grid.gap-4'),
).toBeNull();
+ expect(
+ screen.getByTestId('resource-change-history-section').querySelector('.mt-3.grid.gap-2'),
+ ).toBeNull();
expect(screen.queryByText('Host details')).toBeNull();
expect(screen.queryByText('Service details')).toBeNull();
expect(screen.queryByText('Supporting context')).toBeNull();