Repository navigation
Mark task-group aggregate bars on Gantt with a diagonal stripe - #72894
Merged
bbovenzi merged 1 commit intoSep 15, 2026
Merged
Conversation
A collapsed TaskGroup renders on the Gantt as a single bar spanning the envelope of its children's runtime. That bar looked identical to a real task and read as one very long-running task at a glance, exactly the confusion the linked issue describes. Overlay a diagonal stripe on group aggregate bars so they are visually distinct from real task bars while keeping their duration and position (so groups still line up with the sidebar for organisation). Composes on top of the badge's solid state colour so state is still legible. closes: apache#72434
pierrejeambrun
requested review from
bbovenzi,
choo121600,
guan404ming,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
September 10, 2026 15:13
Member
Author
|
Screenshots on the Before — group_a / group_b bars look identical to real tasks: After — group_a / group_b bars carry the diagonal hatch so they visibly read as aggregates: Aggregate duration and position are unchanged (rows still align with the sidebar for organisation) — only the fill pattern differs. Also tested in dark mode and with other task state, looks good. |
bbovenzi
approved these changes
Sep 15, 2026
Contributor
Backport successfully created: v3-3-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
aws-airflow-bot
pushed a commit
to aws-mwaa/upstream-to-airflow
that referenced
this pull request
Sep 15, 2026
…tripe (apache#72894) A collapsed TaskGroup renders on the Gantt as a single bar spanning the envelope of its children's runtime. That bar looked identical to a real task and read as one very long-running task at a glance, exactly the confusion the linked issue describes. Overlay a diagonal stripe on group aggregate bars so they are visually distinct from real task bars while keeping their duration and position (so groups still line up with the sidebar for organisation). Composes on top of the badge's solid state colour so state is still legible. (cherry picked from commit e4352cd) Co-authored-by: Pierre Jeambrun <[email protected]> closes: apache#72434
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


A collapsed TaskGroup renders on the Gantt chart as a single bar spanning the
envelope of its children's runtime. That bar looks identical to a real task and
reads as one very long-running task at a glance — the confusion the linked
issue describes.
Overlay a diagonal stripe (
repeating-linear-gradient) on group aggregate barsso they are visually distinct from real task bars while keeping their duration
and position (so groups still line up with the sidebar for organisation). The
gradient composes on top of the badge's solid state color, so state remains
legible.
The stripe is applied via a
styleprop on the existing<Badge>rather thanan overlay element, keeping the diff tiny (one file, 12 source lines) and
preserving existing tooltip and click behavior unchanged.
Regression test in
GanttTimeline.test.tsx— mounts a group node next to aregular task node and asserts the group bar carries the diagonal-stripe
overlay while the regular bar does not. Verified locally: fails on
main,passes on this branch.
closes: #72434
Supersedes #72435 (thanks to @Kunal8954 for the earlier exploration and to
@jroachgolf84 for suggesting the hatch approach in that thread).
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Opus 4.7) following the guidelines