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

Panel Inspect JSON: Changing property 'type' doesn't update in dashboard after changing it via inspect JSON and clicking on apply #35479

Open
axelavargas opened this issue Jun 10, 2021 · 1 comment
Labels
area/frontend panel/inspect prio/future Used by the dashboards squad to prioritise their backlog prio/low It's a good idea, but not scheduled for any release team/grafana-dashboards Dashboards squad type/bug

Comments

@axelavargas
Copy link
Member

axelavargas commented Jun 10, 2021

What happened:

Changing type on Panel -> InspectJson does not update the visualization in the dashboard

What you expected to happen:

Visualization is updated if the type is changed.

How to reproduce it (as minimally and precisely as possible):

Go to any timeseries panel in dashboard -> Inspect -> Panel JSON and edit the following property:

"type": "gauge"

changing-type-json

Anything else we need to know?: Able to reproduce in Play Grafana.

Environment: Any

Grafana version: 7.2 and above
Data source type & version: Any
OS Grafana is installed on: Any
User OS & Browser: Any
Grafana plugins: ANy
Others:

@axelavargas axelavargas created this issue from a note in Frontend Platform Backlog (To do) Jun 10, 2021
@axelavargas axelavargas changed the title Panel Inspect Json: Changing type doesn't reflect after changing in inspect JSON and click on apply Panel Inspect Json: Changing type doesn't reflect in dashboard after changing in inspect JSON and click on apply Jun 10, 2021
@axelavargas axelavargas changed the title Panel Inspect Json: Changing type doesn't reflect in dashboard after changing in inspect JSON and click on apply Panel Inspect JSON: Changing property type doesn't update in dashboard after changing it via inspect JSON and clicking on apply Jun 10, 2021
@axelavargas axelavargas changed the title Panel Inspect JSON: Changing property type doesn't update in dashboard after changing it via inspect JSON and clicking on apply Panel Inspect JSON: Changing property 'type' doesn't update in dashboard after changing it via inspect JSON and clicking on apply Jun 10, 2021
@natellium natellium added this to To be prioritised in User essentials squad (deprecated) Jul 14, 2021
@kaydelaney kaydelaney moved this from To be prioritised to To new project in User essentials squad (deprecated) Apr 8, 2022
@natellium natellium removed this from To new project in User essentials squad (deprecated) Apr 8, 2022
@natellium natellium added the prio/low It's a good idea, but not scheduled for any release label Jun 22, 2022
@ryantxu
Copy link
Member

ryantxu commented Sep 14, 2022

This should probably just emit an error -- the current logic locks the type+id since changing them manually can leave things in a pretty odd state.

@natellium natellium added the team/grafana-dashboards Dashboards squad label Jun 23, 2023
@natellium natellium added the prio/future Used by the dashboards squad to prioritise their backlog label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend panel/inspect prio/future Used by the dashboards squad to prioritise their backlog prio/low It's a good idea, but not scheduled for any release team/grafana-dashboards Dashboards squad type/bug
Projects
Status: 📝 Backlog
Development

No branches or pull requests

4 participants