Files
pulse/docs
rcourtman 1c6d2a0b2f Stop Storage scrolling back to open pools and reopening groups (#2733)
Follow-up to #2709.

## Problem
On Proxmox > Storage (pools view):
1. With a pool open, scrolling the page back to the top pulled it back
down to the open pool a second or two later, and kept doing so.
2. With `?group=node`, collapsing the open pool's group (Collapse button
or header click) bounced it straight back open.

## Causes and fixes
- **Bridge reveal re-ran on unrelated state.**
`useSummaryTableFocusBridge` called the consumer's `revealActiveSeries`
inside a tracked effect, so Storage's reads (the pool-to-group lookup
rebuilt on every live update, the expanded group set) re-ran the reveal
and its inline-detail scroll. The effect now depends only on a memo of
the focused series id and the table root, and runs the callback and
scroll untracked (`summaryTableFocus.ts`). Cleanup is registered before
the first attempt, so a focus change or unmount cancels pending settle
frames.
- **Expansion state reopened collapsed groups.**
`syncExpandedStorageGroups` re-added every group key missing from the
expanded set whenever live data rebuilt the groups, so any collapsed
group reopened within ~10 s. The bounce above had been hiding this.
`useStorageExpansionState` now stores only the collapsed groups and
derives the expanded set, so new groups still open by default. Group
keys are bare labels, so a grouping change clears the collapsed set.
That stops a label carrying collapse state into another grouping or
hiding the headerless `All` group.

## Evidence
12-node mock stack, Chromium at 1440x900 and 390x844, same stack swapped
between #2709's code and this change:

| Check | Before | After |
|---|---|---|
| App-shell scrollTop after scrolling away from an open pool (every 0.5
s, 12 s) | 0, 0, 1008, then 1111 ×21 | 0 ×24 |
| Collapse open pool's group via button, group state (0.5 s samples) |
open ×12 | shut ×32 (16 s) |
| Same via header click | open ×12 | shut ×32 (16 s) |
| Disks view / Workloads table scroll-away | 0 ×24 | 0 ×24 |

Unchanged: lower pool, disk and guest rows open their detail with the
row header and detail top in view; Escape closes it;
`?resource=ceph-rbd` opens in view; collapsing `shared` and then
following an in-app `?group=node&resource=ceph-rbd` link reopens the
group and shows the detail; a `?summaryGroup=` deep link scrolls to the
pinned header; regrouping node → type → none → node shows every pool.

Tests: new bridge tests (`summaryTableFocus.test.tsx`), Storage-level
live-update and collapse tests (`Storage.test.tsx`), expansion hook
tests, and a guardrail pin that the reveal runs untracked. All six new
tests fail on #2709's code. The three expansion tests also fail with the
new bridge but the old expansion state.

## Known limit
Filter changes do not re-run the reveal. A focused pool whose row stays
filtered out past the reveal's ~1.2 s retry window is not revealed when
the filter clears. Storage filters live in the URL and a storage link
without filter parameters resets them, so only a link carrying a filter
that excludes its own pool reaches this. Likewise, with a pool already
open and its group collapsed, an in-app link to that same pool leaves
the group collapsed, because focus does not change.
2026-10-08 02:58:15 +01:00
..
2026-10-05 21:53:41 +01:00
…
2026-10-05 21:53:41 +01:00
2026-10-05 21:53:41 +01:00

Pulse documentation

Start here for installation, platform setup, security, operations, and Pulse Intelligence. Commands, configuration keys, image names, API fields, and product identifiers remain untranslated in localized guides.

Start here

  • Install Pulse — signed Proxmox/Linux installation, Docker, Docker Compose, Kubernetes, and first-run setup.
  • Production deployment and security — least-privilege Proxmox setup, root-agent boundaries, discovery, supply-chain verification, plan limits, scale evidence, and a rollout checklist.
  • Upgrade from Pulse v5 — migration prerequisites, rollback, agent continuity, and post-upgrade checks.
  • Releases and update channels: choosing Stable or Preview, beta and RC expectations, and how releases are tested and promoted.
  • Configure Pulse — authentication, notifications, discovery, retention, and system settings.
  • Deployment models — data locations, lifecycle, and differences between supported deployment paths.
  • Troubleshooting and FAQ — common failures, diagnostics, and operator questions.

Localized getting started guides: Deutsch · Español

Platforms and agents

VMware vSphere support is early access. Current builds expose dedicated vSphere inventory and recovery context, but operators should validate the integration against their own vCenter before production use.

Monitoring and operations

Pulse Intelligence

Patrol watch-only analysis is available on Community with a local model or the operator's own provider. Investigation and governed fixes require the relevant Pulse Pro capabilities.

Security, privacy, and access

Plans and managed access

Pulse Cloud is not generally available. Ordinary self-hosted Pulse remains the primary installation path; MSP and Enterprise access are explicit commercial paths rather than defaults in self-hosted setup.

Development and reference

Detailed design notes and dated migration specifications may remain in this directory for maintainers, but they are not operator setup guides unless they are linked from the sections above.

Previous versions and migrations

Found a bug? Use the issue forms. For setup questions, use GitHub Discussions.