Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

fix(ui): complete responsive touch targets

rcourtman324a6458d5b4
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index cef9ed5c4c..74a9731a00 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,113 +1,83 @@
{
"version": 1,
- "base_sha": "a94980797bba025285cb7fcb793a7866c4c62e0b",
- "verified_at": "2026-08-06T16:01:54Z",
+ "base_sha": "dbd353427bafc1a58fc0a999132dcce5976082bd",
+ "verified_at": "2026-08-06T16:26:44Z",
"result": "passed",
"changed_paths": [
- "frontend-modern/src/components/AI/FindingsPanel.tsx",
- "frontend-modern/src/components/Settings/SettingsPageShell.tsx",
- "frontend-modern/src/components/shared/FilterToolbar.tsx",
- "frontend-modern/src/components/shared/SearchField.tsx",
- "frontend-modern/src/components/shared/SearchTipsPopover.tsx",
- "frontend-modern/src/components/shared/Subtabs.tsx",
- "frontend-modern/src/components/shared/SummaryRowActionButton.tsx",
- "frontend-modern/src/components/shared/buttonModel.ts",
- "frontend-modern/src/components/shared/searchInputEnhancementsModel.ts",
- "frontend-modern/src/components/shared/searchTipsPopoverModel.ts",
- "frontend-modern/src/components/shared/toggleModel.ts",
- "frontend-modern/src/components/shared/useSearchTipsPopoverState.ts",
- "frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx"
+ "frontend-modern/src/components/Settings/DiagnosticsPanel.tsx",
+ "frontend-modern/src/components/Settings/SystemLogsPanel.tsx",
+ "frontend-modern/src/components/shared/filterButtonGroupModel.ts"
],
"content_sha256": {
- "frontend-modern/src/components/AI/FindingsPanel.tsx": "fa76f7946c15b42e529338419dae5bc33395ae91440c404d3f50afb243050ed8",
- "frontend-modern/src/components/Settings/SettingsPageShell.tsx": "cee289c0db5a36bbac8d323cf0435cd0b3ff75384c6e04818ebc71a357a29147",
- "frontend-modern/src/components/shared/FilterToolbar.tsx": "7b18839d12aba7cef74d934d98658a56bcc26ad46d728f86207d2d0dc25c7dd0",
- "frontend-modern/src/components/shared/SearchField.tsx": "9dab6fb6e8f35a8633a7777796df272263d375ee08ab6cf039c380c868fcdfd3",
- "frontend-modern/src/components/shared/SearchTipsPopover.tsx": "22a8dfa12f5ac98c0dd4886d72f9d384805169d2b712cde9f2c8448b6387f1ad",
- "frontend-modern/src/components/shared/Subtabs.tsx": "cebd908970f3512001f96ea065d24624496f2ed93182b52b8a4b615a35d3735d",
- "frontend-modern/src/components/shared/SummaryRowActionButton.tsx": "e35943a58467e4fadc9c6d06fd6a484c0179b653c2d03851ee5bc51d988132a3",
- "frontend-modern/src/components/shared/buttonModel.ts": "d6847c1d6e41165165c1a8617b7a5ea63d61fdc0ecc30c876d745949d551c7bd",
- "frontend-modern/src/components/shared/searchInputEnhancementsModel.ts": "f1fc385fa542e59c14142d2eec6e5e5309b7f747341480de9c35d7c96240ce18",
- "frontend-modern/src/components/shared/searchTipsPopoverModel.ts": "bd8e76fcdbf74c4111603729901b57f4e4ffff5d8b0660b17a4acb77338b4262",
- "frontend-modern/src/components/shared/toggleModel.ts": "2f587b9f3bc2d2bf7c57ce4ed5406075bc4a856fd64262e674fa7507c86c3f85",
- "frontend-modern/src/components/shared/useSearchTipsPopoverState.ts": "155d7479e39171f9f6c4dc324de2349a24b81b5a5c24989150dc6fc1b1b9b51d",
- "frontend-modern/src/features/patrol/PatrolIntelligenceHeader.tsx": "de74125176e6d7421cec5717c963cd8e992f0ef0f11bf9304bb7b75c6f844658"
+ "frontend-modern/src/components/Settings/DiagnosticsPanel.tsx": "c57ed6aaa87b36cec0568dd3bedd16fad4f75862f81e18cc1a24d87e4b9734c8",
+ "frontend-modern/src/components/Settings/SystemLogsPanel.tsx": "783b93652b2e17450ca4cf3205bd1706b1aad59c0757d1332042682f76439384",
+ "frontend-modern/src/components/shared/filterButtonGroupModel.ts": "33408c8af3eece8604647d6cb7133ef675b50adbc983c0451200f35e99bf7075"
},
"routes": [
"/proxmox/overview",
"/proxmox/storage?tab=disks&source=proxmox-all",
- "/proxmox/replication",
- "/proxmox/backups?view=coverage",
- "/proxmox/backups?view=date",
- "/proxmox/ceph",
- "/proxmox/mail",
"/docker/overview",
"/docker/images",
- "/docker/storage",
- "/docker/networks",
- "/docker/swarm",
- "/kubernetes/overview",
"/kubernetes/nodes",
"/kubernetes/workloads",
- "/kubernetes/services",
- "/kubernetes/storage",
- "/kubernetes/configuration",
- "/kubernetes/events",
"/truenas/overview",
"/truenas/storage",
- "/truenas/services",
- "/truenas/apps",
- "/truenas/vms",
- "/truenas/shares",
- "/truenas/protection",
"/vmware/overview",
"/vmware/storage",
- "/vmware/networks",
- "/vmware/health",
- "/vmware/activity",
"/standalone/machines",
"/standalone/availability",
+ "/alerts/overview",
+ "/alerts/history",
"/alerts/thresholds",
+ "/alerts/notifications",
+ "/alerts/schedule",
"/actions",
"/patrol",
- "/settings/monitoring/availability",
- "/settings/pulse-intelligence/provider",
- "/docs",
- "/preview/setup-complete",
- "/this-route-does-not-exist"
+ "/settings/infrastructure",
+ "/settings/security/api",
+ "/settings/security-overview",
+ "/settings/security-data-handling",
+ "/settings/security-auth",
+ "/settings/security-sso",
+ "/settings/security-roles",
+ "/settings/security-users",
+ "/settings/security-audit",
+ "/settings/security-webhooks",
+ "/settings/support/diagnostics",
+ "/settings/support/reporting",
+ "/settings/support/logs"
],
"viewports": [
{
- "width": 320,
+ "width": 390,
"height": 900
},
{
- "width": 1280,
+ "width": 768,
"height": 900
},
{
- "width": 1920,
- "height": 1080
+ "width": 1440,
+ "height": 900
}
],
"states": [
- "Mock-data tables across every Proxmox, Docker, Kubernetes, TrueNAS, vSphere, Machines, and Availability route",
- "Phone inventory controls with table expanders, search history, search tips, filters, saved views, sort controls, and row action menus",
- "Actions Open and History states plus a governed action review dialog with populated approval evidence",
- "Patrol runtime controls, attention filters, findings sort controls, issue review buttons, and compact toggle hit area",
- "Settings Availability and Provider controls plus the compact Settings return action",
- "Search tips popover at phone and desktop widths, including viewport-edge and page-scroll positioning",
- "Machines table with default columns, every optional column enabled, responsive column priority, and restored user choices",
- "Documentation, setup-complete preview, and not-found utility routes"
+ "Mock-data platform tables at the 768px column-priority transition across Proxmox, Docker, Kubernetes, TrueNAS, vSphere, Machines, and Availability",
+ "Security, support, Alerts, Actions, and Patrol pages at 390px, including touch-target and document-overflow scans",
+ "Diagnostics and System Logs phone controls before and after the touch-target correction",
+ "Compact platform filters expanded at phone width and restored to dense tablet sizing",
+ "Docker search-tips popover at phone and tablet widths",
+ "Expanded Machines resource details at tablet width",
+ "Shared wide-shell alignment across Proxmox, Alerts, Actions, Patrol, and Settings"
],
"interactions": [
- "Scanned every listed local route at 320px for horizontal document overflow and visible primary controls below a 44px phone target",
- "Opened and closed Docker and Machines search-tips popovers, measured their viewport bounds, and confirmed phone and desktop positioning remains fully visible",
- "Opened Docker filters and confirmed the add-filter selector is 44px tall and remains inside the phone viewport",
- "Expanded and collapsed Docker host details and confirmed the disclosure control is 44px without introducing document overflow",
- "Switched Actions between Open and History, opened a populated action review dialog, measured its 288px phone bounds and 44px controls, and confirmed close restores focus to the originating action",
- "Measured Patrol phone actions, filters, selects, findings review controls, and the compact switch's extended hit area, then confirmed compact desktop density remains unchanged",
- "Enabled all optional Machines columns, confirmed priority columns only at 320px, useful operational columns at 1280px, all 16 columns at 1920px, and no horizontal document scrolling at any width",
- "Restored the original Machines column choices after the stress test, reset the viewport override, and finalized the browser session"
+ "Scanned 18 Settings, Alerts, Actions, and Patrol routes at 390px for horizontal document overflow, off-screen content, and visible primary controls below a 44px phone target",
+ "Found and corrected 40–42px Diagnostics and System Logs controls, then re-measured the live pages with no remaining undersized controls",
+ "Expanded Docker filters and confirmed the short All chip grows from 35px to 44px on phones while returning to the compact 35px width at 768px",
+ "Confirmed Patrol's only compact visual exception retains its extended 44px hit area and that its filter targets are fully touch-sized",
+ "Measured prioritized visible columns and table shells on 12 platform routes at 768px; every table fit its container without horizontal scrolling",
+ "Opened Machines resource details at 768px and confirmed the inline drawer remains contained without page-level overflow",
+ "Opened Docker search tips and measured fully visible 288px popover bounds at both 390px and 768px",
+ "Measured identical 1362px main shells for Proxmox, Alerts, Actions, Patrol, and Settings at 1440px"
]
}
diff --git a/frontend-modern/src/components/Settings/DiagnosticsPanel.tsx b/frontend-modern/src/components/Settings/DiagnosticsPanel.tsx
index f4f81534f7..e1a00a1f79 100644
--- a/frontend-modern/src/components/Settings/DiagnosticsPanel.tsx
+++ b/frontend-modern/src/components/Settings/DiagnosticsPanel.tsx
@@ -32,7 +32,7 @@ export const DiagnosticsPanel: Component = () => {
type="button"
onClick={runDiagnostics}
disabled={loading()}
- class="flex min-h-10 sm:min-h-9 min-w-10 items-center gap-2 px-3 sm:px-4 py-2.5 rounded-md font-medium text-sm transition-colors whitespace-nowrap bg-blue-600 hover:bg-blue-700 text-white disabled:opacity-50 disabled:bg-surface disabled:text-muted"
+ class="flex min-h-11 sm:min-h-9 min-w-11 sm:min-w-10 items-center gap-2 px-3 sm:px-4 py-2.5 rounded-md font-medium text-sm transition-colors whitespace-nowrap bg-blue-600 hover:bg-blue-700 text-white disabled:opacity-50 disabled:bg-surface disabled:text-muted"
>
<RefreshCw class={`w-4 h-4 ${loading() ? 'animate-spin' : ''}`} />
<span class="sm:hidden">
@@ -57,7 +57,7 @@ export const DiagnosticsPanel: Component = () => {
type="button"
onClick={() => exportDiagnostics(false)}
disabled={exportLoading()}
- class="flex min-h-10 sm:min-h-9 items-center gap-1.5 px-3 py-2 text-sm font-medium text-base-content bg-surface border border-border rounded-md hover:bg-surface-hover transition-colors"
+ class="flex min-h-11 sm:min-h-9 items-center gap-1.5 px-3 py-2 text-sm font-medium text-base-content bg-surface border border-border rounded-md hover:bg-surface-hover transition-colors"
>
<Download class="w-3.5 h-3.5" />
{DIAGNOSTICS_PANEL_COPY.exportFullLabel}
@@ -66,7 +66,7 @@ export const DiagnosticsPanel: Component = () => {
type="button"
onClick={() => exportDiagnostics(true)}
disabled={exportLoading()}
- class="flex min-h-10 sm:min-h-9 items-center gap-1.5 px-3 py-2 text-sm font-medium text-green-700 dark:text-green-300 bg-green-50 dark:bg-green-900 border border-green-200 dark:border-green-800 rounded-md hover:bg-green-100 dark:hover:bg-green-900 transition-colors"
+ class="flex min-h-11 sm:min-h-9 items-center gap-1.5 px-3 py-2 text-sm font-medium text-green-700 dark:text-green-300 bg-green-50 dark:bg-green-900 border border-green-200 dark:border-green-800 rounded-md hover:bg-green-100 dark:hover:bg-green-900 transition-colors"
>
<Download class="w-3.5 h-3.5" />
{DIAGNOSTICS_PANEL_COPY.exportGithubLabel}
diff --git a/frontend-modern/src/components/Settings/SystemLogsPanel.tsx b/frontend-modern/src/components/Settings/SystemLogsPanel.tsx
index 05817fbb34..31dfcf37fb 100644
--- a/frontend-modern/src/components/Settings/SystemLogsPanel.tsx
+++ b/frontend-modern/src/components/Settings/SystemLogsPanel.tsx
@@ -34,7 +34,7 @@ export const SystemLogsPanel: Component = () => {
fieldBaseClass="flex"
fieldClass="items-center space-x-3"
labelClass="text-sm font-medium text-base-content"
- selectBaseClass="form-select min-h-10 sm:min-h-9 text-sm py-2.5 px-3 rounded-md border-border bg-surface text-muted focus:ring-primary-500 focus:border-primary-500"
+ selectBaseClass="form-select min-h-11 sm:min-h-9 text-sm py-2.5 px-3 rounded-md border-border bg-surface text-muted focus:ring-primary-500 focus:border-primary-500"
>
<For each={SYSTEM_LOG_LEVEL_OPTIONS}>
{(option) => <option value={option.value}>{option.label}</option>}
@@ -44,7 +44,7 @@ export const SystemLogsPanel: Component = () => {
<div class="flex items-center space-x-2">
<button
onClick={state.togglePaused}
- class={`min-h-10 sm:min-h-9 min-w-10 sm:min-w-9 p-2.5 rounded transition-colors ${
+ class={`min-h-11 sm:min-h-9 min-w-11 sm:min-w-9 p-2.5 rounded transition-colors ${
streamPresentation().pauseButtonClass
}`}
title={streamPresentation().toggleTitle}
@@ -53,7 +53,7 @@ export const SystemLogsPanel: Component = () => {
</button>
<button
onClick={state.clearLogs}
- class="min-h-10 sm:min-h-9 min-w-10 sm:min-w-9 p-2.5 rounded hover:bg-surface-hover text-muted transition-colors"
+ class="min-h-11 sm:min-h-9 min-w-11 sm:min-w-9 p-2.5 rounded hover:bg-surface-hover text-muted transition-colors"
title={SYSTEM_LOGS_PANEL_COPY.clearTitle}
>
<Trash2 size={18} />
@@ -61,7 +61,7 @@ export const SystemLogsPanel: Component = () => {
<div class="h-6 w-px bg-surface-hover mx-2"></div>
<button
onClick={state.handleDownload}
- class="min-h-10 sm:min-h-9 flex items-center space-x-2 px-3 py-2.5 bg-primary-600 text-white rounded-md hover:bg-primary-700 text-sm font-medium transition-colors"
+ class="min-h-11 sm:min-h-9 flex items-center space-x-2 px-3 py-2.5 bg-primary-600 text-white rounded-md hover:bg-primary-700 text-sm font-medium transition-colors"
>
<Download size={16} />
<span>{SYSTEM_LOGS_PANEL_COPY.downloadLabel}</span>
diff --git a/frontend-modern/src/components/Settings/__tests__/SystemLogsPanel.test.tsx b/frontend-modern/src/components/Settings/__tests__/SystemLogsPanel.test.tsx
index b7ce63b58f..7f9a25ad63 100644
--- a/frontend-modern/src/components/Settings/__tests__/SystemLogsPanel.test.tsx
+++ b/frontend-modern/src/components/Settings/__tests__/SystemLogsPanel.test.tsx
@@ -1,4 +1,5 @@
import { describe, expect, it } from 'vitest';
+import diagnosticsPanelSource from '../DiagnosticsPanel.tsx?raw';
import systemLogsPanelSource from '../SystemLogsPanel.tsx?raw';
import systemLogsPanelStateSource from '../useSystemLogsPanelState.ts?raw';
@@ -13,4 +14,12 @@ describe('SystemLogsPanel architecture', () => {
expect(systemLogsPanelStateSource).toContain("window.location.href = '/api/logs/download'");
expect(systemLogsPanelStateSource).toContain('notificationStore.success');
});
+
+ it('keeps support-page controls touch-sized on phones', () => {
+ expect(diagnosticsPanelSource).toContain('min-h-11 sm:min-h-9 min-w-11 sm:min-w-10');
+ expect(diagnosticsPanelSource).toContain('flex min-h-11 sm:min-h-9 items-center');
+ expect(systemLogsPanelSource).toContain('form-select min-h-11 sm:min-h-9');
+ expect(systemLogsPanelSource).toContain('min-h-11 sm:min-h-9 min-w-11 sm:min-w-9');
+ expect(systemLogsPanelSource).toContain('min-h-11 sm:min-h-9 flex items-center');
+ });
});
diff --git a/frontend-modern/src/components/shared/FilterButtonGroup.test.tsx b/frontend-modern/src/components/shared/FilterButtonGroup.test.tsx
index 8c1c8ee117..af89808c76 100644
--- a/frontend-modern/src/components/shared/FilterButtonGroup.test.tsx
+++ b/frontend-modern/src/components/shared/FilterButtonGroup.test.tsx
@@ -173,7 +173,7 @@ describe('FilterButtonGroup', () => {
));
const rangeButton = screen.getByRole('button', { name: '1d' });
- expect(rangeButton).toHaveClass('min-h-11', 'sm:min-h-0');
+ expect(rangeButton).toHaveClass('min-h-11', 'min-w-11', 'sm:min-h-0', 'sm:min-w-0');
expect(filterButtonGroupModelSource).toContain('sm:min-h-9');
expect(filterButtonGroupModelSource).toContain('sm:min-h-10');
expect(filterButtonGroupModelSource).toContain('sm:min-h-8');
diff --git a/frontend-modern/src/components/shared/filterButtonGroupModel.ts b/frontend-modern/src/components/shared/filterButtonGroupModel.ts
index 71148677a1..1c175a58fa 100644
--- a/frontend-modern/src/components/shared/filterButtonGroupModel.ts
+++ b/frontend-modern/src/components/shared/filterButtonGroupModel.ts
@@ -99,7 +99,7 @@ export function getFilterButtonGroupButtonClass(
if (variant === 'compact') {
return [
- 'inline-flex min-h-11 items-center justify-center gap-1.5 rounded px-2.5 py-1 text-xs font-medium transition-all whitespace-nowrap outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 sm:min-h-0',
+ 'inline-flex min-h-11 min-w-11 items-center justify-center gap-1.5 rounded px-2.5 py-1 text-xs font-medium transition-all whitespace-nowrap outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2 sm:min-h-0 sm:min-w-0',
active
? `bg-surface shadow-sm ring-1 ${activeToneClassByOptionTone[tone]}`
: 'text-muted hover:bg-surface-hover hover:text-base-content',