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(ui): fit narrow settings controls
rcourtman9524c6ac79e6
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex 75b8d94685..3f6ef833e1 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,33 +1,40 @@{"version": 1,- "base_sha": "fed7179c92b30211035ad9651c52a5b038519e5c",- "verified_at": "2026-08-05T12:22:01Z",+ "base_sha": "6fc571bcb14cddec3eaf5cd1c94807c5b5e9cd0d",+ "verified_at": "2026-08-05T12:44:42Z","result": "passed","changed_paths": [- "frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx",- "frontend-modern/src/features/truenas/truenasPageModel.ts"+ "frontend-modern/src/components/Settings/AIRuntimeControlsSection.tsx",+ "frontend-modern/src/components/shared/selectablePillModel.ts"],"content_sha256": {- "frontend-modern/src/features/truenas/TrueNASProtectionTable.tsx": "21f999c1e8cdb0d7656c9becaecc936da49d9a048af6a9abc5407e255a9a656a",- "frontend-modern/src/features/truenas/truenasPageModel.ts": "3fc3ea385e59c6deb7e2d971adda673ea131d837496d1f9113416c2dc703a5bc"+ "frontend-modern/src/components/Settings/AIRuntimeControlsSection.tsx": "dd8a0285f791a4a7b9ee6edced172ef9fea0dabecff8770ddd83fe0791e3f5bd",+ "frontend-modern/src/components/shared/selectablePillModel.ts": "0cb855ed62ec2fd620191580ae777b4ed1fc9a4f9f70717a7b97c42c4be0f6bc"},"routes": [- "/truenas/protection"+ "/settings/pulse-intelligence/assistant",+ "/settings/security/api"],"viewports": [- { "width": 390, "height": 844 },- { "width": 1440, "height": 1000 }+ { "width": 320, "height": 800 },+ { "width": 375, "height": 812 },+ { "width": 768, "height": 900 },+ { "width": 1024, "height": 900 },+ { "width": 1280, "height": 900 },+ { "width": 1600, "height": 1000 }],"states": [- "Default protection history with one failed event, one running event, and healthy events",- "Attention filter selected with one matching failed event",- "Filters expanded and collapsed at the narrow viewport",- "All events restored through Clear filters"+ "Assistant settings with no provider configured and Observe only selected",+ "Assistant chat action label, select, and explanatory copy stacked at both phone widths",+ "Assistant chat action control restored to its aligned row layout from tablet through wide desktop",+ "API token compact inventory and create-token presets at phone, tablet, and desktop widths",+ "API custom scopes expanded with long Docker and Kubernetes scope labels wrapping inside the card",+ "API token desktop table with all seven operator columns visible at 1600 pixels"],"interactions": [- "Selected the Attention 1 filter and verified the table narrowed from 10 events to the failed event",- "Cleared filters and verified all 10 events returned",- "Expanded the narrow filter rail and repeated the Attention filter interaction",- "Reloaded the route at the narrow viewport and confirmed the failed event remained first in default order"+ "Expanded Custom scopes at 320 and 375 pixels and measured both long scope pills inside the card bounds",+ "Verified the Assistant select and its help text stay inside the action-permission panel at all six widths",+ "Verified both routes keep document scroll width equal to client width at all six widths",+ "Compared the API token compact cards below 1600 pixels with the full desktop token table"]}diff --git a/frontend-modern/src/components/Settings/AIRuntimeControlsSection.tsx b/frontend-modern/src/components/Settings/AIRuntimeControlsSection.tsxindex 9617290cc8..22ee233229 100644--- a/frontend-modern/src/components/Settings/AIRuntimeControlsSection.tsx+++ b/frontend-modern/src/components/Settings/AIRuntimeControlsSection.tsx@@ -311,10 +311,10 @@ export const AIAssistantCommandAccessSection: Component<AIRuntimeControlsSectionvalue={state.form.controlLevel}onChange={(e) => state.setForm('controlLevel', e.currentTarget.value as AIControlLevel)}disabled={state.saving()}- fieldBaseClass="flex"- fieldClass="items-center gap-3"- labelClass="text-xs font-medium text-muted w-28 flex-shrink-0"- selectBaseClass="flex-1 min-h-10 sm:min-h-9 px-2 py-2 text-sm border border-border rounded bg-surface"+ fieldBaseClass="flex flex-col gap-2 sm:flex-row"+ fieldClass="sm:items-center sm:gap-3"+ labelClass="text-xs font-medium text-muted sm:w-28 sm:flex-shrink-0"+ selectBaseClass="w-full min-w-0 min-h-10 px-2 py-2 text-sm border border-border rounded bg-surface sm:min-h-9 sm:flex-1"><option value="read_only">Observe only - Assistant cannot take chat actions</option><option value="controlled">Ask first - Assistant asks before chat-only actions</option>@@ -324,7 +324,7 @@ export const AIAssistantCommandAccessSection: Component<AIRuntimeControlsSection</option></Show></FormSelect>- <p class="text-[10px] text-muted ml-[7.5rem]">+ <p class="text-[10px] text-muted sm:ml-[7.5rem]">{getAIControlLevelDescription(state.form.controlLevel)}</p><Show when={state.form.controlLevel === 'autonomous'}>diff --git a/frontend-modern/src/components/Settings/__tests__/AISettings.test.tsx b/frontend-modern/src/components/Settings/__tests__/AISettings.test.tsxindex 00df9c8df2..52c6d8d6bc 100644--- a/frontend-modern/src/components/Settings/__tests__/AISettings.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/AISettings.test.tsx@@ -229,7 +229,13 @@ describe('AISettings model loading error states', () => {expect(screen.getByText('This controls actions started from Assistant chat only', { exact: false }),).toBeInTheDocument();- expect(screen.getByLabelText('Chat action mode')).toBeInTheDocument();+ const chatActionMode = screen.getByLabelText('Chat action mode');+ expect(chatActionMode).toBeInTheDocument();+ expect(chatActionMode).toHaveClass('w-full', 'min-w-0', 'sm:flex-1');+ expect(chatActionMode.parentElement).toHaveClass('flex-col', 'sm:flex-row');+ expect(+ screen.getByText('Assistant asks before chat-only actions.', { exact: false }),+ ).toHaveClass('sm:ml-[7.5rem]');expect(screen.getByRole('option', { name: /Ask first/i })).toBeInTheDocument();expect(screen.getByRole('button', { name: /Save Assistant settings/i })).toBeInTheDocument();expect(screen.getByRole('heading', { name: 'External agents' })).toBeInTheDocument();@@ -1270,9 +1276,7 @@ describe('AISettings provider save failure context', () => {await screen.findByText('Provider connected; Patrol capability not verified'),).toBeInTheDocument();expect(screen.getByText('Evaluation detail')).toBeInTheDocument();- expect(- screen.getByText(/expected exactly one tool call, got 0/),- ).toBeInTheDocument();+ expect(screen.getByText(/expected exactly one tool call, got 0/)).toBeInTheDocument();expect(screen.getByText(/done_reason=length/)).toBeInTheDocument();expect(screen.getByText(/nonce did not match/)).toBeInTheDocument();});diff --git a/frontend-modern/src/components/shared/SelectablePillButton.test.tsx b/frontend-modern/src/components/shared/SelectablePillButton.test.tsxindex fe9bcc3939..f614537892 100644--- a/frontend-modern/src/components/shared/SelectablePillButton.test.tsx+++ b/frontend-modern/src/components/shared/SelectablePillButton.test.tsx@@ -42,6 +42,9 @@ describe('SelectablePillButton', () => {expect(active).toHaveAttribute('aria-pressed', 'true');expect(active.className).toContain('border-blue-500');expect(active.className).toContain('bg-blue-600');+ expect(active.className).toContain('max-w-full');+ expect(active.className).toContain('whitespace-normal');+ expect(active.className).not.toContain('whitespace-nowrap');expect(inactive).toHaveAttribute('aria-pressed', 'false');expect(inactive.className).toContain('border-border');expect(inactive.className).toContain('bg-surface');diff --git a/frontend-modern/src/components/shared/selectablePillModel.ts b/frontend-modern/src/components/shared/selectablePillModel.tsindex 2ee055f1b5..87cf780d75 100644--- a/frontend-modern/src/components/shared/selectablePillModel.ts+++ b/frontend-modern/src/components/shared/selectablePillModel.ts@@ -1,7 +1,7 @@export type SelectablePillButtonSize = 'md';export const SELECTABLE_PILL_BUTTON_BASE_CLASS =- 'inline-flex items-center justify-center rounded-full border font-semibold transition whitespace-nowrap outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-60';+ 'inline-flex max-w-full items-center justify-center rounded-full border text-center font-semibold transition whitespace-normal outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-60';export const SELECTABLE_PILL_BUTTON_SIZE_CLASSES: Record<SelectablePillButtonSize, string> = {md: 'min-h-10 px-3 py-2 text-sm sm:min-h-10',