feat(tracker): Gantt — #10 bar coloring + overlays + sub-issue progress
Stack context
This PR sits on top of #10872 (PR9 — filter chips + advanced search + view-option toggles, currently Draft) which in turn sits on top of the #10851 PR1 → #10859 PR7 Gantt feature series.
The diff against develop therefore shows the full dependent stack (PR1-PR7 + PR9 + bar-colors). The actual marginal content of this PR is documented below. Once the dependent PRs merge, this branch will be rebased onto upstream develop and the diff collapses to bar-colors only.
This PR is opened as Draft to give visibility into the planned feature surface and let CI run early — same convention as PR2-PR7.
Marginal bar-colors content (what this PR actually adds)
13 commits introducing the bar-coloring feature on top of the read-only/edit/dependencies/polish/tier2 viewlet, plus 3 small polish commits after the Plan-2 merge:
Core bar-coloring (13 commits)
| Commit | Description |
|---|---|
1e10fc40b8 |
Bump contrast on Todo + Cancelled status bars |
04eb240601 |
Add GanttBarIssueLike type + isPastDue / isBlocked predicates |
fa5da87709 |
Add optional color field to Component and Milestone schemas |
459a3740d3 |
ColorsPopup swatch in EditComponent + EditMilestone |
76bac88823 |
Pure bar-color resolver for 6 color modes (Status / Priority / Assignee / Component / Milestone / Uniform) |
0ada4c51c0 |
Extend GanttSavedViewOptions with 4 new toolbar fields |
04ac2090fa |
Wire bar-color resolver into GanttView + GanttBar |
b722d66c47 |
Render past-due stripe + blocked hatch overlays |
323e93fbba |
Sub-issue progress fill (Status mode only) |
3c0543807d |
Toolbar Color by dropdown with 6 modes |
6a54362064 |
Persist bar-color toolbar state in saved views |
3a7be3d271 |
Expose overlay + progress toggles in ganttViewOptions (Customize-View popover) |
0547f5dcb0 |
Lighten canvas background |
Post-Plan-2-merge polish (3 commits)
| Commit | Description |
|---|---|
c228d5f7f7 |
Compact Group-by + Color-by toolbar dropdowns |
f71613c2d7 |
Shorten GanttColorByNone label + cap select intrinsic width |
Feature summary
- 6 color modes selectable from the toolbar
Color bydropdown:Status(default) — issue lifecycle stagePriority— Urgent / High / Medium / Low / No-priorityAssignee— distinct hue per personComponent— uses the new optionalcolorfield on Component (falls back to a generated hue if unset)Milestone— same pattern with Milestone colorUniform— single color for all bars (good for screenshots / printing)
- Overlay layer rendered on top of any base color:
- Past-due bars get a red left-stripe
- Blocked bars (finish-to-start predecessor not Done) get a diagonal hatch
- Sub-issue progress fill (Status mode only) shows how much of the parent's work is Done
- All toolbar state persists in saved views via 4 new fields on
GanttSavedViewOptions. The Customize-View popover (cog icon) exposes the same toggles throughganttViewOptionsfor users who prefer the popover surface.
Test coverage
plugins/tracker-resourcesjest: 686 tests pass including the new bar-color resolver suitespackages/uijest: 62 tests pass (includes the encoder hardening + leading-hyphen escape from PR9)plugins/view-resourcesjest: 19 tests passsvelte-check: 0 errors across all three packages
Deployment
This branch (feat/gantt-bar-colors) is currently deployed live at https://huly.uray.io as hardcoreeng/front:plan4-pr9-pr10 for hands-on testing. The feature has been validated end-to-end in the browser including saved-view round-trips and dropdown UX.
Companion docs PR
huly-docs#70 — includes bar-coloring.mdx (the dedicated bar-colors reference) plus 8 screenshots of the feature in action.
DCO
All commits in this PR are Signed-off-by: Michael Uray.
Note on rebasing
When PR9 merges upstream, this branch will be rebased to:
- Drop the Plan-2 merge commit (its content arrives via upstream/develop)
- Drop the cherry-picked encoder-hardening + leading-hyphen + marker-scrub commits (also in upstream via PR9)
- Keep only the 16 bar-colors-specific commits listed above
At that point the PR diff will be a clean bar-colors-only delta.
Connected to Huly®: UBERF-16463