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): defer dense navigation and table columns

rcourtman4bb0786fbe79
diff --git a/frontend-modern/browser-verification.json b/frontend-modern/browser-verification.json
index 8ff2bfc445..961d3c2b0c 100644
--- a/frontend-modern/browser-verification.json
+++ b/frontend-modern/browser-verification.json
@@ -1,50 +1,105 @@
{
"version": 1,
- "base_sha": "324a6458d5b4972ea47a56ca54ca997af0e05fc0",
- "verified_at": "2026-08-06T16:26:28Z",
+ "base_sha": "25ba5fd63e284589e63e68de8159b133e803312c",
+ "verified_at": "2026-08-06T16:45:35Z",
"result": "passed",
"changed_paths": [
- "frontend-modern/src/components/Workloads/useWorkloadsControlsState.ts",
- "frontend-modern/src/components/Workloads/useWorkloadsState.ts",
- "frontend-modern/src/features/vmware/VmwarePageSurface.tsx"
+ "frontend-modern/src/AppLayout.tsx",
+ "frontend-modern/src/components/shared/MobileNavBar.tsx",
+ "frontend-modern/src/index.css"
],
"content_sha256": {
- "frontend-modern/src/components/Workloads/useWorkloadsControlsState.ts": "e27f9b5fb3f5cc6e65a7e8d465befe45e0f0c8f0479e8b4a43f53b02ffac9d6f",
- "frontend-modern/src/components/Workloads/useWorkloadsState.ts": "14897fd2ae8c79a26b85ac21d42fb86270092ca7c3a084cc087b160f2c2311e5",
- "frontend-modern/src/features/vmware/VmwarePageSurface.tsx": "9c37c036b26f32af1f4a973580a221fd35b7c36482ec6efd109e03d6de6b6427"
+ "frontend-modern/src/AppLayout.tsx": "02e195bba05254631bfa6e6d9411cff37d15ddd2050631088018e42d70d1be04",
+ "frontend-modern/src/components/shared/MobileNavBar.tsx": "4c555f15f3d6e598289a0c097b395b6f9708f05f66d423739acdda6ffa28b661",
+ "frontend-modern/src/index.css": "d7adb9f95f22b490c098eb61d96201847210aca1b913aeb9d6f0668e88ff8366"
},
"routes": [
- "/vmware",
- "/proxmox?status=all"
+ "/proxmox/overview",
+ "/proxmox/storage?tab=disks&source=proxmox-all",
+ "/proxmox/replication",
+ "/proxmox/backups?view=coverage",
+ "/proxmox/backups?view=date",
+ "/proxmox/ceph",
+ "/proxmox/mail",
+ "/docker/images",
+ "/docker/storage",
+ "/docker/networks",
+ "/docker/swarm",
+ "/kubernetes/overview",
+ "/kubernetes/nodes",
+ "/kubernetes/services",
+ "/kubernetes/storage",
+ "/kubernetes/configuration",
+ "/kubernetes/events",
+ "/truenas/storage",
+ "/truenas/services",
+ "/truenas/apps",
+ "/truenas/vms",
+ "/truenas/shares",
+ "/truenas/protection",
+ "/vmware/overview",
+ "/vmware/networks",
+ "/vmware/health",
+ "/vmware/activity",
+ "/alerts/overview",
+ "/alerts/history",
+ "/alerts/thresholds",
+ "/alerts/notifications",
+ "/alerts/schedule",
+ "/actions",
+ "/patrol",
+ "/settings/infrastructure",
+ "/settings/security-overview",
+ "/settings/security/api",
+ "/settings/security-auth",
+ "/settings/security-sso",
+ "/settings/security-roles",
+ "/settings/security-users",
+ "/settings/security-audit",
+ "/settings/security-webhooks",
+ "/settings/support/diagnostics",
+ "/settings/support/logs"
],
"viewports": [
{
- "width": 2400,
- "height": 1300
+ "width": 768,
+ "height": 900
},
{
- "width": 1280,
- "height": 800
+ "width": 1024,
+ "height": 900
+ },
+ {
+ "width": 1120,
+ "height": 900
},
{
- "width": 390,
- "height": 844
+ "width": 1279,
+ "height": 900
+ },
+ {
+ "width": 1280,
+ "height": 900
}
],
"states": [
- "Baseline before the change, vSphere VM table with every column enabled: Avail rendered an empty cell on all 18 rows and Tags rendered six identical dots on all 18, matching the single provenance tag set the adapter emits",
- "vSphere VM table for a user with no saved preference: header is Name, ID, CPU, Mem, Disk, Uptime, Net I/O, Disk I/O with Avail and Tags both absent",
- "vSphere VM table for a user whose saved preference predates the Tags default: the one-time migration adds tags to the hidden list and records it in the default-hidden-applied marker",
- "vSphere column picker still offers Tags, Backup, AI Context, OS, IP, Disk, Uptime and both I/O columns, and no longer offers Avail while nothing is probed",
- "Proxmox workload table unaffected: Tags still visible with genuine per-guest counts varying 3 to 7 dots per row, Backup still visible, stored hidden list unchanged at aiContext/os/ip",
- "Proxmox at 390px and 1280px: no Avail column, no horizontal body overflow, 16 rows render",
- "vSphere at 390px: narrow stage renders Name, CPU, Mem across 18 rows with no horizontal body overflow"
+ "Every remaining mock-data platform table at 768px, including replication, backup coverage and date views, Ceph, mail, Docker storage/networking/Swarm, Kubernetes services/storage/configuration/events, TrueNAS services/apps/VMs/shares/protection, and vSphere networking/health/activity",
+ "Desktop secondary navigation and Settings sidebar transition at 1024px",
+ "Primary navigation with all six platform destinations and all four operator destinations",
+ "Dense Kubernetes Nodes, Events, and Configuration tables immediately below and above the secondary-column container breakpoint",
+ "Dense vSphere Hosts and VM inventory immediately below and above the secondary-column container breakpoint",
+ "Expanded Ceph cluster details and backup coverage inventory",
+ "Exact mobile-to-desktop primary navigation handoff at 1279px and 1280px"
],
"interactions": [
- "Opened the View preferences popover and the Columns multiselect on /vmware to read the offered toggles",
- "Cleared the workloadsHiddenColumns scope keys to reproduce a first-time user, then reloaded",
- "Seeded a pre-migration workloadsHiddenColumns:vmware-vms preference without tags and reloaded to confirm the one-time hide fires",
- "Navigated between /vmware and /proxmox?status=all at each viewport to compare Avail and Tags across scopes",
- "Queried /api/resources to confirm all 18 vSphere VMs carry the identical provenance tag set while Proxmox guests carry distinct per-guest tags"
+ "Scanned the remaining 22 platform routes at 768px for table-shell overflow, document overflow, and off-screen controls",
+ "Visually inspected the densest Ceph, backup coverage, Kubernetes Events, Kubernetes Nodes, and vSphere Hosts layouts rather than relying only on width measurements",
+ "Found the 1024px desktop primary navigation clipping Patrol and hiding Settings because its 1142px content exceeded the 969px rail",
+ "Kept the stable bottom navigation through 1279px, clicked Settings and Proxmox at 1024px, and confirmed navigation plus focus behavior",
+ "Confirmed the desktop navigation appears at 1280px with all ten destinations visible, no internal scroll, and compact laptop padding",
+ "Measured the exact 1279px/1280px handoff with one and only one primary navigation surface visible at each width",
+ "Found that a 1024px table container restored nine Kubernetes Node columns and eleven vSphere Host columns too early, visibly crushing identity and diagnostic fields",
+ "Raised the shared secondary-column container threshold to 1152px, then confirmed readable core columns at 1120px and the richer operational set returning at 1280px without horizontal scrolling",
+ "Reset the viewport override and finalized the browser session"
]
}
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsx
index 527c9de0bd..5641757325 100644
--- a/frontend-modern/src/AppLayout.tsx
+++ b/frontend-modern/src/AppLayout.tsx
@@ -654,7 +654,7 @@ export function AppLayout(props: AppLayoutProps) {
const disabled = () => !tab.enabled;
const Icon = tab.icon;
const baseClasses =
- 'tab relative px-1.5 sm:px-3 py-1.5 text-xs sm:text-sm font-medium flex items-center gap-1 sm:gap-1.5 rounded-t border border-transparent transition-colors whitespace-nowrap cursor-pointer';
+ 'tab relative px-1.5 xl:px-2 2xl:px-3 py-1.5 text-xs xl:text-sm font-medium flex items-center gap-1 2xl:gap-1.5 rounded-t border border-transparent transition-colors whitespace-nowrap cursor-pointer';
const className = () => {
if (isActive()) {
@@ -704,7 +704,7 @@ export function AppLayout(props: AppLayoutProps) {
return (
<div
- class={`pulse-shell ${layoutStore.isFullWidth() || kioskMode() ? 'pulse-shell--full-width' : ''} ${!kioskMode() ? 'pb-safe-or-20 lg:pb-0' : ''}`}
+ class={`pulse-shell ${layoutStore.isFullWidth() || kioskMode() ? 'pulse-shell--full-width' : ''} ${!kioskMode() ? 'pb-safe-or-20 xl:pb-0' : ''}`}
>
{/* Skip-to-content link: visually hidden until focused, then
appears as a button at the top-left. Lets keyboard users
@@ -868,7 +868,7 @@ export function AppLayout(props: AppLayoutProps) {
<Show when={!kioskMode()}>
<div
- class="tabs mb-2 hidden lg:flex items-end gap-2 overflow-x-auto overflow-y-hidden whitespace-nowrap border-b border-border scrollbar-hide"
+ class="tabs mb-2 hidden xl:flex items-end gap-2 overflow-x-auto overflow-y-hidden whitespace-nowrap border-b border-border scrollbar-hide"
role="tablist"
aria-label="Primary navigation"
>
@@ -882,7 +882,7 @@ export function AppLayout(props: AppLayoutProps) {
const isActive = () => getActiveTabDesktop() === tab.id;
const Icon = tab.icon;
const baseClasses =
- 'tab relative px-1.5 sm:px-3 py-1.5 text-xs sm:text-sm font-medium flex items-center gap-1 sm:gap-1.5 rounded-t border border-transparent transition-colors whitespace-nowrap cursor-pointer';
+ 'tab relative px-1.5 xl:px-2 2xl:px-3 py-1.5 text-xs xl:text-sm font-medium flex items-center gap-1 2xl:gap-1.5 rounded-t border border-transparent transition-colors whitespace-nowrap cursor-pointer';
const className = () => {
if (isActive()) {
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 6384239cf1..b0ff6b9e81 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -408,6 +408,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('tabs mb-2 hidden xl:flex');
+ expect(appLayoutSource).toContain('xl:px-2 2xl:px-3');
+ expect(appLayoutSource).toContain('gap-1 2xl:gap-1.5');
+ expect(appLayoutSource).not.toContain('tabs mb-2 hidden lg:flex');
expect(appLayoutSource).not.toContain('dataUpdated: () => boolean');
expect(appLayoutSource).not.toContain('animate-pulse-logo');
expect(appRuntimeStateSource).not.toContain('dataUpdated');
@@ -432,7 +437,7 @@ describe('App architecture', () => {
expect(appStylesSource).toContain('--color-grouped-table-row-bg: rgba(51, 65, 85, 0.58);');
expect(appStylesSource).toContain('.table-scroll-shell');
expect(appStylesSource).toContain('container-type: inline-size');
- expect(appStylesSource).toContain('@container (min-width: 64rem)');
+ expect(appStylesSource).toContain('@container (min-width: 72rem)');
expect(appStylesSource).toContain('.hidden.md\\:table-cell');
expect(appStylesSource).toContain('contain: paint');
expect(appStylesSource).toContain('overscroll-behavior-x: contain');
diff --git a/frontend-modern/src/components/shared/MobileNavBar.tsx b/frontend-modern/src/components/shared/MobileNavBar.tsx
index c2984cfada..34cf1ed383 100644
--- a/frontend-modern/src/components/shared/MobileNavBar.tsx
+++ b/frontend-modern/src/components/shared/MobileNavBar.tsx
@@ -19,7 +19,7 @@ export function MobileNavBar(props: MobileNavBarProps) {
return (
<>
<nav
- class="fixed inset-x-0 bottom-0 z-40 border-t border-border bg-surface pb-safe lg:hidden"
+ class="fixed inset-x-0 bottom-0 z-40 border-t border-border bg-surface pb-safe xl:hidden"
role="tablist"
aria-label="Mobile navigation"
>
diff --git a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
index f19dc5ebb0..224b844670 100644
--- a/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
+++ b/frontend-modern/src/components/shared/__tests__/MobileNavBar.test.tsx
@@ -38,6 +38,8 @@ describe('MobileNavBar', () => {
it('keeps the mobile nav on shell, runtime, and model owners', () => {
expect(mobileNavBarSource).toContain('useMobileNavBarState');
expect(mobileNavBarSource).toContain('getMobileNavTabButtonClass');
+ expect(mobileNavBarSource).toContain('pb-safe xl:hidden');
+ expect(mobileNavBarSource).not.toContain('pb-safe lg:hidden');
expect(mobileNavBarSource).not.toContain('createSignal');
expect(mobileNavBarSource).not.toContain('requestAnimationFrame');
expect(mobileNavBarSource).not.toContain('new Set(priority)');
diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.css
index 9327f15253..995e0a3b27 100644
--- a/frontend-modern/src/index.css
+++ b/frontend-modern/src/index.css
@@ -213,7 +213,7 @@
}
}
- @container (min-width: 64rem) {
+ @container (min-width: 72rem) {
.table-scroll-shell :is(th, td).hidden.md\:table-cell {
display: table-cell;
}