Skip to content

fix(Icon): remove extra hidden progress icon from success state - #7788

Merged
thatblindgeye merged 1 commit into
patternfly:mainfrom
kmcfaul:icon-vo
Sep 10, 2025
Merged

thatblindgeye merged 1 commit into
patternfly:mainfrom
kmcfaul:icon-vo

Conversation

@kmcfaul

@kmcfaul kmcfaul commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

Closes #7285.

@patternfly-build

patternfly-build commented Sep 3, 2025 •

Copy link
Copy Markdown
Collaborator

@thatblindgeye thatblindgeye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcoker can you just confirm we don't want the __progress container at all for an "in progress" icon that shows a loaded/completed state? Based on docs that's the case but just want to confirm in case we want to keep the container for any future reason.

@mcoker mcoker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mcoker

mcoker commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

@thatblindgeye good question! It does look like the CSS for in progress icons are setup in a way that they may have transitioned/faded between the progress spinner and whatever icon replaces it at some point, but it doesn't transition currently.

&.pf-m-in-progress {
--#{$icon}__content--Opacity: 0;
--#{$icon}__progress--Opacity: 1;
}

I'd say matching the react implementation is what we should do for core, then we can follow up with design and see if there is supposed to be a transition with the icons to/from in-progress, and if so address that in a future issue. No need to hold up this PR as long as core matches react.

@lboehling @kaylachumley wdyt? For an "in progress" icon that could have some icon in it, then on some action, the icon is replaced with a spinner, then when the action is complete, the spinner goes away and either the original or a new icon is shown - should the icons just change immediately? Or should the they fade in/out, so the old icon fades out and the spinner fades in, and when it's done, the spinner fades out and the new icon fades in?

@thatblindgeye
thatblindgeye merged commit 76affa5 into patternfly:main Sep 10, 2025
4 checks passed
@patternfly-build

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.3.0-prerelease.65 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug - Icon - in progress success icon is being announced as though it were "in progress"

4 participants