feat(tracker): Gantt — #3b dependencies + cascade + critical path
Summary
Brings dependencies, cascade-scheduling, and critical path to the Gantt. Issues can be linked through typed IssueRelation Mixins (FS / SS / FF / SF), the canvas paints arrow connectors between dependent bars, dragging a bar with downstream dependencies opens a "cascade confirm" popup that previews and atomically commits the shift across the whole dependency tree, and an optional critical-path mode highlights the longest dependency chain plus the per-issue slack.
This is the largest single PR in the stack (~6 000 lines, 61 files). Most of that is the dependency simulation library + its test suite, plus the cascade-confirm UI.
What's in this PR (+79 incremental commits)
Dependency editing (PR4b family)
feat(tracker)predecessor / successor direction chooserfeat(tracker)readable Dependencies panel +IssueRelationactivity presenterfeat(tracker)unified hierarchy add chooser + resizable pickersfix(tracker)scoped dependency picker to current project; wrapObjectPopupso items renderfix(tracker-resources)confirm dialog before dependency removal- Connector drag — single event path through the canvas, target drop indicator, connector dot above arrows
Cascade scheduling (PR4b)
simulateCascadelibrary — FS push + no-cascade, SS/FF/SF anchor model, pull-predecessor support, cycle bailoutcommitWithCascade— body-drag wiring + single-confirm flowConfirmCascadePopupwith mini-timeline preview- Permission check before no-cascade return; popup polish + legacy confirm parity
- Comprehensive test suite — cycle bailout, chain + iteration-overflow, parent-drag + merge, hidden-issue scope, permission-denied
Critical path (PR5)
- Critical-path types + topological-sort scaffold with cycle bailout
- View-options —
ganttCriticalPath+ganttSlackColumntoggles - Violated bars paint red
- Critical-path UI wiring + i18n keys (en)
Misc
feat(tracker-resources)show GanttIssueRelations in the issue editor- Export / keyboard-shortcut scaffolding and DE i18n hooks used by later polish work
fix(notification-resources)returnArrayBuffer-backed push key- Various stabilization fixes (Gantt viewport, connectors, bar editing, pan-from-bar, dependency init)
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 |
this PR — dependencies + cascade + critical path | draft |
| PR4 | …pr4-polish |
polish | draft |
| PR5 | …pr5-tier2 |
undo, saved views, bulk, auto-scheduling | draft |
| PR6 | …pr6-tier3-virtualization |
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+PR2+PR3a.
How to review
→ Fork compare: PR3a...PR3b — 79 commits, 61 files
Recommended reading order:
simulateCascadeand its tests inplugins/tracker-resources/src/components/gantt/lib/commitWithCascadewire-up in the drag controllerConfirmCascadePopup.sveltefor the UI surface- Critical-path module + view-option toggle
Testing
- 8 cascade test files covering FS push, SS/FF/SF anchors, pull-predecessor, cycle bailout, chain + iteration overflow, parent-drag + merge, hidden-issue scope, permission-denied.
- Critical-path topo-sort guarded against cycles; destroy timer covered by component lifecycle.
- Validated on a production-style deployment on 2026-05-18.
DCO
All commits are Signed-off-by.
Connected to Huly®: UBERF-16446