Skip to content

Reserve graph header width for loop-group iteration badge - #75076

Merged
vatsrahul1001 merged 1 commit into
apache:mainfrom
astronomer:fix-graph-loop-badge-overlap
Oct 19, 2026
Merged

vatsrahul1001 merged 1 commit into
apache:mainfrom
astronomer:fix-graph-loop-badge-overlap

Conversation

@vatsrahul1001

Copy link
Copy Markdown
Contributor

A looped Task Group renders an inline iteration badge (loop icon + iteration count) in its graph-node header. The node width, however, was measured only from the label plus the "+ N tasks" button, with no room for the badge. The badge therefore overflowed into the button's space and overlapped it — e.g. a single-task loop group showed as "3 Tasks" (the loop count "3" colliding with the "+ 1 Task" button).

This adds the badge's width (loop icon + count) to the measured node width for loop groups, so the badge and the task-count button no longer overlap.

Before :
image

After
image


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 19, 2026
A looped Task Group renders an inline iteration badge (loop icon + count)
in its graph-node header, but the node width was measured only from the
label plus the "+ N tasks" button. The badge therefore overflowed into
the button's space, overlapping it (e.g. rendering as "3 Tasks" for a
single-task loop group). Add the badge width to the measured node width.
@vatsrahul1001
vatsrahul1001 force-pushed the fix-graph-loop-badge-overlap branch from bf18c57 to 7939dd4 Compare October 19, 2026 09:12
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.4.0 milestone Oct 19, 2026
@vatsrahul1001
vatsrahul1001 merged commit 27c8cd7 into apache:main Oct 19, 2026
78 checks passed
@vatsrahul1001
vatsrahul1001 deleted the fix-graph-loop-badge-overlap branch October 19, 2026 12:30
bbovenzi pushed a commit that referenced this pull request Oct 19, 2026
…75095)

A looped Task Group renders an inline iteration badge (loop icon + count)
in its graph-node header, but the node width was measured only from the
label plus the "+ N tasks" button. The badge therefore overflowed into
the button's space, overlapping it (e.g. rendering as "3 Tasks" for a
single-task loop group). Add the badge width to the measured node width.

(cherry picked from commit 27c8cd7)
vatsrahul1001 added a commit that referenced this pull request Oct 20, 2026
…75095)

A looped Task Group renders an inline iteration badge (loop icon + count)
in its graph-node header, but the node width was measured only from the
label plus the "+ N tasks" button. The badge therefore overflowed into
the button's space, overlapping it (e.g. rendering as "3 Tasks" for a
single-task loop group). Add the badge width to the measured node width.

(cherry picked from commit 27c8cd7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants