Skip to content

✨ DASHBOARD - virtualize large provider tables and zoom the History trend chart - #8

Merged
DevManfre merged 3 commits into
devfrom
feat/virtual-rows-and-chart-zoom
Oct 30, 2026
Merged

DevManfre merged 3 commits into
devfrom
feat/virtual-rows-and-chart-zoom

Conversation

@DevManfre

Copy link
Copy Markdown
Owner

Roadmap 4.10 and 4.11.

4.10 — virtualized provider table

  • Past 100 rows the Providers table mounts only the rows near the viewport (plus 6 overscan per edge); the rest is two spacer rows.
  • Row heights are measured (an open accordion panel counts toward its row) and estimated by density until a row has been seen. Windowing math lives in lib/virtualRows.ts.
  • At or below 100 rows nothing changes: entry stagger, exit animation and the FLIP reorder stay as they were. Past 100 they are off, since they would replay on every scroll.
  • No new dependency.

4.11 — zoom by dragging

  • Dragging across the History trend chart selects a range; a click without a drag does nothing.
  • The range is carried in the address as since / until (from is already the Overview link marker), and a page opened with them starts on that range. Closing the provider drawer no longer drops it.
  • New string history.brush-hint in all six catalogs. Keyboard users keep the two date inputs.

Verification

  • typecheck, biome and the full Vitest suite (1016) pass; new tests for rowSpan, readRange, the windowed table and the address round-trip.
  • Redeployed the UI container: healthy, new bundle served.
  • The four History visual baselines are agreed in their own commit, each frame looked at: only the hint line and the shift below it.

Not covered

  • The drag gesture itself (happy-dom gives the chart no coordinates), and the windowed table at real layout heights, were not exercised in a browser. Not touch-friendly yet.

…int line

Reviewed light and dark, en and it: the only change is the one-line hint under
the trend chart and the content below it shifting down to make room.
@DevManfre
DevManfre merged commit 7a80c9b into dev Oct 30, 2026
7 checks passed
@DevManfre
DevManfre deleted the feat/virtual-rows-and-chart-zoom branch November 1, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant