feat(tracker): Gantt — #4 visual polish + UX refinement
Summary
Visual + UX polish across the Gantt view: theme-variable colours instead of hex, sidebar tree glyphs become Chevron icons, the corner cell hosts Expand-all / Collapse-all (left-aligned), priority filter shows Urgent / High / Medium / Low labels, continuous Ctrl+wheel zoom, mobile-friendly long-press routing, data-driven PNG/PDF export with full sidebar + chart, and a dedicated Customize-View vs Configure-Columns split with distinct tooltips.
Also lands the Estimation row in the bar quick-info popover, the GanttSaveViewPopup modal scaffold (Save-View UI shell — the persistence layer lands in PR5), and the IssueRelation activity feed so dependency add/remove/update events show in the standard activity stream.
What's in this PR (+105 incremental commits)
Look & feel
- Replace hex colours in Gantt with theme variables
- Replace tree glyphs with
ChevronRight/ChevronDownicons - Add Estimation row to bar quick-info popover
- Resolve Gantt
aria-labelsviatranslateCB; addaria-label+ title to date-nav buttons - Add
xmlnsto canvas SVG root - Left-align Expand/Collapse-all in the sidebar corner cell
Toolbar & view-option UX
- Collapse 4 zoom-preset buttons into a Dropdown + numeric days-input
- Keep both
Customize-View+Configure-Columnsbuttons in Gantt mode, with split tooltips - Hide standard
Customize-Viewbuttons in Gantt mode; viewlet renders its own - Hide group-by / sort in ViewOptions popup when the viewlet renders its own
- Wrap Gantt toolbar on tablet viewports
- Drop Gantt-toolbar Filter button → use
FilterBaras single source
Interaction
- Continuous Ctrl+wheel zoom over Gantt canvas (works in Month and Quarter)
GanttBar— pointer-only events + long-press routing (touch friendliness)- Wire
layoutMode+ pinch-zoom intoGanttView - Replace Gantt double-click on mobile with quick-info "open editor" button
- Defer scroll-driven
translateXsync viarAF(silences Firefox scroll-linked positioning warning) - Freeze Gantt drag preview while confirm popup is open; keep drag preview alive
Sidebar extension
- Wire per-column toggles for the extended Gantt sidebar
- Thread
nameLookupmap through group-by helpers - Sidebar-sort cycle + comparators with full Jest coverage
- Align Gantt extended sidebar grid width and sticky header
Save-View scaffold
GanttSaveViewPopupmodal — name + fix-window + public toggles (persistence in PR5)- Close popup on X-click via
onCancel
Export
- Data-driven PNG / PDF export with full sidebar + chart
- Drop duplicate Phase-1 Gantt toolbar to unblock PNG/PDF export
Activity feed
- Register
IssueRelationadd/remove/update activity viewlets RelationActivityPresenterfor activity feed rendering- Migrate legacy
IssueRelationremove activity docs - Use
removeCollectionfor relation deletion so activity feed renders detail - Predecessor-list-format helper
i18n
- Relation activity strings (en + de)
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 |
this PR — visual polish + UX | 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 → PR3b.
How to review
→ Fork compare: PR3b...PR4 — 105 commits, 118 files
This is largely incremental UX work — most commits are small and self-explanatory. Largest single concern is the sidebar-sort cycle + comparators, which has its own test fixture.
Testing
- Jest coverage on sidebar-sort comparators (+ cycle tests).
- Hand-tested Ctrl+wheel zoom in Day / Week / Month / Quarter modes.
- PNG / PDF export tested on a project with sidebar + bars + arrows.
- Validated on a production-style deployment on 2026-05-18.
DCO
All commits are Signed-off-by.
Connected to Huly®: UBERF-16445