Skip to content

fix(3433): virtual job icon sizing on graph redraw#1563

Open
yk634 wants to merge 1 commit intomasterfrom
blcoked-virtual-icon-size
Open

fix(3433): virtual job icon sizing on graph redraw#1563
yk634 wants to merge 1 commit intomasterfrom
blcoked-virtual-icon-size

Conversation

@yk634
Copy link
Contributor

@yk634 yk634 commented Mar 23, 2026

Context

When a virtual job was initially rendered with the virtual icon and later updated to a non-virtual status such as BLOCKED, the workflow graph could keep the previous oversized icon styling after redraw.

image

This happened because the redraw path updated the icon glyph, but the size and position attributes were not being reapplied to the actual text element that renders the icon. As a result, the icon could stay visually enlarged even after the status changed.

Objective

This PR fixes virtual job icon rendering during graph redraw by updating the icon text element directly so that its size and position stay in sync with the current status.

image

References

screwdriver-cd/screwdriver#3433

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants