platform icon indicating copy to clipboard operation
platform copied to clipboard

feat(tracker): Gantt — #7 tier-4 (mobile, tree-view, predecessor column, visual deps, shift notify)

Open MichaelUray opened this issue 6 months ago • 1 comments

Summary

Final tier-4 batch covering five mostly-independent features:

  1. Mobile drawer + responsive popups — Gantt becomes usable on phones / tablets; touch-action disabled on bars, drawer header offset, confirm popups adapt to viewport.
  2. Tree view — collapsible per-project tree expand-state, persisted in localStorage; chevron-icon glyphs (from PR4 polish) drive the visual.
  3. Predecessors column — new column for Tracker's List view that shows each issue's predecessors.
  4. Visual DependencyEditor — 2×2 mini-diagram picker for switching FS / SS / FF / SF on existing dependencies, with the DependencyKindHint* i18n family.
  5. Shift notifications — when a cascade shifts a downstream issue, the assignee receives an inbox notification; aggregated by recipient via a "cascade-shift bundle" so a single drag doesn't flood the inbox.

Also lifts the Gantt toolbar into SpaceHeader row 2 (so it lives in the same toolbar surface as the other viewlets) and adds a global Fullscreen toggle.

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

Mobile / touch

  • Mobile drawer + responsive confirm popup
  • touch-action: none on bars + drawer header offset

Tree view

  • Per-project tree expand-state store backed by localStorage

Predecessors column

  • feat(tracker) Predecessors column in Tracker list view

Visual DependencyEditor

  • diagram-helpers for Visual DependencyEditor
  • Visual DependencyEditor with 2×2 mini-diagram picker
  • i18n: DependencyKindHint*, DependencyPickKind, DependencyChangeKind

Shift notifications

  • feat(models/tracker) register DependencyShiftedNotification class + notification type
  • DependencyShiftedPresenter for inbox bundle rendering
  • Cascade-shift bundle aggregator with grouping by recipient
  • i18n: DependencyShifted notification strings (en + de)
  • docs(gantt) clarify cascade-token JSDoc with v1 dependency-shift wiring

Toolbar hoist & fullscreen

  • Hoist Gantt toolbar into SpaceHeader row 2
  • Correct visual order of merged Gantt toolbar
  • Global Fullscreen toggle + Lupe-first toolbar + milestone labels in extended sidebar

Coverage

  • test cover three previously-untested Gantt lib files

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 virtualization draft
PR7 …pr7-tier4 this PR — 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 → PR6.

How to review

→ Fork compare: PR6...PR7 — 17 commits, 31 files

The five features touch different files and can be reviewed mostly independently. Largest single addition is the cascade-shift bundle aggregator + presenter for the notification path.

Testing

  • New tests cover three previously-untested Gantt lib files.
  • Hand-tested mobile drawer on touch device; Visual DependencyEditor on all 4 kinds.
  • Notification bundle verified: 30-issue cascade produces 1 grouped notification per recipient.
  • 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-16449

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