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): improve phone interaction layouts
rcourtman368c153887d6
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex cd988cbbd6..ce494e8e0d 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,37 +1,59 @@{"version": 1,- "base_sha": "716c7c7335dd2f15dca6039067bf2cac35983ada",- "verified_at": "2026-08-06T10:50:22Z",+ "base_sha": "e6e1767b602c8ac7ee7dab3e24ddead6c5ae7afe",+ "verified_at": "2026-08-06T10:57:07Z","result": "passed",- "changed_paths": ["frontend-modern/src/features/standalone/StandalonePageSurface.tsx"],+ "changed_paths": [+ "frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx",+ "frontend-modern/src/components/Settings/APITokenManager.tsx",+ "frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx"+ ],"content_sha256": {- "frontend-modern/src/features/standalone/StandalonePageSurface.tsx": "70f1f22cd61ed8822aa91cb3bb513fffd794316c6536e00d8bd0403fa9aecbdd"+ "frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx": "d8f56c6b5efff223133924966ebccc142b383342875ae2c788c22bab2a7b9bd9",+ "frontend-modern/src/components/Settings/APITokenManager.tsx": "2b3d556d02ca367d4e9b76061a3a00fce33fd55308b344b56344864042cff28e",+ "frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx": "70c15f235bfa19e087925ebceb82a6d5fd95fde70ef658c3aff69012cac86711"},"routes": [- "/standalone/machines",- "/standalone/availability",- "/docker/overview",- "/proxmox/overview"+ "/proxmox/overview",+ "/alerts/overview",+ "/alerts/schedule",+ "/actions",+ "/patrol",+ "/settings",+ "/settings/security/overview",+ "/settings/security/api"],"viewports": [{"width": 1280,- "height": 720+ "height": 900+ },+ {+ "width": 768,+ "height": 900+ },+ {+ "width": 390,+ "height": 844},{- "width": 375,- "height": 812+ "width": 320,+ "height": 844}],"states": [- "Machines section with the agent machine table below the platform section tabs",- "Availability checks section with its posture card, search field, status filter chips, and checks table",- "Docker and Proxmox overviews used as the platform-rhythm reference"+ "Patrol active attention queue with the first issue detail open, temporary-suppression form expanded, and older evidence available",+ "Alerts Overview with the first incident timeline expanded and the split alert-actions menu open",+ "Actions Open and History subtabs, including the governed action review dialog",+ "Settings Infrastructure navigation drawer, Security Overview, API token inventory and create form, and edit-scopes dialog",+ "Proxmox, Alerts, Actions, Patrol, and Settings top-level pages used for the final desktop canvas-width comparison"],"interactions": [- "Clicked the Machines tab and both of its section tabs, measuring the platform surface origin and the top of the block below the section-tab strip on each",- "Compared those measurements against the Docker and Proxmox overviews, which put their first content block at top 190",- "Confirmed Machines and Availability checks now report the same top 190 as the other platform pages, against top 194 before the change",- "Screenshotted the Availability checks section to confirm the posture card, filters, and table still read correctly at the tighter rhythm"+ "Measured every visible Patrol detail action at 390px and 320px; close, lifecycle, suppression, resource, Assistant, and evidence controls are at least 44px on phones with zero page or panel overflow",+ "Confirmed Patrol reverts to the compact 24px close and 30px action controls at 768px, remains contained at 1280px, and restores focus to the exact queue item after closing detail",+ "Expanded an alert timeline, opened the split alert-actions menu, verified the menu remained in-bounds, and measured its phone actions at 44px before confirming the original 26px desktop sizing at 768px",+ "Opened Settings navigation, Security Overview, API Access, the token-create section, and the edit-scopes dialog without saving; confirmed zero overflow and correct focus restoration after Cancel",+ "Verified the API token create header stacks with a full-width 44px Generate action at 320px and returns to the horizontal 40px desktop treatment at 768px",+ "Compared Proxmox, Alerts, Actions, Patrol, and Settings at 1280px; every main canvas rendered from x=29 to x=1240 at 1211px wide with zero document overflow"]}diff --git a/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx b/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsxindex a7225e9a38..69f74d42e7 100644--- a/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx+++ b/frontend-modern/src/components/Alerts/InvestigateAlertButton.tsx@@ -249,7 +249,7 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {onClick={handleClick}onMouseEnter={() => setIsHovered(true)}onMouseLeave={() => setIsHovered(false)}- class={`${baseButtonClass} px-2 py-1+ class={`${baseButtonClass} min-h-11 px-2 py-1 sm:min-h-0bg-surfacehover:bg-surface-hovertext-blue-600 dark:text-blue-400@@ -284,7 +284,7 @@ export function InvestigateAlertButton(props: InvestigateAlertButtonProps) {</span></button>{SecondaryActionMenu(- `px-1.5 py-1 rounded-l-none border border-border border-l-0 bg-surface hover:bg-surface-hover text-blue-600 dark:text-blue-400 ${+ `min-h-11 min-w-11 px-1.5 py-1 sm:min-h-0 sm:min-w-0 rounded-l-none border border-border border-l-0 bg-surface hover:bg-surface-hover text-blue-600 dark:text-blue-400 ${isLocked() ? 'opacity-60 cursor-not-allowed' : ''}`,'w-3 h-3',diff --git a/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsx b/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsxindex 50a6ea7a24..3bd72e4e7c 100644--- a/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsx+++ b/frontend-modern/src/components/Alerts/__tests__/InvestigateAlertButton.test.tsx@@ -723,6 +723,11 @@ describe('InvestigateAlertButton patrolOption', () => {expect(screen.getByRole('button', { name: /Have Patrol investigate/i })).toBeInTheDocument();const toggle = screen.getByRole('button', { name: 'More alert actions' });expect(toggle).toHaveAttribute('aria-expanded', 'false');+ expect(toggle).toHaveClass('min-h-11', 'min-w-11', 'sm:min-h-0', 'sm:min-w-0');+ expect(screen.getByRole('button', { name: /Have Patrol investigate/i })).toHaveClass(+ 'min-h-11',+ 'sm:min-h-0',+ );});it('omits the split when the alert has no resource', () => {diff --git a/frontend-modern/src/components/Settings/APITokenManager.tsx b/frontend-modern/src/components/Settings/APITokenManager.tsxindex a098ddcf59..205f3bd057 100644--- a/frontend-modern/src/components/Settings/APITokenManager.tsx+++ b/frontend-modern/src/components/Settings/APITokenManager.tsx@@ -585,7 +585,7 @@ export const APITokenManager: Component<APITokenManagerProps> = (props) => {ref={setCreateSectionRef}><div class="flex flex-col gap-6 p-4 sm:p-6 lg:p-8">- <div class="flex flex-wrap items-start justify-between gap-4">+ <div class="flex flex-col items-stretch gap-4 sm:flex-row sm:items-start sm:justify-between"><SectionHeadersize="sm"title="Create token"@@ -600,7 +600,7 @@ export const APITokenManager: Component<APITokenManagerProps> = (props) => {? undefined: 'Choose a scope preset or custom scope before generating a token.'}- class="inline-flex min-h-10 sm:min-h-10 items-center justify-center rounded-md bg-blue-600 px-4 py-2.5 text-sm font-semibold text-white shadow-sm transition hover:bg-blue-700 disabled:cursor-not-allowed disabled:opacity-60 dark:bg-blue-500 dark:hover:bg-blue-400"+ class="inline-flex min-h-11 w-full items-center justify-center rounded-md bg-blue-600 px-4 py-2.5 text-sm font-semibold text-white shadow-sm transition hover:bg-blue-700 disabled:cursor-not-allowed disabled:opacity-60 sm:min-h-10 sm:w-auto dark:bg-blue-500 dark:hover:bg-blue-400">{isGenerating() ? 'Generating…' : 'Generate'}</button>diff --git a/frontend-modern/src/components/Settings/__tests__/APITokenManager.test.tsx b/frontend-modern/src/components/Settings/__tests__/APITokenManager.test.tsxindex f27cdefaa1..e2ffbc3756 100644--- a/frontend-modern/src/components/Settings/__tests__/APITokenManager.test.tsx+++ b/frontend-modern/src/components/Settings/__tests__/APITokenManager.test.tsx@@ -164,6 +164,11 @@ describe('APITokenManager security surface', () => {expect(apiTokenManagerSource).not.toContain('<Dialog');expect(apiTokenManagerDialogsSource).toContain('ariaLabel="Edit API token scopes"');expect(apiTokenManagerDialogsSource).toContain('ariaLabel="Revoke API token"');+ expect(apiTokenManagerSource).toContain(+ 'flex flex-col items-stretch gap-4 sm:flex-row sm:items-start sm:justify-between',+ );+ expect(apiTokenManagerSource).toContain('min-h-11 w-full items-center justify-center');+ expect(apiTokenManagerSource).toContain('sm:min-h-10 sm:w-auto');});});diff --git a/frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx b/frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsxindex 8dc4e64f9f..0008954cc5 100644--- a/frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx+++ b/frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx@@ -554,7 +554,7 @@ function AttentionDetail(props: {</div><buttontype="button"- class="rounded p-1 text-muted hover:bg-surface-hover hover:text-base-content focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500"+ class="inline-flex h-11 w-11 shrink-0 items-center justify-center rounded text-muted hover:bg-surface-hover hover:text-base-content focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 sm:h-6 sm:w-6"aria-label="Close attention detail"onClick={props.onClose}>@@ -647,7 +647,7 @@ function AttentionDetail(props: {<Buttonvariant="primary"size="sm"- class="mt-3 gap-1.5"+ class="mt-3 min-h-11 gap-1.5 sm:min-h-0"data-patrol-action-triggerisLoading={props.actionBusy}onClick={(event) =>@@ -686,7 +686,7 @@ function AttentionDetail(props: {</ul><Show when={olderEvidence().length > 0}><details class="mt-2 rounded-md border border-border-subtle bg-surface-alt/30">- <summary class="cursor-pointer px-3 py-2 text-xs font-medium text-base-content focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500">+ <summary class="flex min-h-11 cursor-pointer items-center px-3 py-2 text-xs font-medium text-base-content focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500 sm:min-h-0">Show {olderEvidence().length} older{' '}{olderEvidence().length === 1 ? 'observation' : 'observations'}</summary>@@ -767,12 +767,22 @@ function AttentionDetail(props: {</DetailSection><div class="flex flex-wrap gap-2 border-t border-border pt-4">- <ButtonLink href={resourceHref()} variant="secondary" size="sm" class="gap-1.5">+ <ButtonLink+ href={resourceHref()}+ variant="secondary"+ size="sm"+ class="min-h-11 gap-1.5 sm:min-h-0"+ ><ExternalLinkIcon class="h-4 w-4" aria-hidden="true" />Open resource</ButtonLink><Show when={aiChatStore.enabled === true}>- <Button variant="secondary" size="sm" class="gap-1.5" onClick={openAssistant}>+ <Button+ variant="secondary"+ size="sm"+ class="min-h-11 gap-1.5 sm:min-h-0"+ onClick={openAssistant}+ ><SparklesIcon class="h-4 w-4" aria-hidden="true" />Explain with Assistant</Button>@@ -853,6 +863,7 @@ function AttentionLifecycleControls(props: {<Buttonvariant="primary"size="sm"+ class="min-h-11 sm:min-h-0"isLoading={props.busy}onClick={() => void props.onAcknowledge(props.detail.item.id)}>@@ -863,6 +874,7 @@ function AttentionLifecycleControls(props: {<Buttonvariant="secondary"size="sm"+ class="min-h-11 sm:min-h-0"isLoading={props.busy}onClick={() => void props.onUnacknowledge(props.detail.item.id)}>@@ -873,6 +885,7 @@ function AttentionLifecycleControls(props: {<Buttonvariant="secondary"size="sm"+ class="min-h-11 sm:min-h-0"isLoading={props.busy}onClick={() => void props.onUnsuppress(props.detail.item.id)}>@@ -883,7 +896,7 @@ function AttentionLifecycleControls(props: {<Buttonvariant="secondary"size="sm"- class="gap-1.5"+ class="min-h-11 gap-1.5 sm:min-h-0"disabled={props.busy}onClick={() => setShowSuppression(true)}>@@ -923,7 +936,7 @@ function AttentionLifecycleControls(props: {</label><selectid={`attention-suppression-duration-${props.detail.item.id}`}- class="mt-1 block min-h-9 rounded-md border border-border bg-surface px-3 py-1.5 text-sm text-base-content focus:outline-none focus:ring-2 focus:ring-blue-500"+ class="mt-1 block min-h-11 rounded-md border border-border bg-surface px-3 py-1.5 text-sm text-base-content focus:outline-none focus:ring-2 focus:ring-blue-500 sm:min-h-9"value={String(durationMs())}disabled={props.busy}onChange={(event) => setDurationMs(Number(event.currentTarget.value))}@@ -937,6 +950,7 @@ function AttentionLifecycleControls(props: {<Buttonvariant="warning"size="sm"+ class="min-h-11 sm:min-h-0"isLoading={props.busy}disabled={!reason().trim()}type="submit"@@ -946,6 +960,7 @@ function AttentionLifecycleControls(props: {<Buttonvariant="ghost"size="sm"+ class="min-h-11 sm:min-h-0"disabled={props.busy}onClick={() => setShowSuppression(false)}>diff --git a/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx b/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsxindex b9b7c68dc8..e049bfad7c 100644--- a/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx+++ b/frontend-modern/src/features/patrol/__tests__/PatrolAttentionWorkbench.test.tsx@@ -268,6 +268,17 @@ describe('PatrolAttentionWorkbench', () => {).toBeInTheDocument();expect(within(detailRegion).getByText('Proxmox VE')).toBeInTheDocument();expect(within(detailRegion).getByText('Observing to Open')).toBeInTheDocument();+ expect(+ within(detailRegion).getByRole('button', { name: 'Close attention detail' }),+ ).toHaveClass('h-11', 'w-11', 'sm:h-6', 'sm:w-6');+ expect(within(detailRegion).getByRole('button', { name: 'Acknowledge' })).toHaveClass(+ 'min-h-11',+ 'sm:min-h-0',+ );+ expect(within(detailRegion).getByRole('link', { name: 'Open resource' })).toHaveClass(+ 'min-h-11',+ 'sm:min-h-0',+ );expect(window.location.search).toBe('?attention=record-1');});@@ -379,6 +390,13 @@ describe('PatrolAttentionWorkbench', () => {const submit = screen.getByRole('button', { name: 'Suppress temporarily' });expect(submit).toBeDisabled();+ expect(submit).toHaveClass('min-h-11', 'sm:min-h-0');+ expect(screen.getByRole('button', { name: 'Cancel' })).toHaveClass('min-h-11', 'sm:min-h-0');+ expect(+ screen.getByRole('combobox', {+ name: 'Return it to active attention after',+ }),+ ).toHaveClass('min-h-11', 'sm:min-h-9');fireEvent.input(screen.getByRole('textbox', {name: 'Why is this safe to hide from active attention?',