Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new loading indicator method #5079

Merged
merged 7 commits into from
Oct 2, 2024
Merged

new loading indicator method #5079

merged 7 commits into from
Oct 2, 2024

Conversation

willmcgugan
Copy link
Collaborator

@willmcgugan willmcgugan commented Oct 2, 2024

Replaces the current method of setting a loading indicator, with a newer mechanism that doesn't suffer from the problem that it turns widgets into containers.

This change does mean that you can't query for the loading indicator. I don't think anyone will care. It's more of a problem to accidentally query it. If someone complains, we can add an accessor of some kind.

As an aside, it wasn't too hard to add this mechanism where things can be rendered but aren't in the DOM. We may want to do this for tooltips and notifications.

Fixes #3935

@willmcgugan willmcgugan marked this pull request as draft October 2, 2024 13:35
@willmcgugan willmcgugan marked this pull request as ready for review October 2, 2024 13:43
@darrenburns
Copy link
Member

This change does mean that you can't query for the loading indicator.

It's still selectable via CSS though right?

@willmcgugan
Copy link
Collaborator Author

Yeah, you can still style it.

Copy link
Member

@darrenburns darrenburns left a comment

Choose a reason for hiding this comment

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

Looks good.

@willmcgugan willmcgugan merged commit d6e2718 into main Oct 2, 2024
20 checks passed
@willmcgugan willmcgugan deleted the loading-redux branch October 2, 2024 16:26
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.

Widget.loading can cause widgets to disappear
2 participants