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

Explore: Improve logs volume panel empty state #70240

Merged
merged 4 commits into from
Jun 16, 2023
Merged

Conversation

Elfo404
Copy link
Member

@Elfo404 Elfo404 commented Jun 16, 2023

What is this feature?

When no log volume is available in Explore, the lgos volume panel renders without any content:

image

This PR adds an info instead so that it's more clear for the users to understand why there's no volume graph:

image

Which issue(s) does this PR fix?:

Fixes #65456

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@Elfo404 Elfo404 marked this pull request as ready for review June 16, 2023 13:00
@Elfo404 Elfo404 requested a review from a team as a code owner June 16, 2023 13:00
Copy link
Contributor

@gabor gabor left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@matyax matyax 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!

imagen

@matyax
Copy link
Contributor

matyax commented Jun 16, 2023

Thanks for taking care of this @Elfo404 !

@github-actions
Copy link
Contributor

Backend code coverage report for PR #70240
No changes

@github-actions
Copy link
Contributor

Frontend code coverage report for PR #70240

Plugin Main PR Difference
explore 87.02% 87% -.02%

@Elfo404 Elfo404 merged commit 520cd55 into main Jun 16, 2023
15 checks passed
@Elfo404 Elfo404 deleted the gio/fix/empty-logs-volume branch June 16, 2023 14:58
grafanabot pushed a commit that referenced this pull request Jun 16, 2023
@zerok zerok modified the milestones: 10.0.x, 10.0.1, 10.1.x Jun 20, 2023
@ricky-undeadcoders ricky-undeadcoders modified the milestones: 10.1.x, 10.1.0 Aug 1, 2023
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.

Explore: Logs volume for queries returning no data displays incorrectly
6 participants