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.

Keep phone table gestures on the page

rcourtman5a941e8d3aef
diff --git a/docs/release-control/v6/internal/records/frontend-platform-canonicalization-audit-2026-08-24.md b/docs/release-control/v6/internal/records/frontend-platform-canonicalization-audit-2026-08-24.md
index 165008706a..c866865ba9 100644
--- a/docs/release-control/v6/internal/records/frontend-platform-canonicalization-audit-2026-08-24.md
+++ b/docs/release-control/v6/internal/records/frontend-platform-canonicalization-audit-2026-08-24.md
@@ -221,6 +221,26 @@ well.
that are both statically and dynamically imported; it did not affect build
correctness or the canonical frontend contract.
+## Post-audit correction: phone scroll ownership
+
+The initial audit missed a gesture-level inconsistency that was not visible in
+static phone captures. On `/docker` at 390×844, the two shared table shells had
+2px of incidental vertical overflow. Because `overflow-x: auto` computes the
+other axis to `auto` unless it is specified, a vertical gesture beginning over
+either table first scrolled that nested shell instead of the page. Proxmox did
+not expose the defect because its current table geometry did not create the
+same incidental overflow.
+
+The canonical `.table-scroll-shell` owner in `frontend-modern/src/index.css`
+now explicitly sets `overflow-y: hidden`: tables own horizontal overflow while
+the page owns vertical gestures. Browser verification at 390×844 confirmed a
+gesture over the Docker containers table moved `.app-scroll-shell` to 197px
+while both table-shell `scrollTop` values remained zero. The same gesture over
+the visible Proxmox node table moved the page to 450px with every table shell
+remaining at zero. The shared-primitives guardrail now protects this contract.
+Updated visual evidence is stored as
+`post-docker-phone-scroll-ownership-390x844.png` alongside the audit captures.
+
## Remaining exceptions
There are no known static-audit or platform-page exceptions to the canonical
diff --git a/docs/release-control/v6/internal/subsystems/frontend-primitives.md b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
index e442436deb..6a874de1f2 100644
--- a/docs/release-control/v6/internal/subsystems/frontend-primitives.md
+++ b/docs/release-control/v6/internal/subsystems/frontend-primitives.md
@@ -1170,7 +1170,10 @@ not a replacement status card, CTA band, or page-local nested card.
product-table frame, section header band, and light/dark border treatment
belong to frontend primitives so Infrastructure, Workloads, Storage, and
Recovery do not drift visually. The shared `Table` primitive owns the
- horizontal scroll shell (`overflow-x-auto` plus touch scrolling); feature
+ horizontal scroll shell (`overflow-x-auto` plus touch scrolling), and the
+ canonical `.table-scroll-shell` CSS explicitly suppresses vertical overflow
+ so a phone gesture that starts over a table scrolls the page rather than an
+ incidental nested vertical scroll range. Feature
tables must not wrap it in page-local scroll containers just to restore
table sides or mobile overflow. Headerless product tables, including alert
history, still use `TableCard` for the outer frame instead of hand-coded
diff --git a/frontend-modern/src/__tests__/App.architecture.test.ts b/frontend-modern/src/__tests__/App.architecture.test.ts
index 51dd9e5517..3a152a52bb 100644
--- a/frontend-modern/src/__tests__/App.architecture.test.ts
+++ b/frontend-modern/src/__tests__/App.architecture.test.ts
@@ -601,6 +601,7 @@ describe('App architecture', () => {
expect(appStylesSource).toContain('@container (min-width: 72rem)');
expect(appStylesSource).toContain('.hidden.md\\:table-cell');
expect(appStylesSource).toContain('contain: paint');
+ expect(appStylesSource).toContain('overflow-y: hidden');
expect(appStylesSource).toContain('overscroll-behavior-x: contain');
expect(appStylesSource).toContain('.progress-fill-frame');
expect(appStylesSource).toContain('.metric-fill-geometry');
diff --git a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
index 94eb514db9..3802a763ef 100644
--- a/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
+++ b/frontend-modern/src/components/shared/SharedPrimitives.guardrails.test.ts
@@ -1380,6 +1380,7 @@ describe('shared primitive guardrails', () => {
expect(frontendIndexCssSource).toContain('.table-scroll-shell');
expect(frontendIndexCssSource).toContain('container-type: inline-size');
expect(frontendIndexCssSource).toContain('contain: paint');
+ expect(frontendIndexCssSource).toContain('overflow-y: hidden');
expect(frontendIndexCssSource).toContain('overscroll-behavior-x: contain');
expect(frontendIndexCssSource).toContain(
'.table-scroll-shell > .table-fixed.platform-table th.platform-table-name-column',
diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.css
index bc05cbfb63..767f9fcb00 100644
--- a/frontend-modern/src/index.css
+++ b/frontend-modern/src/index.css
@@ -218,6 +218,8 @@
.table-scroll-shell {
container-type: inline-size;
contain: paint;
+ /* Tables own horizontal overflow only; vertical gestures belong to the page. */
+ overflow-y: hidden;
overscroll-behavior-x: contain;
}