nline / nline-plotlyjs-panel

Plotly.js for Grafana
https://grafana.com/grafana/plugins/nline-plotlyjs-panel/
Apache License 2.0
36 stars 2 forks source link

Grafana 11.1 - Dashboard Crash if error in JS #38

Closed alexl04 closed 3 weeks ago

alexl04 commented 1 month ago

Hi it looks like something changed in grafana again causing the plotly panel to crash the dashboard as soon as there is an error/typo in the script. Some time ago you fixed it for grafana 10 by showing the error message for line x in the panel. Hope this is possible for grafana 11 also. Running the latest version of your plugin

image
jacksongoode commented 1 month ago

Ugh, I'll look into this again. The error handling for panels is quite odd and annoying.

alexl04 commented 1 month ago

I can imagine! The boring part also I assume but I might have good news! After deleting my browser cache etc I did not encounter any issues during debugging JS scripts in the panel anymore. If there is an error or j the script now the error message is like before showing inside the panel and the browser does not crash (chrome).

jacksongoode commented 3 weeks ago

I think there is much better error handling in 1.7.0 so I'll close this hoping it doesn't return :)