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

fix(dashboards-eap): Show preflight table results during loading #88850

Merged

Conversation

narsaynorath
Copy link
Member

When the table was loading, it would show a placeholder over the data so we wouldn't be able to see the preflight results. This removes the placeholder for span table widgets so we can see the underlying data.

I also had to update the widget queries component to pass along the loading prop or else it used to get overridden by the cached (i.e. stored in a state variable) results from the best effort request.

@narsaynorath narsaynorath requested a review from a team as a code owner April 4, 2025 20:51
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 4, 2025
This is unnecessary for now
@@ -170,7 +170,7 @@ function SpansWidgetQueriesProgressiveLoadingImpl({
// the best effort query has completed.
children({
...(bestEffortChildrenProps ?? preflightProps),
isProgressivelyLoading: preflightProps.loading,
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not actually using isProgressivelyLoading at the moment, but loading is being used. I'm removing it from here but I'll revisit it when I come back to fixing up the UI from the higher component.

@narsaynorath narsaynorath merged commit 6b2ab12 into master Apr 7, 2025
41 checks passed
@narsaynorath narsaynorath deleted the nar/feat/dashboards-eap-show-intermediate-table-results branch April 7, 2025 17:30
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
)

When the table was loading, it would show a placeholder over the data so
we wouldn't be able to see the preflight results. This removes the
placeholder for span table widgets so we can see the underlying data.

I also had to update the widget queries component to pass along the
loading prop or else it used to get overridden by the cached (i.e.
stored in a state variable) results from the best effort request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants