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

Make objects request not block the Applications and Source UI loading. #3356

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

jpellizzari
Copy link
Contributor

Closes #2769

Removes the "blocking" behavior that showed a loading spinner even if the query service results are ready.

One issue with the enabled flag on the hook is that it is set based on the useFeatureFlags() hook, which first returns false, and then true once the request completes.

@jpellizzari jpellizzari added the enhancement New feature or request label Sep 13, 2023
Copy link
Contributor

@AlinaGoaga AlinaGoaga left a comment

Choose a reason for hiding this comment

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

Tested and it LGTM, thanks!

One issue with the `enabled` flag is that it is set based on the `useFeatureFlags()` hook, which first returns false, and then true once the request completes.
@jpellizzari jpellizzari merged commit 82e2c2f into main Oct 25, 2023
10 checks passed
@jpellizzari jpellizzari deleted the 2769-apps-blocking branch October 25, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider tweaking apps v2 to minimise the page load impact from slow api calls
2 participants