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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix wrapped filter action alignment
rcourtman547afd2d1786
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex d8e70700a4..cbc57da2eb 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -4310,6 +4310,12 @@ active, Add filter remains with the active chips so scope editing stays grouped.The mobile action cluster is non-breaking as a unit; orientation readouts suchas result counts and trend ranges wrap separately so they cannot strand Viewon a line by itself.+The desktop controls rail keeps inline filters and utility actions at opposite+edges while both fit on one line. Its wrapping parent owns that split through+space distribution rather than an auto margin on the action cluster, so a+wrapped Add filter / Saved / Clear / View row starts at the left edge instead+of presenting an empty leading column. Feature surfaces must not compensate+with page-local alignment or width overrides.The Add filter select and adjacent action/popover triggers share the canonical`filterToolbarControlClass` height. When the Add filter label is visuallyhidden, its `FormSelect` must also omit the labelled group's outer padded/ringdiff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.mdindex fce2a97fb4..6343ebdeaa 100644--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md@@ -719,6 +719,10 @@ change may globally weaken the Task 03 lifecycle-state idempotency invariant.reads the unfiltered guest set so narrowing the table by search or statusnever removes the column.18. Extend workload filter active-count, reset semantics, and mobile toolbar state through `frontend-modern/src/components/Workloads/workloadsFilterModel.ts` (defaults, `countActiveWorkloadsFilters`, `hasActiveWorkloadsFilters`) rather than rebuilding filter-local state inside `frontend-modern/src/components/Workloads/WorkloadsFilter.tsx`. Workloads filter presentation now composes the shared `FilterBar` (`frontend-modern/src/components/shared/FilterBar/FilterBar.tsx`) with a per-page `FilterDef[]` catalog rather than the legacy `PageControls` structured control deck. High-frequency Type and Status filters stay in that catalog but render as inline compact segmented controls (`inline: true`), while longer or dynamic scope filters continue through the "+ Filter" menu and chip popovers. The Add filter control inherits FilterBar's compact accessible-only label by default instead of paying for a page-local labelled-field shell. Durable presentation controls pass only their panel content through `FilterBar.viewOptions`; the shared FilterBar owns the single View trigger and popover. Contextual actions use `leadingControls`, while frequently changed analytical orientation such as the active trend range uses `trailingControls`.+ Desktop filter/action wrap alignment must remain a pure shared flex-layout+ contract: the parent distributes the two rails while they fit and a wrapped+ action rail starts at the leading edge. It must not add resize observers,+ viewport listeners, layout signals, or page-local measurement branches.Large-estate option counts must reuse one memoized stats pass over theunfiltered workload snapshot from `useWorkloadsState`; type and statusoptions read that bounded projection and must not rescan resources duringdiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex 6eced9e437..7f4bac5de2 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,22 +1,15 @@{"version": 1,- "base_sha": "e2e8b72baa56b60107fb8bc694a27394cd76c8c6",- "verified_at": "2026-08-19T19:21:10Z",+ "base_sha": "202f3b2f4c57a82dd186b99f17ad6598b9b5c1a2",+ "verified_at": "2026-08-19T19:30:37Z","result": "passed","changed_paths": [- "frontend-modern/src/components/Workloads/guestRowModel.tsx",- "frontend-modern/src/components/Workloads/useWorkloadsControlsState.ts",- "frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts",- "frontend-modern/src/components/Workloads/useWorkloadsState.ts"+ "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx"],"content_sha256": {- "frontend-modern/src/components/Workloads/guestRowModel.tsx": "ace9b2dfb177850527b1719792098c33fd7fcf9fd57bb2ac7aacde03b17aae16",- "frontend-modern/src/components/Workloads/useWorkloadsControlsState.ts": "f5f5b87a6ebf6d4ad71bfb60bfeeb796b29a7e9a989d111128997efc16c0f8a7",- "frontend-modern/src/components/Workloads/useWorkloadsDerivedState.ts": "00d3ce0ed568326f1a6b96c2d9e1efeba84f8abd3df795bc19ad498e6ec55702",- "frontend-modern/src/components/Workloads/useWorkloadsState.ts": "9921577a647d6d617ab2b66df7c6b8f35dc93a72ae4273a869e01743a92c414f"+ "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx": "da32fc05ad316c42040575940da6cc13f7f8534f2c31dcc1985f74d3145b0148"},"routes": [- "/proxmox/overview","/proxmox/overview?type=container"],"viewports": [@@ -24,23 +17,26 @@"width": 1440,"height": 900},+ {+ "width": 1034,+ "height": 1234+ },{"width": 390,"height": 844}],"states": [- "Proxmox desktop All workload view with the shared mixed-workload column profile",- "Proxmox desktop LXCs workload view narrowed to the system-container Name, ID, CPU, Mem, Disk, Uptime, and Backup columns",- "Proxmox desktop LXC Columns disclosure without Runtime, Image, Context, or Update choices",- "Reloaded Proxmox LXC route preserving the selected type and narrowed column profile",- "Proxmox narrow LXC view with the responsive Name, CPU, Mem, Disk, and Age columns",- "Desktop and narrow document and table scroll widths equal to their client widths"+ "Proxmox 1440px desktop filter rail with inline filters on the left and utility actions at the right edge of the same row",+ "Proxmox 1034px wrapped filter rail with Add filter, Saved, Clear filters, and View beginning at the same left edge as the inline filters",+ "Proxmox 390px collapsed mobile filter state",+ "Proxmox 390px expanded mobile filter state with its action rows left-aligned",+ "Wide, wrapped, and narrow layouts without document-level horizontal overflow"],"interactions": [- "Switched from All to LXCs and confirmed the column profile narrowed without changing the public type=container URL",- "Opened View and its Columns disclosure and confirmed application-container fields were absent",- "Dismissed the open View menu with Escape and confirmed focus returned to the View trigger",- "Reloaded the selected LXC route and resized between 1440x900 and 390x844 while retaining the corrected profile"+ "Reloaded the active Proxmox LXC route and waited for the shared workload controls to hydrate",+ "Resized from the natural 1034x1234 wrapped layout to 1440x900 and confirmed both rails shared one baseline with opposite-edge alignment",+ "Resized to 390x844, expanded Filters, and confirmed Add filter, Clear filters, Saved, and View retained the mobile leading-edge layout",+ "Measured the controls rail and action cluster at each responsive state and confirmed the wrapped rail's leading edges matched"]}diff --git a/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx b/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsxindex 4f5e5d7267..b5bbf03cc2 100644--- a/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx+++ b/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx@@ -234,7 +234,7 @@ describe('FilterBar', () => {expect(labels.indexOf('Clear filters')).toBeLessThan(labels.indexOf('View'));});- it('keeps desktop utility controls in one right-aligned action cluster', () => {+ it('keeps desktop utilities split on one line and left-aligned after wrapping', () => {const { container } = renderInRouter(() => (<FilterBarsearch={search}@@ -246,8 +246,11 @@ describe('FilterBar', () => {));const actionCluster = container.querySelector('[data-filter-action-cluster]');+ const controlsRail = actionCluster?.parentElement;expect(actionCluster).not.toBeNull();- expect(actionCluster).toHaveClass('ml-auto', 'justify-end');+ expect(controlsRail).toHaveClass('flex-wrap', 'justify-between');+ expect(actionCluster).toHaveClass('max-w-full', 'justify-start');+ expect(actionCluster).not.toHaveClass('ml-auto', 'justify-end');expect(actionCluster).toContainElement(screen.getByRole('combobox', { name: 'Filter' }));expect(actionCluster).toContainElement(screen.getByRole('button', { name: 'Saved views' }));expect(actionCluster).toContainElement(screen.getByRole('button', { name: 'View' }));diff --git a/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx b/frontend-modern/src/components/shared/FilterBar/FilterBar.tsxindex e83c71e0ca..b6d59e8384 100644--- a/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx+++ b/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx@@ -152,7 +152,7 @@ export const FilterBar: Component<FilterBarProps> = (props) => {</Show><Show when={showDesktopControlsRow()}>- <div class="flex flex-wrap items-center gap-x-3 gap-y-2">+ <div class="flex flex-wrap items-center justify-between gap-x-3 gap-y-2"><Show when={inlineFilters().length > 0}><div class="flex min-w-0 flex-wrap items-center gap-2"><For each={inlineFilters()}>@@ -176,7 +176,7 @@ export const FilterBar: Component<FilterBarProps> = (props) => {}><div- class="ml-auto inline-flex flex-shrink-0 flex-wrap items-center justify-end gap-2"+ class="inline-flex max-w-full flex-shrink-0 flex-wrap items-center justify-start gap-2"data-filter-action-cluster><Show when={hasAddableMenuFilters()}>diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.tsindex 22640ab7b5..23e783c578 100644--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts@@ -8235,6 +8235,15 @@ describe('shared primitive guardrails', () => {expect(filterBarSource).toContain('props.filters.filter(isFilterSet)');expect(filterBarSource).toContain('activeCount() > 0');expect(filterBarSource).toContain('data-filter-action-cluster');+ expect(filterBarSource).toContain(+ 'class="flex flex-wrap items-center justify-between gap-x-3 gap-y-2"',+ );+ expect(filterBarSource).toContain(+ 'class="inline-flex max-w-full flex-shrink-0 flex-wrap items-center justify-start gap-2"',+ );+ expect(filterBarSource).not.toContain(+ 'class="ml-auto inline-flex flex-shrink-0 flex-wrap items-center justify-end gap-2"',+ );expect(filterBarSource).toContain('showAddFilterInMobileActionRow');expect(filterBarSource).toContain('showLabel={props.showAddFilterLabel === true}');expect(filterBarSource).not.toContain('showLabel={props.showAddFilterLabel !== false}');