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
tighten mobile filter action layout
rcourtman8365780282d8
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 5b8bb71d54..0f0c32fdd0 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -3965,6 +3965,10 @@ instead of forcing View onto an isolated line. View takes the row's availabletrailing space and anchors its panel from the mobile action rail's trailingedge, then returns to trigger-relative trailing alignment on desktop; Savedkeeps its leading-edge mobile anchor.+When no menu-backed filter chip, contextual Clear action, or leading action is+present, the compact Add filter control joins that same action cluster instead+of occupying an otherwise empty row by itself. Once a menu-backed filter is+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.diff --git a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md b/docs/release-control/v6/internal/subsystems/performance-and-scalability.mdindex ab0e2c2910..59efa8ff1f 100644--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md@@ -1641,7 +1641,10 @@ desktop and mobile layouts, including the mobile action-row placement sharedwith Saved views. Saved, contextual Clear, leading actions, and View stay inone non-breaking mobile action cluster; trailing analytical controls and resultcounts wrap independently so a narrow toolbar cannot strand View on a line by-itself or force page-level horizontal overflow. The sparkline range remains+itself or force page-level horizontal overflow. The compact Add filter control+joins that cluster only in the default state where no active menu chip,+contextual Clear action, or leading action needs its own filter row; active+scope editing keeps Add filter beside the chips. The sparkline range remainsinline only while trends are active because it is the frequently changedanalytical window, and its compact control must include a visible `Trend range`label so the values are not an orphaned set of durations. Columns must expanddiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex e757549e65..52c093ce32 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,17 +1,17 @@{"version": 1,- "base_sha": "3afc8bda1590a29842bf8704aec605526a685fcb",- "verified_at": "2026-08-03T13:58:06Z",+ "base_sha": "85b0530439992e461e3270278118ba5d018b3dcb",+ "verified_at": "2026-08-03T14:30:18Z","result": "passed","changed_paths": ["frontend-modern/src/components/shared/FilterBar/FilterBar.tsx",- "frontend-modern/src/components/shared/FilterBar/filterCatalog.ts"+ "frontend-modern/src/components/Workloads/WorkloadsFilter.tsx"],"content_sha256": {- "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx": "e73b856bf2c0d3bd67cba862bd2ef295b5d3e41f2c2759d7f4dadf848fb33504",- "frontend-modern/src/components/shared/FilterBar/filterCatalog.ts": "b3267ab57bcdf6ba7735168608772785a8445e54ccc2c6746c5ea9ff011f98c8"+ "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx": "f6b3e7f839197e2662765cd69f17911fa86c8f97922dda3d93a87ca21e7c984b",+ "frontend-modern/src/components/Workloads/WorkloadsFilter.tsx": "ebb84ed0fc935309efa62c04f3cc4e7d13eea38ff0d2b6473a892430617fa433"},- "routes": ["/alerts/thresholds/proxmox", "/proxmox/storage"],+ "routes": ["/vmware/overview", "/proxmox/backups"],"viewports": [{"width": 1280,@@ -23,19 +23,18 @@}],"states": [- "Desktop Alert Thresholds filter bar at its default and custom-override-filtered states",- "Desktop Proxmox Physical Disks filter bar at its default, group-filtered, and empty-result states",- "Phone-width Alert Thresholds filter rail collapsed and expanded",- "Phone-width Proxmox Physical Disks filter rail collapsed and expanded"+ "Desktop vSphere overview filter rail with its default actions and with a Node filter active",+ "Phone-width vSphere overview filter rail collapsed, expanded with no active chips, expanded with a Node chip, and reset after Clear filters",+ "Phone-width vSphere View preferences open above the mobile navigation",+ "Desktop and phone-width Proxmox backup filter rails in their collapsed and expanded states"],"interactions": [- "Confirmed the shared Add filter control hides its redundant visible uppercase Filter label by default while retaining the accessible Filter name",- "Measured the Add filter select at a stable 120 by 28 pixels on both desktop routes and both expanded phone-width rails",- "Applied Overrides: Custom only on Alert Thresholds and confirmed the select became an Overrides chip with one Clear filters action",- "Cleared the threshold filter and confirmed the default Add filter control returned",- "Applied Group: vault on Physical Disks and confirmed Add filter, Saved, Clear filters, View, the active chip, and the empty-result state remained aligned",- "Cleared the physical-disk filter and confirmed the full result table returned",- "Expanded both phone-width filter rails and confirmed Add filter and adjacent actions wrapped without clipping or horizontal overflow",- "Read the browser console after the final desktop and responsive pass and confirmed no warnings or errors"+ "Expanded the phone-width vSphere filter rail and confirmed Add filter, Saved, and View share one action row while Trend range remains on its own row",+ "Selected Node: esxi-01.lab.local and confirmed the active chip stays with Add filter while Clear filters, Saved and View, and Trend range wrap without clipping",+ "Cleared the Node filter and confirmed the compact Add filter, Saved, and View action row returned",+ "Opened View preferences at 390 by 844 and measured the panel fully inside the viewport with clear separation from the fixed mobile navigation",+ "Closed View preferences with Escape and confirmed the panel disappeared, aria-expanded reset, and focus returned to View",+ "Confirmed the vSphere desktop action rail remains aligned after the shared layout change",+ "Confirmed Proxmox Backups remains aligned on desktop and phone-width layouts, including collapsed and expanded filter rails"]}diff --git a/frontend-modern/src/components/Workloads/WorkloadsFilter.tsx b/frontend-modern/src/components/Workloads/WorkloadsFilter.tsxindex 6981fddfac..f2328337ee 100644--- a/frontend-modern/src/components/Workloads/WorkloadsFilter.tsx+++ b/frontend-modern/src/components/Workloads/WorkloadsFilter.tsx@@ -265,7 +265,7 @@ export const WorkloadsFilter: Component<WorkloadsFilterProps> = (props) => {showAddFilterLabel={false}savedViewsKey={props.savedViewsKey}leadingControls={- <Show when={props.pinnedSelectionActive?.() && props.onClearPinnedSelection}>+ props.pinnedSelectionActive?.() && props.onClearPinnedSelection ? (<FilterActionButtonaria-label="Clear pinned selection"title="Clear pinned selection"@@ -274,7 +274,7 @@ export const WorkloadsFilter: Component<WorkloadsFilterProps> = (props) => {<XIcon class="h-3 w-3" />Clear selection</FilterActionButton>- </Show>+ ) : undefined}viewOptions={<>diff --git a/frontend-modern/src/components/Workloads/__tests__/WorkloadsFilter.test.tsx b/frontend-modern/src/components/Workloads/__tests__/WorkloadsFilter.test.tsxindex f2316eb2cd..acf7b492f1 100644--- a/frontend-modern/src/components/Workloads/__tests__/WorkloadsFilter.test.tsx+++ b/frontend-modern/src/components/Workloads/__tests__/WorkloadsFilter.test.tsx@@ -224,6 +224,38 @@ describe('WorkloadsFilter', () => {);});+ it('does not reserve an empty leading-action slot in the default mobile filter rail', () => {+ isMobileMock.mockReturnValue(true);+ render(() => (+ <WorkloadsFilter+ {...makeProps({+ savedViewsKey: 'test-workloads',+ pinnedSelectionActive: () => false,+ onClearPinnedSelection: vi.fn(),+ hostFilter: {+ value: '',+ options: [+ { value: '', label: 'All nodes' },+ { value: 'pve1', label: 'pve1' },+ ],+ onChange: vi.fn(),+ },+ })}+ />+ ));++ fireEvent.click(screen.getByRole('button', { name: 'Filters' }));++ const actions = screen.getByRole('group', { name: 'Filter actions' });+ const actionCluster = actions.querySelector('[data-filter-action-cluster]');+ expect(actionCluster).toContainElement(+ within(actions).getByRole('combobox', { name: 'Filter' }),+ );+ expect(+ screen.queryByRole('button', { name: 'Clear pinned selection' }),+ ).not.toBeInTheDocument();+ });+it('maps legacy container view modes onto the canonical "Containers" type chip', () => {render(() => (<WorkloadsFilter {...makeProps({ viewMode: vi.fn(() => 'app-container' as const) })} />diff --git a/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx b/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsxindex 3363e20731..3000e61759 100644--- a/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx+++ b/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx@@ -192,6 +192,31 @@ describe('FilterBar', () => {expect(actionCluster).toContainElement(within(actions).getByRole('button', { name: 'View' }));});+ it('keeps an otherwise orphaned Add filter with Saved and View on mobile', () => {+ renderInRouter(() => (+ <FilterBar+ search={search}+ filters={[inlineTypeFilter(), menuNodeFilter()]}+ isMobile={() => true}+ savedViewsKey="test-surface"+ viewOptions={<span>Density</span>}+ />+ ));++ fireEvent.click(screen.getByRole('button', { name: 'Filters' }));++ const actions = screen.getByRole('group', { name: 'Filter actions' });+ const actionCluster = actions.querySelector('[data-filter-action-cluster]');+ expect(actionCluster).not.toBeNull();+ expect(actionCluster).toContainElement(+ within(actions).getByRole('combobox', { name: 'Filter' }),+ );+ expect(actionCluster).toContainElement(+ within(actions).getByRole('button', { name: 'Saved views' }),+ );+ expect(actionCluster).toContainElement(within(actions).getByRole('button', { name: 'View' }));+ });+it('keeps clear filters with filter actions before the presentation controls', () => {render(() => (<FilterBardiff --git a/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx b/frontend-modern/src/components/shared/FilterBar/FilterBar.tsxindex 33f267e737..70e887c1c7 100644--- a/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx+++ b/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx@@ -94,10 +94,18 @@ export const FilterBar: Component<FilterBarProps> = (props) => {const showInlineRow = () => props.isMobile() && mobileExpanded() && inlineFilters().length > 0;const showDesktopChipRow = () => !props.isMobile() && activeMenuFilters().length > 0;const showMobileBody = () => props.isMobile() && mobileExpanded();+ const showMobileActionRow = () => showMobileBody() && (hasSavedViews() || hasAuxiliaryControls());+ const showAddFilterInMobileActionRow = () =>+ showMobileActionRow() &&+ activeMenuFilters().length === 0 &&+ hasAddableMenuFilters() &&+ !hasClearableState() &&+ !props.leadingControls;const showChipRow = () =>showDesktopChipRow() ||- (showMobileBody() && (activeMenuFilters().length > 0 || hasAddableMenuFilters()));- const showMobileActionRow = () => showMobileBody() && (hasSavedViews() || hasAuxiliaryControls());+ (showMobileBody() &&+ (activeMenuFilters().length > 0 ||+ (hasAddableMenuFilters() && !showAddFilterInMobileActionRow())));const showClearAllInMobileActionRow = () =>showMobileActionRow() && hasClearableState() && !showChipRow();@@ -222,6 +230,12 @@ export const FilterBar: Component<FilterBarProps> = (props) => {aria-label="Filter actions"><div class="flex shrink-0 flex-nowrap items-center gap-2" data-filter-action-cluster>+ <Show when={showAddFilterInMobileActionRow()}>+ <AddFilterMenu+ filters={menuFilters()}+ showLabel={props.showAddFilterLabel === true}+ />+ </Show><Show when={props.savedViewsKey}>{(key) => <SavedViewsMenu storageKey={key()} />}</Show>diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.tsindex d97a155602..a357ac009d 100644--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts@@ -8146,6 +8146,7 @@ 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('showAddFilterInMobileActionRow');expect(filterBarSource).toContain('showLabel={props.showAddFilterLabel === true}');expect(filterBarSource).not.toContain('showLabel={props.showAddFilterLabel !== false}');expect(filterBarSource).toContain(