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

PublicDashboards: Query collapsed panels inside rows #64779

Merged
merged 2 commits into from
Mar 15, 2023

Conversation

evictorero
Copy link
Contributor

What is this feature?
Load panel queries inside collapsed rows.

Which issue(s) does this PR fix?:

Fixes #58702

Special notes for your reviewer:
When a public dashboard loads queries from the dashboard model it ignores those panels inside a panel of type=row and collapsed rows.
Added a recursive call to load all panels inside collapsed rows so when a user wants to unfold the row, the panel it's found and the query request returns the data.

@evictorero evictorero added add to changelog area/public-dashboards backport v9.4.x Mark PR for automatic backport to v9.4.x labels Mar 14, 2023
@evictorero evictorero added this to the 9.5.0 milestone Mar 14, 2023
@evictorero evictorero requested a review from a team as a code owner March 14, 2023 22:47
@evictorero evictorero requested review from axelavargas, polibb and juanicabanas and removed request for a team March 14, 2023 22:47
@grafanabot
Copy link
Contributor

Hello @evictorero!
Backport pull requests need to be either:

  • Pull requests which address bugs,
  • Urgent fixes which need product approval, in order to get merged,
  • Docs changes.

Please, if the current pull request addresses a bug fix, label it with the type/bug label.
If it already has the product approval, please add the product-approved label. For docs changes, please add the type/docs label.
If none of the above applies, please consider removing the backport label and target the next major/minor release.
Thanks!

@evictorero evictorero merged commit 3f5acf3 into main Mar 15, 2023
@evictorero evictorero deleted the evictorero/public-dashboards-panels-inside-rows branch March 15, 2023 15:44
grafanabot pushed a commit that referenced this pull request Mar 15, 2023
@evictorero evictorero removed the backport v9.4.x Mark PR for automatic backport to v9.4.x label Mar 16, 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.

Public Dashboards: Impossible to unfold a folded row in the public dashboard.
3 participants