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(settings): prevent responsive panel clipping
rcourtman70162c029518
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.jsonindex a04c1b5961..487e10c3f5 100644--- a/docs/release-control/v6/internal/status.json+++ b/docs/release-control/v6/internal/status.json@@ -9118,7 +9118,21 @@],"coverage_gaps": [],"candidate_lanes": [],- "work_claims": [],+ "work_claims": [+ {+ "id": "settings-responsive-20260808-release-gate-settings-surface-layout-consistency",+ "agent_id": "settings-responsive-20260808",+ "summary": "Repair confirmed responsive clipping in the shared Settings shell and prove direct Plans & Billing plus adjacent panels at narrow viewports without changing commercial behavior.",+ "target_id": "v6-product-lane-expansion",+ "claimed_at": "2026-08-08T03:47:09Z",+ "heartbeat_at": "2026-08-08T03:47:09Z",+ "expires_at": "2026-08-08T05:47:09Z",+ "work_item": {+ "kind": "release-gate",+ "id": "settings-surface-layout-consistency"+ }+ }+ ],"open_decisions": [{"id": "self-hosted-commercial-surfaces-owner-approval",diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.mdindex ce9861161f..e723455f20 100644--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md@@ -2009,6 +2009,12 @@ default` instead of fusing provider and badge text such as2. Keep top-level settings surfaces routed through the canonical settings shelland maintain both `frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts`plus `tests/integration/tests/15-settings-shell-consistency.spec.ts`+ The shared Settings content column must remain explicitly width-constrained+ and at rest across the `lg` breakpoint. Do not attach a transform animation+ unconditionally to the responsive panel container: entering a narrow+ viewport must not reactivate motion that translates or clips the active+ panel. Responsive proof must cover a desktop-to-390-pixel resize and the+ direct Plans & Billing route as well as ordinary Settings navigation.3. Keep Settings loading placeholders on the shared`SettingsLoadingSkeleton` primitive and the`settings-loading-skeleton-shell` registry rule instead of localdiff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex 5341da71f1..9770964ee3 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,21 +1,18 @@{"version": 1,- "base_sha": "d1f687c0ea8ea6cfd91f6fc942a82f67b25652ab",- "verified_at": "2026-08-08T02:35:34Z",+ "base_sha": "e434466269e684383a3be9b650428db10a1a7f8a",+ "verified_at": "2026-08-08T04:26:26Z","result": "passed","changed_paths": [- "frontend-modern/src/api/runtimeInventorySources.ts",- "frontend-modern/src/components/Workloads/WorkloadsSurface.tsx",- "frontend-modern/src/components/Workloads/useWorkloadsState.ts",- "frontend-modern/src/components/Workloads/workloadInventorySourceIssues.ts"+ "frontend-modern/src/components/Settings/SettingsPageShell.tsx"],"content_sha256": {- "frontend-modern/src/api/runtimeInventorySources.ts": "39ceabc3047ad6013d6173a6514b39130e99fec52343200ebe84a3c6a929b5b6",- "frontend-modern/src/components/Workloads/WorkloadsSurface.tsx": "b389fe9ad4bbe0df8f791eca104159e803373bbbbbb5f3b0bd1eb4c65cc9ecaf",- "frontend-modern/src/components/Workloads/useWorkloadsState.ts": "3fa8ba82ae7646024b6510fe1eede14157b9bb85332f639002d34a0368277c5a",- "frontend-modern/src/components/Workloads/workloadInventorySourceIssues.ts": "5f9bdc807aebbfa4e1c1c33da75bd1ffe834c4cf957a10a0135c20cd8191241d"+ "frontend-modern/src/components/Settings/SettingsPageShell.tsx": "9f3745b074d4809d3066b31ddc14e06e564588ecaa41066644774ca58ea57430"},- "routes": ["/proxmox/overview"],+ "routes": [+ "/settings/pulse-intelligence/billing/plan",+ "/settings/system-general"+ ],"viewports": [{"width": 1280,@@ -27,15 +24,14 @@}],"states": [- "Authenticated Proxmox overview on the final d1f687c0 replay issued GET /api/runtime/inventory-sources and received HTTP 200 application/json, with no /api/connections request in the captured load.",- "A controlled viewer-safe unreachable PVE projection rendered Source unreachable: Primary lab with only the generic recovery message and no raw connection error or administrative detail.",- "The projected source-health state remained readable at 1280x800 and 390x844; the mobile document clientWidth and scrollWidth were both 390 pixels.",- "The local development WebSocket reported its expected origin rejection; the verified runtime inventory HTTP request and rendered source-health state completed independently."+ "Direct Plans & Billing rendered in the shared Settings shell at 1280x800 with the navigation and content columns aligned, animation-name none, transform none, and document clientWidth and scrollWidth both 1280 pixels.",+ "Immediately after resizing direct Plans & Billing from 1280x800 to 390x844, the content bounds remained inside the viewport (24.703125 to 354.28125 pixels), animation-name and transform remained none, and document clientWidth and scrollWidth were both 390 pixels.",+ "After opening the mobile Settings navigation and selecting General, the adjacent panel remained inside the 390-pixel viewport (17.34375 to 361.640625 pixels), animation-name and transform remained none, and document clientWidth and scrollWidth were both 390 pixels."],"interactions": [- "Built the production frontend and final Pulse binary from d1f687c0, started the isolated mock runtime, and opened /proxmox/overview in the in-app browser.",- "Captured the final page-load network events and confirmed the Workloads read path used only /api/runtime/inventory-sources rather than the admin-only /api/connections route.",- "Intercepted only the runtime inventory response locally with the exact narrow source projection, applied an unmatched workload search to expose source health, and inspected the rendered desktop and mobile states.",- "Cleared the response interception, restored the viewport, closed all verification tabs, and stopped the isolated frontend and backend processes."+ "Built the production frontend from final base e4344662, opened the direct Plans & Billing route in the in-app browser at 1280x800, and inspected the shared navigation and content bounds.",+ "Resized the live route directly to 390x844 and inspected the content bounds, computed animation and transform state, and document overflow immediately after the breakpoint transition.",+ "Opened the mobile Settings drawer, selected General, visually inspected the rendered panel at 390x844, and confirmed the adjacent Settings route retained the same width and motion constraints.",+ "Restored the browser viewport to 1280x800, closed the verification tab, and stopped the isolated local frontend and backend processes."]}diff --git a/frontend-modern/src/components/Settings/SettingsPageShell.tsx b/frontend-modern/src/components/Settings/SettingsPageShell.tsxindex cf0f8e9dd7..4e391ddd32 100644--- a/frontend-modern/src/components/Settings/SettingsPageShell.tsx+++ b/frontend-modern/src/components/Settings/SettingsPageShell.tsx@@ -41,7 +41,7 @@ export const SettingsPageShell: Component<SettingsPageShellProps> = (props) => {: props.activeTab() === itemId;return (- <div class="space-y-6">+ <div class="min-w-0 max-w-full space-y-6"><PageHeader title={props.headerMeta().title} description={props.headerMeta().description} /><Show when={props.hasUnsavedChanges() && props.activeTabSaveBehavior() === 'system'}>@@ -90,7 +90,10 @@ export const SettingsPageShell: Component<SettingsPageShellProps> = (props) => {</div></Show>- <Card padding="none" class="relative flex overflow-hidden lg:min-h-[600px] lg:flex-row">+ <Card+ padding="none"+ class="relative flex min-w-0 max-w-full overflow-hidden lg:min-h-[600px] lg:flex-row"+ ><divclass={`${props.isMobileMenuOpen() ? 'flex w-full flex-col' : 'hidden lg:flex lg:flex-col'} ${props.sidebarCollapsed() ? 'lg:w-16 lg:min-w-[4rem] lg:max-w-[4rem] lg:basis-[4rem]' : 'lg:w-72 lg:min-w-[18rem] lg:max-w-[18rem] lg:basis-[18rem]'} relative z-10 max-h-[calc(100dvh-12rem)] flex-shrink-0 overflow-y-auto overscroll-contain border-b border-border bg-surface transition-all duration-200 lg:max-h-none lg:overflow-visible lg:border-b-0 lg:border-r lg:bg-transparent lg:align-top`}aria-label={shellCopy().navigationAriaLabel}@@ -229,7 +232,8 @@ export const SettingsPageShell: Component<SettingsPageShellProps> = (props) => {</div><div- class={`flex-1 overflow-hidden ${props.isMobileMenuOpen() ? 'hidden lg:block' : 'block animate-slideInRight lg:animate-none'}`}+ data-settings-content+ class={`min-w-0 flex-1 overflow-hidden ${props.isMobileMenuOpen() ? 'hidden lg:block' : 'block'}`}><Show when={props.flatTabs().length > 0}><div class="lg:hidden sticky top-0 z-40 bg-surface/95 border-b border-border-subtle px-3 py-2.5 flex items-center shadow-none">@@ -257,7 +261,9 @@ export const SettingsPageShell: Component<SettingsPageShellProps> = (props) => {</div></Show>- <div class={infrastructureWorkspaceActive() ? 'p-3 sm:p-4 lg:p-5' : 'p-4 sm:p-6 lg:p-8'}>+ <div+ class={`min-w-0 ${infrastructureWorkspaceActive() ? 'p-3 sm:p-4 lg:p-5' : 'p-4 sm:p-6 lg:p-8'}`}+ >{props.children}</div></div>diff --git a/frontend-modern/src/components/Settings/__tests__/SettingsPageShell.mobile.test.tsx b/frontend-modern/src/components/Settings/__tests__/SettingsPageShell.mobile.test.tsxindex 2e3de03ec8..46a3e62fdf 100644--- a/frontend-modern/src/components/Settings/__tests__/SettingsPageShell.mobile.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/SettingsPageShell.mobile.test.tsx@@ -54,4 +54,39 @@ describe('SettingsPageShell mobile navigation', () => {expect(screen.getAllByText('API Access')).toHaveLength(2);});});++ it('keeps the narrow content column width-constrained and at rest', () => {+ const [activeTab] = createSignal<SettingsTab>('api');+ const [mobileMenuOpen, setMobileMenuOpen] = createSignal(false);+ const [sidebarCollapsed, setSidebarCollapsed] = createSignal(false);+ const [searchQuery, setSearchQuery] = createSignal('');++ const { container } = render(() => (+ <SettingsPageShell+ headerMeta={() => ({ title: 'API Access', description: 'Manage API access.' })}+ hasUnsavedChanges={() => false}+ activeTabSaveBehavior={() => undefined}+ saveSettings={() => undefined}+ discardChanges={() => undefined}+ isMobileMenuOpen={mobileMenuOpen}+ setIsMobileMenuOpen={setMobileMenuOpen}+ sidebarCollapsed={sidebarCollapsed}+ setSidebarCollapsed={setSidebarCollapsed}+ searchQuery={searchQuery}+ setSearchQuery={setSearchQuery}+ filteredTabGroups={() => [{ id: 'infrastructure', label: 'Settings', items: tabs }]}+ flatTabs={() => tabs}+ activeTab={activeTab}+ setActiveTab={() => undefined}+ isPro={() => false}+ >+ <div>Panel content</div>+ </SettingsPageShell>+ ));++ const content = container.querySelector('[data-settings-content]');+ expect(content).toHaveClass('min-w-0', 'flex-1', 'overflow-hidden', 'block');+ expect(content).not.toHaveClass('animate-slideInRight');+ expect(content?.lastElementChild).toHaveClass('min-w-0');+ });});diff --git a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.tsindex 33b111d552..31e62b251e 100644--- a/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts+++ b/frontend-modern/src/components/Settings/__tests__/settingsArchitecture.test.ts@@ -139,6 +139,9 @@ describe('settings architecture guardrails', () => {expect(settingsPageShellSource).toContain('max-h-[calc(100dvh-12rem)]');expect(settingsPageShellSource).toContain('overflow-y-auto overscroll-contain');expect(settingsPageShellSource).toContain('lg:min-h-[600px]');+ expect(settingsPageShellSource).toContain('data-settings-content');+ expect(settingsPageShellSource).toContain('class={`min-w-0 flex-1 overflow-hidden');+ expect(settingsPageShellSource).not.toContain('animate-slideInRight');expect(settingsPageShellSource).not.toContain('min-h-[600px]">');expect(settingsDialogsSource).toContain('export const SettingsDialogs');});diff --git a/tests/integration/tests/15-settings-shell-consistency.spec.ts b/tests/integration/tests/15-settings-shell-consistency.spec.tsindex e7084a8bcb..f0d58e91c4 100644--- a/tests/integration/tests/15-settings-shell-consistency.spec.ts+++ b/tests/integration/tests/15-settings-shell-consistency.spec.ts@@ -65,6 +65,11 @@ const SETTINGS_SHELL_ROUTES = [title: 'Recovery',description: 'Manage backup/snapshot polling plus configuration export and import workflows.',},+ {+ route: '/settings/pulse-intelligence/billing/plan',+ title: 'Plans & Billing',+ description: 'Plan, license, and Patrol mode for this instance.',+ },] as const;const test = base.extend<{}, WorkerFixtures>({@@ -141,4 +146,31 @@ test.describe('Settings shell consistency', () => {).toBeVisible();});}++ test('keeps direct Settings content inside a 390px viewport after desktop resize', async ({ page }) => {+ await page.setViewportSize({ width: 1280, height: 800 });+ await page.goto('/settings/pulse-intelligence/billing/plan', {+ waitUntil: 'domcontentloaded',+ });++ const content = page.locator('[data-settings-content]');+ await expect(content).toBeVisible();+ await expect(page.getByRole('heading', { level: 1, name: 'Plans & Billing' })).toBeVisible();++ await page.setViewportSize({ width: 390, height: 844 });++ const layout = await content.evaluate((element) => {+ const bounds = element.getBoundingClientRect();+ return {+ animationName: getComputedStyle(element).animationName,+ left: bounds.left,+ right: bounds.right,+ viewportWidth: document.documentElement.clientWidth,+ };+ });++ expect(layout.animationName).toBe('none');+ expect(layout.left).toBeGreaterThanOrEqual(0);+ expect(layout.right).toBeLessThanOrEqual(layout.viewportWidth);+ });});