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

Grafana 10.2.0 broke the "&kiosk" query string flag resulting in chart heading/filters showing up #430

Open
rv-kip opened this issue Nov 13, 2024 · 4 comments

Comments

@rv-kip
Copy link

rv-kip commented Nov 13, 2024

Problem/Motivation

I started seeing Grafana headers/filters in my iframe cards even with &kiosk in the query string for the chart url

Expected behavior

No header/filter displayed when &kiosk is in the url. Just the chart/graph displays.

Actual behavior

I am seeing headers and filters for all my iFrame Grafana charts when &kiosk is in the url. Downgrading to Grafana Add-On V10.1.1 fixed the issue

Steps to reproduce

Create an iframe card using a local Grafana link with 10.2.0 and notice the displayed heading/filter. Downgrading to Grafana Add-On V10.1.1 fixed the issue
Ex:

type: iframe
url: >-
  http://192.168.86.22:3000/api/hassio_ingress/.../charts?orgId=1&viewPanel=3&kiosk

Proposed changes

(If you have a proposed change, workaround or fix,
describe the rationale behind it)

@PetrMa
Copy link

PetrMa commented Nov 16, 2024

I have the same issue after update from Grafana v11.3.0 (d9455ff7db) to Grafana v11.2.2 (c47b921ef4)
As I think this issue is related to Grafana, not this plugins I create a bug report on Grafana Github also
grafana/grafana#96595

@sithmein
Copy link

According to https://grafana.com/docs/grafana/latest/whatsnew/whats-new-in-v11-3/#scenes-powered-dashboards-are-generally-available you have to add additional query parameters now, such as _dash.hideTimePicker. It requires modifications to all existing dashboard though. This should have been done the other way, add parameters to show controls on demand.

@PetrMa
Copy link

PetrMa commented Nov 18, 2024

adding &_dash.hideTimePicker to my URL solved my problem. thanks

@rv-kip
Copy link
Author

rv-kip commented Nov 20, 2024

I can't recall where I dug up the &kiosk flag. If this is a Grafana change, then I suppose this ticket can be closed.

Update
I had to use both flags to hide all filtering headers: &_dash.hideTimePicker&kiosk

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

No branches or pull requests

3 participants