grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
61.5k stars 11.74k forks source link

Panel Edit > Inspect JSON > `CMD-F` broken for GrafanaLabs internal hosted Grafana instance #89042

Open samjewell opened 3 weeks ago

samjewell commented 3 weeks ago

On Grafana v11.1.0-71799, for a datasource which has a code-editor, the following doesn't work:

Panel Edit > Inspect JSON > CMD-F

It boots the Browser-find input for the whole webpage, instead of the one instead the text-editor/text-area.

But when I run Grafana v10.4.3 (6e6fbf6a34) locally, I find that this problem doesn't exist. Not sure if the problem was introduced between those two versions, or whether it's related to feature flags/flippers enabled on play.grafana.com

Expected behaviour

This: image

Actual behaviour

This: Screenshot 2024-06-11 at 13 52 26

It's reproduced here: https://play.grafana.org/d/debug-table-footer/issue-23-89042

ashharrison90 commented 3 weeks ago

you can repro on play, you just need a dashboard with a code editor datasource (e.g. https://play.grafana.org/d/T512JVH7z/loki-nginx-service-mesh-json-version?orgId=1&editPanel=5&inspect=5&inspectTab=json)