platform icon indicating copy to clipboard operation
platform copied to clipboard

feat(tracker): Gantt — #2 read-only viewlet

Open MichaelUray opened this issue 6 months ago • 1 comments

Summary

Read-only Gantt viewlet for Tracker: a horizontally-scrolling time-canvas with a synced sidebar that lists the issues in the current project / filter, plus a zoom toolbar (Day / Week / Month / Quarter), a "Today" jump, page-scroll buttons, and customizable sidebar columns. No editing yet — drag/resize comes in PR3a, dependencies in PR3b.

The viewlet registers after Kanban so List stays the project default. All Gantt logic lives behind a viewlet.IssueGantt registration; no existing viewlet is mutated.

Supersedes #10852 (closed). The original head SHA was 7b197a93f; the branch has since been rebased onto the current PR1 tip and DCO-cleaned.

What's in this PR (+33 incremental commits)

  • feat(tracker) register viewlet.IssueGantt (placeholder) → wired with reactive queries
  • Gantt library modules — time-scale, layout, types, types-tested with Jest
  • Svelte components — GanttCanvas, GanttHeader, GanttSidebar, GanttBar, GanttTodayMarker, GanttMilestoneFlag, GanttToolbar
  • feat(tracker) register startDate + dueDate as Issue filters
  • Hardened scrollbars (sticky-bottom horizontal scrollbar, Plane-style)
  • Status-badge column + ganttShowStatus toggle
  • Inline-add row in the Gantt sidebar
  • "+ New issue" button in the Gantt toolbar (wired into the standard NewIssue flow)
  • i18n keys for the new Gantt UI strings (en + de)

Stack overview

# Branch Scope Status
PR1 feat/gantt-upstream-pr1-schema schema + version bump open
PR2 feat/gantt-upstream-pr2-readonly this PR — read-only viewlet draft
PR3a feat/gantt-upstream-pr3a-edit editable viewlet draft
PR3b feat/gantt-upstream-pr3b-deps-cascade-cp dependencies + cascade + critical path draft
PR4 feat/gantt-upstream-pr4-polish polish draft
PR5 feat/gantt-upstream-pr5-tier2 undo, saved views, bulk, auto-scheduling draft
PR6 feat/gantt-upstream-pr6-tier3-virtualization virtualization draft
PR7 feat/gantt-upstream-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. Will be promoted to ready-for-review once PR1 is merged.

How to review

GitHub shows the cumulative diff against develop (PR1 + PR2 = 40 commits, ~2 850 line additions). For the PR2-only incremental diff see:

→ Fork compare: PR1...PR2 — 33 commits, 34 files

Testing

  • Jest tests on the time-scale and layout modules cover the date-math and row-packing edge cases.
  • Validated on a production-style deployment on 2026-05-18.

DCO

All commits are Signed-off-by.

MichaelUray avatar May 18 '26 22:05 MichaelUray

Connected to Huly®: UBERF-16443

huly-github-staging avatar May 18 '26 22:05 huly-github-staging