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
Move durable Storage layout into View
rcourtman1b2e9866a843
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex 0d35e83f91..e99b7ba92b 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -3922,7 +3922,13 @@ edge.Saved Views and View are peer filter-bar popovers and must compose the shared`FilterPopoverTrigger`; the shared trigger owns their matching text emphasis,icon geometry, disclosure chevron, active state, and button alignment instead-of allowing each popup wrapper to restyle that contract independently.+of allowing each popup wrapper to restyle that contract independently. The+expanded mobile rail keeps Saved and View together in one action row; when no+menu-backed filter row is present, contextual Clear filters joins that row+instead of forcing View onto an isolated line. View takes the row's available+trailing space and anchors its panel from the mobile action rail's trailing+edge, then returns to trigger-relative trailing alignment on desktop; Saved+keeps its leading-edge mobile anchor.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 6f9335d98a..c7dbea4d06 100644--- a/docs/release-control/v6/internal/subsystems/performance-and-scalability.md+++ b/docs/release-control/v6/internal/subsystems/performance-and-scalability.md@@ -1637,7 +1637,8 @@ bars/trends, chart visibility, Guest/Host memory basis, and Columns — passtheir panel content through `FilterBar.viewOptions` instead of importing orwrapping `ViewOptionsMenu` in the workload feature or rendering as equallyprominent filter toggles. The shared FilterBar owns View composition across-desktop and mobile layouts. The sparkline range remains+desktop and mobile layouts, including the mobile action-row placement shared+with Saved views. 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/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.mdindex 043c941c6d..22c29bd5f1 100644--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md@@ -1619,12 +1619,14 @@ recovery scope, or a storage/recovery-owned secret source.Platform pages that embed `StorageSurface` reuse the canonical`StoragePageControls` toolbar through the `showFilterToolbar` prop on`StorageProps`. The page keeps `tableOnly` to hide the storage summary- section but opts in to the shared search, status, group-by, sort,+ section but opts in to the shared search, status, grouping, sort,node, view, and chart-collapse controls so platform operators getdense-table storage controls on every embedded storage tab withoutforking the toolbar. The source scope flows through`forcedSourceFilter` as a typed page input; the source filter remains- available in the toolbar only when not forced.+ available in the toolbar only when not forced. Status remains a frequent+ inline filter; grouping and sort are durable presentation preferences in+ the shared View popover.Storage filter option semantics stay storage-owned, but FilterBar chippresentation is frontend-primitives-owned: storage status leading dots mustuse `filterChipStatusDot` rather than storage-local span factories.@@ -3035,10 +3037,10 @@ and `frontend-modern/src/utils/storageSources.ts` rather than re-declaringpage-local title casing or alternate all-option labels. The storage toolbar mayown sort/filter semantics, but native select label/id/chrome and dynamic valuesync must come from the frontend-primitives-owned `FormSelect` rather than a-storage-local raw `<select>` wrapper. Sort key and direction are durable-presentation preferences, so `StoragePageControls` supplies them through the-frontend-primitives-owned `FilterBar.viewOptions` content boundary instead of-leaving them as permanent filter-rail controls.+storage-local raw `<select>` wrapper. Grouping, sort key, and sort direction are+durable presentation preferences, so `StoragePageControls` supplies them+through the frontend-primitives-owned `FilterBar.viewOptions` content boundary+instead of leaving them as permanent filter-rail controls.Recovery all-history, all-item-type, and all-platform defaults follow the sameshared filter-option contract through`frontend-modern/src/utils/recoveryTablePresentation.ts`, so recovery historydiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex e2dd4ce4e5..d35178e55d 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,15 +1,20 @@{"version": 1,- "base_sha": "245177e531236e58b6d54685b1c8ce56b5f696cb",- "verified_at": "2026-08-02T23:58:38Z",+ "base_sha": "b2e5ad606176c0e08185e7da95b33a4ae4e39318",+ "verified_at": "2026-08-03T00:21:48Z","result": "passed","changed_paths": [- "frontend-modern/src/components/shared/FilterBar/SavedViewsMenu.tsx"+ "frontend-modern/src/components/Storage/StoragePageControls.tsx",+ "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx",+ "frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.tsx"],"content_sha256": {- "frontend-modern/src/components/shared/FilterBar/SavedViewsMenu.tsx": "4fbca74c99f6aff54f1811fb759a70aa4415450cf8a04936b6e8e4c55131724f"+ "frontend-modern/src/components/Storage/StoragePageControls.tsx": "f3ea9419ff3b7de9f21deba51add5485e15751ec58842eee532fcf30e9d28782",+ "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx": "97c31217224436d7326b34629ad26d7e8fbafa9c50033a2faaf9877af49e3d9d",+ "frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.tsx": "a4af7c1e398bab745109d332dff808f273b85067e80cf5c53c11abf6f1fe2f98"},"routes": [+ "/proxmox/storage","/docker/overview"],"viewports": [@@ -23,19 +28,20 @@}],"states": [- "Phone-width Docker toolbar with the filter rail collapsed",- "Phone-width Docker filter rail expanded with Add filter, Saved, View, and the resource count",- "Phone-width Saved views dialog open and fully contained between x=25.34 and x=281.34 in the 390px viewport",- "Phone-width Saved views inline naming form open",- "Desktop Docker toolbar with Filter, Saved, View, and the resource count aligned on the shared rail",- "Desktop Saved views dialog open and trailing-edge aligned to its trigger"+ "Desktop Proxmox Storage toolbar with Status as the only permanent segmented filter and Saved, Clear filters, and View aligned on the shared rail",+ "Desktop Storage View preferences with Layout/Group by and Order controls fully visible",+ "Phone-width Storage filter rail expanded with Saved, Clear filters, and View together in the labelled Filter actions row",+ "Phone-width Storage View preferences fully contained within the viewport",+ "Phone-width Docker filter rail expanded with Saved, View, and the container count in the shared action row",+ "Phone-width Docker View preferences fully contained despite the trailing container count"],"interactions": [- "Expanded the phone-width Filters rail and opened Saved views",- "Opened the inline Save current view form and pressed Escape, confirming focus returned to the save action",- "Pressed Escape again, confirming the dialog closed and focus returned to the Saved trigger",- "Reopened Saved views and clicked the search field outside it, confirming outside-click dismissal",- "Opened Saved views at desktop width and confirmed the dialog remained fully inside the viewport",- "Confirmed the verified route had no Saved-dialog clipping and no browser console errors"+ "Changed Storage Group by from Flat to By node and confirmed grouped host rows plus the canonical group=node URL parameter",+ "Reloaded Storage and confirmed the By node selection and grouped result persisted from URL state",+ "Pressed Escape and confirmed the View dialog closed with focus restored to its trigger",+ "Reopened View and clicked the Storage tab outside it, confirming outside-click dismissal",+ "Expanded the phone-width Storage filter rail and confirmed Group by no longer consumes an inline filter row",+ "Opened View on phone-width Storage and Docker routes and confirmed the action-rail-relative panel stayed inside both viewport edges",+ "Confirmed the verified routes produced no browser warning or error console entries"]}diff --git a/frontend-modern/src/components/Storage/StoragePageControls.tsx b/frontend-modern/src/components/Storage/StoragePageControls.tsxindex 74a0be34bc..2b7ec4c244 100644--- a/frontend-modern/src/components/Storage/StoragePageControls.tsx+++ b/frontend-modern/src/components/Storage/StoragePageControls.tsx@@ -174,21 +174,6 @@ export const StoragePageControls: Component<StoragePageControlsProps> = (props)}if (isPoolsView()) {- filters.push({- id: 'storage-group-by',- label: 'Group by',- group: 'properties',- inline: true,- value: () => props.storageFilterGroupBy(),- setValue: (value: string) => props.setGroupBy(value as StorageGroupKey),- defaultValue: DEFAULT_STORAGE_GROUP_KEY,- options: () =>- STORAGE_GROUP_BY_OPTIONS.map((option) => ({- value: option.value,- label: option.label,- })),- });-if (!props.suppressSourceFilter) {filters.push({id: 'storage-source',@@ -314,51 +299,75 @@ export const StoragePageControls: Component<StoragePageControlsProps> = (props)searchTrailing={props.searchTrailing}filters={buildFilters()}viewOptions={- <div>- <div class="mb-1.5 text-[10px] font-semibold uppercase tracking-wide text-muted">- Order- </div>- <div class={STORAGE_FILTER_SORT_WRAP_CLASS}>- <FormSelect- label="Sort by"- labelClass="sr-only"- fieldBaseClass="contents"- selectBaseClass={STORAGE_FILTER_SORT_SELECT_CLASS}- value={props.sortKey()}- onChange={(event) => handleSortKeyChange(event.currentTarget.value)}- disabled={sortDisabled()}- aria-label="Sort by"- >- {DEFAULT_STORAGE_SORT_OPTIONS.map((option) => (- <option value={option.value}>{option.label}</option>- ))}- </FormSelect>- <button- type="button"- title={getStorageSortDirectionTitle(props.sortDirection())}- onClick={() =>- props.setSortDirection(getNextStorageSortDirection(props.sortDirection()))- }- disabled={sortDisabled()}- aria-label="Sort direction"- class={STORAGE_FILTER_SORT_DIRECTION_BUTTON_CLASS}- >- <svg- class={`${STORAGE_FILTER_SORT_ICON_CLASS} ${getStorageSortDirectionIconClass(- props.sortDirection(),- )}`}- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- stroke-width="2"+ <div class="space-y-3">+ <Show when={isPoolsView()}>+ <div>+ <div class="mb-1.5 text-[10px] font-semibold uppercase tracking-wide text-muted">+ Layout+ </div>+ <FormSelect+ label="Group by"+ labelClass="sr-only"+ fieldBaseClass="contents"+ selectBaseClass={`${STORAGE_FILTER_SORT_SELECT_CLASS} w-full`}+ value={props.storageFilterGroupBy()}+ onChange={(event) =>+ props.setGroupBy(event.currentTarget.value as StorageGroupKey)+ }+ aria-label="Group by"+ >+ {STORAGE_GROUP_BY_OPTIONS.map((option) => (+ <option value={option.value}>{option.label}</option>+ ))}+ </FormSelect>+ </div>+ </Show>+ <div>+ <div class="mb-1.5 text-[10px] font-semibold uppercase tracking-wide text-muted">+ Order+ </div>+ <div class={STORAGE_FILTER_SORT_WRAP_CLASS}>+ <FormSelect+ label="Sort by"+ labelClass="sr-only"+ fieldBaseClass="contents"+ selectBaseClass={STORAGE_FILTER_SORT_SELECT_CLASS}+ value={props.sortKey()}+ onChange={(event) => handleSortKeyChange(event.currentTarget.value)}+ disabled={sortDisabled()}+ aria-label="Sort by"+ >+ {DEFAULT_STORAGE_SORT_OPTIONS.map((option) => (+ <option value={option.value}>{option.label}</option>+ ))}+ </FormSelect>+ <button+ type="button"+ title={getStorageSortDirectionTitle(props.sortDirection())}+ onClick={() =>+ props.setSortDirection(getNextStorageSortDirection(props.sortDirection()))+ }+ disabled={sortDisabled()}+ aria-label="Sort direction"+ class={STORAGE_FILTER_SORT_DIRECTION_BUTTON_CLASS}>- <path- stroke-linecap="round"- stroke-linejoin="round"- d="M8 9l4-4 4 4m0 6l-4 4-4-4"- />- </svg>- </button>+ <svg+ class={`${STORAGE_FILTER_SORT_ICON_CLASS} ${getStorageSortDirectionIconClass(+ props.sortDirection(),+ )}`}+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="2"+ >+ <path+ stroke-linecap="round"+ stroke-linejoin="round"+ d="M8 9l4-4 4 4m0 6l-4 4-4-4"+ />+ </svg>+ </button>+ </div></div></div>}diff --git a/frontend-modern/src/components/Storage/__tests__/Storage.test.tsx b/frontend-modern/src/components/Storage/__tests__/Storage.test.tsxindex d5faac860a..a120bc59ee 100644--- a/frontend-modern/src/components/Storage/__tests__/Storage.test.tsx+++ b/frontend-modern/src/components/Storage/__tests__/Storage.test.tsx@@ -120,6 +120,10 @@ const openStorageViewOptions = () => {return screen.getByRole('dialog', { name: 'View preferences' });};+const setStorageViewOption = (dialog: HTMLElement, label: string, value: string) => {+ fireEvent.change(within(dialog).getByLabelText(label), { target: { value } });+};+const getStorageChipOptions = async (label: string): Promise<string[]> => {const chip = queryStorageChip(label);if (!chip) throw new Error(`No chip found for filter "${label}"`);@@ -613,7 +617,7 @@ describe('Storage', () => {expect(orderedRowIds.slice(0, 2)).toEqual(['storage-1', 'storage-2']);});- setStorageFilter('Group by', 'By status');+ setStorageViewOption(viewOptions, 'Group by', 'status');// Group headers now show just the key name (without prefix)expect(screen.getAllByText('degraded').length).toBeGreaterThan(0);@@ -654,9 +658,9 @@ describe('Storage', () => {'aria-selected','true',);- // Menu filter state surfaces as chips on the FilterBar; primary filters- // stay visible as inline controls. Sort is a durable presentation choice- // owned by the shared View popover.+ // Menu filter state surfaces as chips on the FilterBar; Status stays visible+ // as a frequent inline control. Layout and sort are durable presentation+ // choices owned by the shared View popover.expect(queryStorageChip('Node')).toHaveTextContent('Node:pve2');const viewOptions = openStorageViewOptions();expect((within(viewOptions).getByLabelText('Sort by') as HTMLSelectElement).value).toBe(@@ -665,11 +669,13 @@ describe('Storage', () => {// Grouping controls are only shown on the Pools view.fireEvent.click(screen.getByRole('tab', { name: 'Storage' }));- expectStorageInlineFilter('Group by', 'By status');+ expect((within(viewOptions).getByLabelText('Group by') as HTMLSelectElement).value).toBe(+ 'status',+ );expect(queryStorageChip('Source')).toHaveTextContent('Source:PVE');expectStorageInlineFilter('Status', 'Warning');- setStorageFilter('Group by', 'By type');+ setStorageViewOption(viewOptions, 'Group by', 'type');await waitFor(() => {const [nextPath] = navigateSpy.mock.calls.at(-1) as [string];diff --git a/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx b/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsxindex 32d8d3e099..fc807bbb8a 100644--- a/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx+++ b/frontend-modern/src/components/shared/FilterBar/FilterBar.test.tsx@@ -167,6 +167,25 @@ describe('FilterBar', () => {expect(screen.getAllByRole('button', { name: 'Clear filters' })).toHaveLength(1);});+ it('keeps Saved, clear filters, and View together in the mobile action rail', () => {+ renderInRouter(() => (+ <FilterBar+ search={search}+ filters={[inlineTypeFilter(vi.fn(), 'vm')]}+ isMobile={() => true}+ savedViewsKey="test-surface"+ viewOptions={<span>Density</span>}+ />+ ));++ fireEvent.click(screen.getByRole('button', { name: /^Filters/ }));++ const actions = screen.getByRole('group', { name: 'Filter actions' });+ expect(within(actions).getByRole('button', { name: 'Saved views' })).toBeInTheDocument();+ expect(within(actions).getByRole('button', { name: 'Clear filters' })).toBeInTheDocument();+ expect(within(actions).getByRole('button', { name: 'View' })).toBeInTheDocument();+ });+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 1c12e176d3..f93b859a55 100644--- a/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx+++ b/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx@@ -96,8 +96,10 @@ export const FilterBar: Component<FilterBarProps> = (props) => {const showMobileBody = () => props.isMobile() && mobileExpanded();const showChipRow = () =>showDesktopChipRow() ||- (showMobileBody() &&- (activeMenuFilters().length > 0 || hasAddableMenuFilters() || hasSavedViews()));+ (showMobileBody() && (activeMenuFilters().length > 0 || hasAddableMenuFilters()));+ const showMobileActionRow = () => showMobileBody() && (hasSavedViews() || hasAuxiliaryControls());+ const showClearAllInMobileActionRow = () =>+ showMobileActionRow() && hasClearableState() && !showChipRow();const searchHistory = () => {const key = props.search.historyKey;@@ -190,7 +192,7 @@ export const FilterBar: Component<FilterBarProps> = (props) => {<Show when={showInlineRow()}><div class="flex flex-wrap items-center gap-2"><For each={inlineFilters()}>{(filter) => <InlineFilterControl filter={filter} />}</For>- <Show when={hasClearableState() && !showChipRow()}>+ <Show when={hasClearableState() && !showChipRow() && !showClearAllInMobileActionRow()}><FilterBarClearAllButton onClick={clearAll} /></Show></div>@@ -206,9 +208,6 @@ export const FilterBar: Component<FilterBarProps> = (props) => {showLabel={props.showAddFilterLabel !== false}/></Show>- <Show when={props.savedViewsKey}>- {(key) => <SavedViewsMenu storageKey={key()} />}- </Show></Show><Show when={hasClearableState() && showMobileBody()}><FilterBarClearAllButton onClick={clearAll} />@@ -216,8 +215,16 @@ export const FilterBar: Component<FilterBarProps> = (props) => {</div></Show>- <Show when={showMobileBody() && hasAuxiliaryControls()}>- <div class="flex flex-wrap items-center gap-2 border-t border-border-subtle pt-2">+ <Show when={showMobileActionRow()}>+ <div+ class="relative flex flex-wrap items-center gap-2 border-t border-border-subtle pt-2"+ role="group"+ aria-label="Filter actions"+ >+ <Show when={props.savedViewsKey}>{(key) => <SavedViewsMenu storageKey={key()} />}</Show>+ <Show when={showClearAllInMobileActionRow()}>+ <FilterBarClearAllButton onClick={clearAll} />+ </Show>{props.leadingControls}<Show when={props.viewOptions}><ViewOptionsMenu>{props.viewOptions}</ViewOptionsMenu>diff --git a/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.test.tsx b/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.test.tsxindex 0d5b699a23..508efa756d 100644--- a/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.test.tsx+++ b/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.test.tsx@@ -19,10 +19,14 @@ describe('ViewOptionsMenu', () => {expect(screen.getByRole('dialog', { name: 'View preferences' })).toBeInTheDocument();expect(screen.getByRole('dialog', { name: 'View preferences' })).toHaveClass(- 'left-0',- 'right-auto',- 'md:left-auto',- 'md:right-0',+ 'left-auto',+ 'right-0',+ );+ expect(screen.getByRole('button', { name: 'View' }).parentElement).toHaveClass(+ 'static',+ 'ml-auto',+ 'sm:relative',+ 'sm:ml-0',);expect(screen.getByRole('button', { name: 'Grouped' })).toBeInTheDocument();expect(screen.getByRole('button', { name: 'View' })).toHaveAttribute('aria-expanded', 'true');diff --git a/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.tsx b/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.tsxindex 63b7ab4a77..1646d8912a 100644--- a/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.tsx+++ b/frontend-modern/src/components/shared/FilterBar/ViewOptionsMenu.tsx@@ -49,7 +49,7 @@ export const ViewOptionsMenu: Component<ViewOptionsMenuProps> = (props) => {});return (- <div ref={containerRef} class="relative shrink-0">+ <div ref={containerRef} class="static ml-auto shrink-0 sm:relative sm:ml-0"><FilterPopoverTriggerref={triggerRef}open={open()}@@ -69,7 +69,7 @@ export const ViewOptionsMenu: Component<ViewOptionsMenuProps> = (props) => {role="dialog"aria-label={props.label ?? 'View preferences'}widthClass="w-80 max-w-[calc(100vw-2rem)]"- class="left-0 right-auto top-[calc(100%+0.25rem)] z-50 max-h-[min(38rem,calc(100vh-8rem))] overflow-y-auto p-3 md:left-auto md:right-0"+ class="left-auto right-0 top-[calc(100%+0.25rem)] z-50 max-h-[min(38rem,calc(100vh-8rem))] overflow-y-auto p-3"><div class="mb-3 border-b border-border-subtle pb-2"><div class="text-xs font-medium text-base-content">diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.tsindex cbb0be5ae0..c8a2f8e0aa 100644--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts@@ -8229,6 +8229,8 @@ describe('shared primitive guardrails', () => {expect(filterToolbarSource).toContain('export const FilterPopoverTrigger');expect(filterToolbarSource).toContain("filterToolbarControlClass = 'h-7");expect(viewOptionsMenuSource).toContain('<FilterPopoverTrigger');+ expect(viewOptionsMenuSource).toContain('class="static ml-auto shrink-0 sm:relative sm:ml-0"');+ expect(viewOptionsMenuSource).toContain('class="left-auto right-0');expect(savedViewsMenuSource).toContain('<FilterPopoverTrigger');expect(filterCatalogSource).toContain('leadingControls?: JSX.Element;');expect(filterCatalogSource).toContain('viewOptions?: JSX.Element;');@@ -8236,6 +8238,7 @@ describe('shared primitive guardrails', () => {expect(filterCatalogSource).not.toContain('viewOptionsTrailing');expect(filterBarSource).toContain("import { ViewOptionsMenu } from './ViewOptionsMenu';");expect(filterBarSource).toContain('<ViewOptionsMenu>{props.viewOptions}</ViewOptionsMenu>');+ expect(filterBarSource).toContain('aria-label="Filter actions"');expect(sharedPlatformPageSource).toContain('viewOptions?: JSX.Element;');expect(sharedPlatformPageSource).toContain('viewOptions={props.viewOptions}');expect(sharedPlatformPageSource).toContain('trailingControls={');@@ -8297,11 +8300,10 @@ describe('shared primitive guardrails', () => {expect(workloadsFilterSource).not.toContain('useWorkloadsFilterState');expect(workloadsFilterSource).not.toContain('const statusDot = (className: string)');- // StoragePageControls — Subtabs sit above the FilterBar; sort key/sort- // direction live in the FilterBar-owned View popover (not chips).- // Per-view catalog filters (inline Group by and Status plus menu-backed- // Source on Pools; Role/Group on Physical Disks) flow through the FilterBar- // catalog. The legacy+ // StoragePageControls — Subtabs sit above the FilterBar; grouping, sort key,+ // and sort direction live in the FilterBar-owned View popover (not chips).+ // Per-view catalog filters (inline Status plus menu-backed Source on Pools;+ // Role/Group on Physical Disks) flow through the FilterBar catalog. The legacy// 3-layer indirection (StoragePageControls → StorageControls →// StorageFilter) collapses to one component.expect(storagePageControlsSource).toContain("from '@/components/shared/FilterBar';");@@ -8315,12 +8317,13 @@ describe('shared primitive guardrails', () => {"ariaLabel={props.filterAriaLabel ?? 'Storage filters'}",);expect(storagePageControlsSource).toContain("id: 'storage-node'");- expect(storagePageControlsSource).toContain("id: 'storage-group-by'");+ expect(storagePageControlsSource).not.toContain("id: 'storage-group-by'");expect(storagePageControlsSource).toContain("id: 'storage-source'");expect(storagePageControlsSource).toContain("id: 'storage-status'");expect(storagePageControlsSource).toContain("id: 'storage-disk-role'");expect(storagePageControlsSource).toContain("id: 'storage-disk-group'");expect(storagePageControlsSource).toContain('viewOptions={');+ expect(storagePageControlsSource).toContain('Layout');expect(storagePageControlsSource).toContain('Order');expect(storagePageControlsSource).not.toContain('viewOptionsTrailing');expect(auditLogPanelSource).toContain('viewOptions={');@@ -8328,6 +8331,7 @@ describe('shared primitive guardrails', () => {expect(auditLogPanelSource).not.toContain('viewOptionsTrailing');expect(proxmoxBackupsTableSource).toContain('trailingControls={');expect(storagePageControlsSource).toContain('aria-label="Sort by"');+ expect(storagePageControlsSource).toContain('aria-label="Group by"');expect(storagePageControlsSource).toContain('aria-label="Sort direction"');expect(storagePageControlsSource).toContain('onClearAll={handleClearAll}');expect(storagePageControlsSource).toContain('showClearAll={showClearAll}');