platform
platform copied to clipboard
feat(tracker): Gantt — #6 tier-3 virtualization (large-project performance)
Summary
Vertical virtualization for the Gantt y-axis: only the rows within (or near) the visible viewport are mounted, and the dependency-arrow layer skips arrows whose endpoints both lie outside the viewport. Uses @tanstack/svelte-virtual as the foundation. Designed so projects with thousands of issues stay smooth — Jest performance gates assert that the y-viewport manager scales to 1 000 and 5 000 rows.
What's in this PR (+7 incremental commits)
depsadd@tanstack/svelte-virtualtotracker-resources- Y-viewport manager for Gantt vertical virtualization
- Sidebar-virtualization range helper (Phase 3a foundation reused here)
- Classify dependency-arrow visibility against the y-viewport — skip arrows entirely off-screen
test1 000 + 5 000-row y-viewport perf gateschoreremove dead Gantt lib files (filter-predicate, oldsidebar-virtualization)chorescrub internal tier/version markers from inline comments
Stack overview
| # | Branch | Scope | Status |
|---|---|---|---|
| PR1 | …pr1-schema |
schema + version bump | open |
| PR2 | …pr2-readonly |
read-only viewlet | draft |
| PR3a | …pr3a-edit |
drag / resize / dnd | draft |
| PR3b | …pr3b-deps-cascade-cp |
dependencies + cascade + critical path | draft |
| PR4 | …pr4-polish |
polish | draft |
| PR5 | …pr5-tier2 |
undo, saved views, bulk, auto-scheduling | draft |
| PR6 | …pr6-tier3-virtualization |
this PR — virtualization | draft |
| PR7 | …pr7-tier4 |
mobile + tree + predecessor col + visual deps + notifications | draft |
| Docs (huly-docs#70) | MichaelUray:feat/gantt-section |
reference + screenshots | open |
Marked as draft to signal stack dependency on PR1 → PR5.
How to review
→ Fork compare: PR5...PR6 — 7 commits, 6 files
Reading order:
y-viewportmanager — the new moduley-viewport.test.ts— the perf gates explain the design constraints- Arrow-visibility classifier — minimal change at the connector layer
Testing
- 1 000 + 5 000-row perf gates in
y-viewport.test.ts. - Validated on a production-style deployment on 2026-05-18 — large project with 1 200 issues stays responsive while scrolling.
DCO
All commits are Signed-off-by.
Connected to Huly®: UBERF-16448