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
feat(frontend): increase mobile information density
rcourtman6ca27721ef6c
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.jsonindex 49e0ae2c82..8e075de14f 100644--- a/frontend-modern/browser-verification.json+++ b/frontend-modern/browser-verification.json@@ -1,43 +1,68 @@{"version": 1,- "base_sha": "2eeb643afe3f9b4e4762d536081467014fffbda1",- "verified_at": "2026-08-18T14:02:44Z",+ "base_sha": "e7cc3f4b675ec6b2fa891ef24fce4c86961964a0",+ "verified_at": "2026-08-18T14:27:09Z","result": "passed","changed_paths": [- "frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx"+ "frontend-modern/src/App.tsx",+ "frontend-modern/src/AppLayout.tsx",+ "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx",+ "frontend-modern/src/components/shared/MobileNavBar.tsx",+ "frontend-modern/src/components/shared/PageHeader.tsx",+ "frontend-modern/src/components/shared/Subtabs.tsx",+ "frontend-modern/src/components/shared/mobileNavBarModel.ts",+ "frontend-modern/src/index.css"],"content_sha256": {- "frontend-modern/src/features/patrol/PatrolAttentionWorkbench.tsx": "b15a41c788a4b197cadc8e5087f307ba0acec1457dd78e98ca739bef161bc1e0"+ "frontend-modern/src/App.tsx": "b418b30988f1e68a224537dc5ed8fe10f3101768e43ab33187391bd98c893c95",+ "frontend-modern/src/AppLayout.tsx": "e19e6f92589f9c0f4ff27bba7822b855455d31bf3d8e9b503c90fba7c5e14e41",+ "frontend-modern/src/components/shared/FilterBar/FilterBar.tsx": "18fb27ef3561fbc2303e8cbdf531f39b936f7e42aa164a607e83bd0382463cf7",+ "frontend-modern/src/components/shared/MobileNavBar.tsx": "9d6e12106df9ab0d5e6bce1f8e552b11473e07f9ca857569ee423959cc5e4c91",+ "frontend-modern/src/components/shared/PageHeader.tsx": "428d4c02380ba13a38d1ee7404c56b538562df904aecb66f11786ef0dbb8d259",+ "frontend-modern/src/components/shared/Subtabs.tsx": "0d28e6c1a134ad0d63658c66e4114a96b6820a331c0a8df432d60acdc17569e2",+ "frontend-modern/src/components/shared/mobileNavBarModel.ts": "039dfee662f5834cb183511a646758fd627a95ef2ffdcc5b808ef7c20190ab30",+ "frontend-modern/src/index.css": "05dc7a4a5741172dd3bc2397c4268f01813b531a1dad43998b5d604d3d170108"},- "routes": ["/patrol"],+ "routes": [+ "/proxmox/overview",+ "/proxmox/storage",+ "/alerts/overview",+ "/patrol",+ "/actions",+ "/settings/infrastructure",+ "/docker/overview"+ ],"viewports": [{- "width": 1280,- "height": 720+ "width": 1440,+ "height": 900},{"width": 390,"height": 844+ },+ {+ "width": 320,+ "height": 740}],"states": [- "Decision inbox before and after reviewing an issue",- "Expanded lifecycle explanation with corrected Mark reviewed behavior",- "Review success notice with the handled-items shortcut",- "Reviewed and suppressed list with distinct Reviewed and Suppressed badges",- "Selected reviewed item in the desktop split workspace",- "Selected reviewed item in the mobile detail workspace",- "Handled-items empty state after restoration",- "Restored decision visible in the active inbox"+ "Desktop Alerts overview with the full navigation shell and loaded alert content",+ "Phone Proxmox overview with compact node, group, and workload rows",+ "Phone Proxmox filter controls in closed and expanded states",+ "Phone Proxmox node details in collapsed and expanded states",+ "Phone Actions, Patrol, Settings infrastructure, and Docker overview pages",+ "Phone settings loading and loaded states",+ "Phone mobile-navigation overflow menu in closed and expanded states",+ "Phone-width page headers with actions at 390 and wrapped title stress coverage at 320 pixels"],"interactions": [- "Opened a current decision and expanded More ways to manage this issue",- "Marked the decision reviewed and confirmed automatic advancement plus remaining-work feedback",- "Opened Reviewed and suppressed from the success notice and selected the reviewed record",- "Returned the reviewed record to the decision inbox and confirmed it reappeared",- "Suppressed a decision with an explicit reason and bounded return time",- "Opened the suppressed record from Reviewed and suppressed and returned it to active attention",- "Repeated the handled-record selection at 390 by 844 and confirmed document width remained 390 pixels",- "Verified handled-item keyboard labels and confirmed the final browser diagnostics had no warnings or errors"+ "Opened and closed the Proxmox filter controls at 390 by 844",+ "Expanded and collapsed a Proxmox node detail row at 390 by 844",+ "Navigated from Proxmox Overview to Storage through the compact subtab rail",+ "Opened the mobile More menu, dismissed it with Escape, and confirmed focus returned to More navigation",+ "Opened the mobile More menu and navigated to Docker overview",+ "Confirmed document width matched viewport width on operational routes at 390 and 320 pixels",+ "Confirmed the desktop mobile rail remained hidden and the Alerts overview loaded without horizontal overflow at 1440 by 900"]}diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsxindex bef6cf6321..f43b6faaa4 100644--- a/frontend-modern/src/App.tsx+++ b/frontend-modern/src/App.tsx@@ -559,7 +559,7 @@ function App() {{/* Main content area - shrinks when AI panel is open, scrolls independently */}<divref={setAppScrollShellRef}- class={`app-scroll-shell isolate flex-1 min-w-0 overflow-y-scroll bg-base text-base-content font-sans py-4 sm:py-6 transition-all duration-300`}+ class={`app-scroll-shell isolate flex-1 min-w-0 overflow-y-scroll bg-base text-base-content font-sans py-2 sm:py-6 transition-all duration-300`}><AppLayoutconnectionStatus={runtime.connectionStatus}diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsxindex 5d7a6bda0e..ee89433cf6 100644--- a/frontend-modern/src/AppLayout.tsx+++ b/frontend-modern/src/AppLayout.tsx@@ -728,7 +728,7 @@ export function AppLayout(props: AppLayoutProps) {return (<div- class={`pulse-shell ${layoutStore.isFullWidth() || kioskMode() ? 'pulse-shell--full-width' : ''} ${!kioskMode() ? 'pb-safe-or-20 xl:pb-0' : ''}`}+ class={`pulse-shell ${layoutStore.isFullWidth() || kioskMode() ? 'pulse-shell--full-width' : ''} ${!kioskMode() ? 'pb-safe-or-16 xl:pb-0' : ''}`}>{/* Skip-to-content link: visually hidden until focused, thenappears as a button at the top-left. Lets keyboard users@@ -760,7 +760,7 @@ export function AppLayout(props: AppLayoutProps) {/></Show><div- class={`header mb-3 flex items-center gap-2 ${+ class={`header mb-2 flex items-center gap-2 sm:mb-3 ${kioskMode()? 'fixed top-0 left-0 right-0 z-50 justify-end bg-surface shadow-sm': 'justify-between sm:grid sm:grid-cols-[1fr_auto_1fr] sm:items-center sm:gap-0'@@ -994,7 +994,7 @@ export function AppLayout(props: AppLayoutProps) {<mainid="main"- class="tab-content block bg-surface rounded-b rounded-tr rounded-tl shadow mb-2"+ class="tab-content mb-1 block rounded-b rounded-tl rounded-tr bg-surface shadow sm:mb-2"><div class="pulse-panel"><Suspense fallback={<div class="p-6 text-sm text-muted">Loading view...</div>}>@@ -1014,21 +1014,21 @@ export function AppLayout(props: AppLayoutProps) {</Show><Show when={!kioskMode()}>- <footer class="px-4 py-4 text-xs leading-relaxed text-muted">+ <footer class="pulse-footer px-2 py-2 text-xs leading-relaxed text-muted sm:px-4 sm:py-4"><div class="text-center"><span>Pulse | Version: </span><ahref="https://github.com/rcourtman/Pulse/releases"target="_blank"rel="noopener noreferrer"- class="inline-flex min-h-10 sm:min-h-9 items-center break-all rounded px-1 py-1 text-blue-600 dark:text-blue-400 hover:underline"+ class="inline-flex min-h-8 items-center break-all rounded px-1 py-1 text-blue-600 hover:underline dark:text-blue-400 sm:min-h-9">{props.versionInfo()?.version || 'loading...'}</a>{props.versionInfo()?.isDevelopment && ' (Development)'}{props.versionInfo()?.isDocker && ' - Docker'}</div>- <div class="mt-1 flex flex-wrap items-center justify-center gap-x-2 gap-y-1 text-center">+ <div class="mt-0.5 flex flex-wrap items-center justify-center gap-x-2 gap-y-1 text-center sm:mt-1"><Show when={props.lastUpdateText()}><><span>Last refresh: {props.lastUpdateText()}</span>@@ -1040,7 +1040,7 @@ export function AppLayout(props: AppLayoutProps) {<Show when={isPro()}><ahref={`mailto:[email protected]?subject=${encodeURIComponent(`Support Request - Pulse ${props.versionInfo()?.version || ''}`)}`}- class="inline-flex min-h-10 sm:min-h-9 items-center rounded px-1 py-1 text-blue-600 dark:text-blue-400 hover:underline"+ class="inline-flex min-h-8 items-center rounded px-1 py-1 text-blue-600 hover:underline dark:text-blue-400 sm:min-h-9">Get Support</a>diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.tsindex 76e03825a4..0fc0d95438 100644--- a/frontend-modern/src/__tests__/App.architecture.test.ts+++ b/frontend-modern/src/__tests__/App.architecture.test.ts@@ -530,7 +530,11 @@ describe('App architecture', () => {expect(appLayoutSource).toContain('pulse-brand-lockup');expect(appLayoutSource).toContain('animate-pulse-brand');expect(appLayoutSource).toContain('pulse-brand-wordmark');- expect(appLayoutSource).toContain("'pb-safe-or-20 xl:pb-0'");+ expect(appLayoutSource).toContain("'pb-safe-or-16 xl:pb-0'");+ expect(appStylesSource).toContain('.pb-safe-or-16');+ expect(appStylesSource).toContain('.pulse-shell--full-width');+ expect(appStylesSource).toContain('.pulse-wide-data-surface.space-y-3');+ expect(appStylesSource).toContain('.pulse-footer > div');expect(appLayoutSource).toContain('tabs mb-2 hidden xl:flex');expect(appLayoutSource).toContain('xl:px-2 2xl:px-3');expect(appLayoutSource).toContain('gap-1 2xl:gap-1.5');diff --git a/frontend-modern/src/__tests__/AppLayout.test.tsx b/frontend-modern/src/__tests__/AppLayout.test.tsxindex d7295fde45..9857f813b2 100644--- a/frontend-modern/src/__tests__/AppLayout.test.tsx+++ b/frontend-modern/src/__tests__/AppLayout.test.tsx@@ -168,6 +168,12 @@ describe('AppLayout navigation icons', () => {it('renders fresh utility icons for both desktop and mobile navigation trees', () => {const { container } = renderLayout();+ expect(container.querySelector('.pulse-shell')).toHaveClass('pb-safe-or-16');+ expect(container.querySelector('.pulse-shell')).not.toHaveClass('pb-safe-or-20');+ expect(container.querySelector('.header')).toHaveClass('mb-2', 'sm:mb-3');+ expect(container.querySelector('main')).toHaveClass('mb-1', 'sm:mb-2');+ expect(container.querySelector('footer')).toHaveClass('pulse-footer', 'px-2', 'sm:px-4');+const desktopNav = screen.getByRole('tablist', { name: 'Primary navigation' });const systemGroup = desktopNav.querySelector('[aria-label="System"]');expect(systemGroup).toBeTruthy();diff --git a/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx b/frontend-modern/src/components/shared/FilterBar/FilterBar.tsxindex 1071e6d2c6..320ef17af6 100644--- a/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx+++ b/frontend-modern/src/components/shared/FilterBar/FilterBar.tsx@@ -118,7 +118,7 @@ export const FilterBar: Component<FilterBarProps> = (props) => {return (<Cardpadding="sm"- class="filter-bar mb-4"+ class="filter-bar mb-2 sm:mb-4"role={props.role as JSX.AriaAttributes['role']}aria-label={props.ariaLabel}>diff --git a/frontend-modern/src/components/shared/MobileNavBar.tsx b/frontend-modern/src/components/shared/MobileNavBar.tsxindex 94b94c9c5e..ccab1acb1e 100644--- a/frontend-modern/src/components/shared/MobileNavBar.tsx+++ b/frontend-modern/src/components/shared/MobileNavBar.tsx@@ -169,7 +169,7 @@ export function MobileNavBar(props: MobileNavBarProps) {</div></Show>- <div data-mobile-nav-rail="fixed" class="flex min-w-0 items-stretch gap-0.5 px-1 py-1.5">+ <div data-mobile-nav-rail="fixed" class="flex min-w-0 items-stretch gap-0.5 px-1 py-1"><For each={mobileNav.fixedDestinations()}>{(destination) => {const active = () => isMobileNavDestinationActive(destination, props.activeTab());diff --git a/frontend-modern/src/components/shared/PageHeader.test.tsx b/frontend-modern/src/components/shared/PageHeader.test.tsxnew file mode 100644index 0000000000..d67998a042--- /dev/null+++ b/frontend-modern/src/components/shared/PageHeader.test.tsx@@ -0,0 +1,25 @@+import { render, screen } from '@solidjs/testing-library';+import { describe, expect, it } from 'vitest';++import { PageHeader } from '@/components/shared/PageHeader';++describe('PageHeader', () => {+ it('keeps a compact phone heading and action on one responsive row', () => {+ const { container } = render(() => (+ <PageHeader+ title="Alerts Overview"+ description="Current alert delivery and incident state."+ actions={<button type="button">Pause</button>}+ />+ ));++ const header = container.querySelector('[data-page-header]');+ expect(header).toHaveClass('flex-row', 'items-start', 'justify-between', 'gap-2', 'sm:gap-4');++ const heading = screen.getByRole('heading', { name: 'Alerts Overview' });+ expect(heading).toHaveClass('text-xl', 'sm:text-2xl');++ const action = screen.getByRole('button', { name: 'Pause' }).parentElement;+ expect(action).toHaveClass('w-auto', 'shrink-0');+ });+});diff --git a/frontend-modern/src/components/shared/PageHeader.tsx b/frontend-modern/src/components/shared/PageHeader.tsxindex 36d66941c9..f0bf6fb9af 100644--- a/frontend-modern/src/components/shared/PageHeader.tsx+++ b/frontend-modern/src/components/shared/PageHeader.tsx@@ -55,14 +55,14 @@ export function PageHeader(props: PageHeaderProps) {<Show when={!kioskMode()}><divdata-page-header=""- class={`flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between ${local.class ?? ''}`.trim()}+ class={`flex flex-row items-start justify-between gap-2 sm:gap-4 ${local.class ?? ''}`.trim()}{...rest}><div class="min-w-0"><div class="flex items-center gap-3"><h1id={local.id}- class={`text-2xl font-bold tracking-tight text-base-content ${local.titleClass ?? ''}`.trim()}+ class={`text-xl font-bold tracking-tight text-base-content sm:text-2xl ${local.titleClass ?? ''}`.trim()}>{local.title}</h1>@@ -73,7 +73,7 @@ export function PageHeader(props: PageHeaderProps) {</Show></div><Show when={local.actions}>- <div class="w-full sm:w-auto">{local.actions}</div>+ <div class="w-auto shrink-0">{local.actions}</div></Show></div></Show>diff --git a/frontend-modern/src/components/shared/Subtabs.tsx b/frontend-modern/src/components/shared/Subtabs.tsxindex f7fa1e0d3e..99827aea0a 100644--- a/frontend-modern/src/components/shared/Subtabs.tsx+++ b/frontend-modern/src/components/shared/Subtabs.tsx@@ -23,7 +23,8 @@ interface SubtabsProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, 'onChang}export const subtabsShellClass = 'border-b border-border';-export const subtabsListClass = 'flex min-w-0 items-center gap-6 overflow-x-auto scrollbar-hide';+export const subtabsListClass =+ 'flex min-w-0 items-center gap-4 overflow-x-auto scrollbar-hide sm:gap-6';export const subtabsTrailingRowClass = 'flex flex-wrap items-center justify-between gap-3';export const subtabButtonClass ='inline-flex min-h-11 shrink-0 select-none items-center whitespace-nowrap border-b-2 px-1 py-2 text-sm font-medium transition-colors sm:min-h-10';diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsxindex ddec9ef83c..abf109b78e 100644--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx@@ -106,6 +106,8 @@ describe('MobileNavBar', () => {const fixedRail = container.querySelector('[data-mobile-nav-rail="fixed"]');expect(fixedRail).toBeTruthy();+ expect(fixedRail).toHaveClass('py-1');+ expect(fixedRail).not.toHaveClass('py-1.5');expect(Array.from(fixedRail?.querySelectorAll('button[data-tab-id]') ?? []).map((button) =>button.getAttribute('data-tab-id'),@@ -131,6 +133,9 @@ describe('MobileNavBar', () => {'aria-current','page',);++ const fixedProxmox = fixedRail?.querySelector('[data-tab-id="proxmox"]');+ expect(fixedProxmox).toHaveClass('min-h-11', 'gap-0.5', 'py-0.5', 'text-[10px]');});it('preserves route callbacks for fixed and overflow destinations', async () => {diff --git a/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsx b/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsxindex 1fb87eb24d..b42d81060f 100644--- a/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsx+++ b/frontend-modern/src/components/shared/__tests__/Subtabs.test.tsx@@ -22,6 +22,7 @@ describe('Subtabs', () => {const tablist = screen.getByRole('tablist', { name: 'Resource detail sections' });expect(tablist).toHaveClass('overflow-x-auto');expect(tablist).toHaveClass('scrollbar-hide');+ expect(tablist).toHaveClass('gap-4', 'sm:gap-6');expect(tablist).not.toHaveClass('flex-wrap');const historyTab = within(tablist).getByRole('tab', { name: 'History' });diff --git a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.tsindex 106319304e..945ca57b8a 100644--- a/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts+++ b/frontend-modern/src/components/shared/__tests__/mobileNavBarModel.branchcov0712.test.ts@@ -265,7 +265,7 @@ describe('mobileNavBarModel.branchcov2', () => {describe('getMobileNavTabButtonClass', () => {const BASE =- 'relative flex min-h-12 min-w-0 flex-1 select-none flex-col items-center justify-center gap-1 rounded-md px-1 py-1.5 text-[11px] font-medium transition-colors';+ 'relative flex min-h-11 min-w-0 flex-1 select-none flex-col items-center justify-center gap-0.5 rounded-md px-1 py-0.5 text-[10px] font-medium transition-colors';const ACTIVE = 'bg-blue-50 text-blue-700 dark:bg-blue-900 dark:text-blue-300';const MUTED = 'text-muted';diff --git a/frontend-modern/src/components/shared/mobileNavBarModel.ts b/frontend-modern/src/components/shared/mobileNavBarModel.tsindex b4d3c91482..17e78f1803 100644--- a/frontend-modern/src/components/shared/mobileNavBarModel.ts+++ b/frontend-modern/src/components/shared/mobileNavBarModel.ts@@ -177,7 +177,7 @@ export function getMobileNavTabButtonClass(options: {active: boolean;enabled?: boolean;}): string {- return `relative flex min-h-12 min-w-0 flex-1 select-none flex-col items-center justify-center gap-1 rounded-md px-1 py-1.5 text-[11px] font-medium transition-colors ${+ return `relative flex min-h-11 min-w-0 flex-1 select-none flex-col items-center justify-center gap-0.5 rounded-md px-1 py-0.5 text-[10px] font-medium transition-colors ${options.active ? 'bg-blue-50 text-blue-700 dark:bg-blue-900 dark:text-blue-300' : 'text-muted'} ${options.enabled === false ? 'opacity-70' : ''}`.trim();}diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.cssindex 6cf4370367..e92928e8bd 100644--- a/frontend-modern/src/index.css+++ b/frontend-modern/src/index.css@@ -453,7 +453,12 @@@media (max-width: 640px) {.pulse-shell {- padding-inline: 0.5rem;+ max-width: 100%;+ padding-inline: 0.375rem;+ }++ .pulse-shell--full-width {+ --pulse-shell-padding-inline: 0.375rem;}}@@ -469,7 +474,43 @@@media (max-width: 640px) {.pulse-panel {- padding: 0.5rem;+ padding: 0.375rem;+ }++ /* Phone layouts keep the same hierarchy while spending less of the first+ viewport on repeated whitespace. Primary navigation and row expand+ controls retain 44px touch targets; the surrounding shell is tightened. */+ .pulse-panel [data-page-header] + * {+ margin-top: 0.75rem !important;+ }++ .pulse-wide-data-surface.space-y-3 > :not([hidden]) ~ :not([hidden]),+ .pulse-wide-data-surface.space-y-4 > :not([hidden]) ~ :not([hidden]) {+ margin-top: 0.5rem;+ }++ .pulse-wide-data-surface .table-scroll-shell > .table-fixed tbody td,+ .pulse-wide-data-surface .table-scroll-shell > .table-fixed tbody .workload-row > td {+ padding-top: 0;+ padding-bottom: 0;+ }++ .pulse-wide-data-surface .grouped-table-row > td > div {+ column-gap: 0.375rem;+ row-gap: 0.25rem;+ }++ .pulse-footer {+ display: flex;+ min-height: 2rem;+ flex-wrap: wrap;+ align-items: center;+ justify-content: center;+ column-gap: 0.5rem;+ }++ .pulse-footer > div {+ display: contents;}}@@ -1100,8 +1141,8 @@ body,padding-bottom: env(safe-area-inset-bottom, 0px);}-.pb-safe-or-20 {- padding-bottom: max(5rem, env(safe-area-inset-bottom, 5rem));+.pb-safe-or-16 {+ padding-bottom: max(4rem, env(safe-area-inset-bottom, 4rem));}/* Login page animations */