grafana-toolbox / panodata-map-panel

Map Panel for Grafana with improved convenience, robustness and features. Friendly fork of the original Grafana Worldmap Panel. Currently not maintained, but verified to work up to Grafana 9.
https://community.panodata.org/t/grafana-map-panel/121
GNU Affero General Public License v3.0
88 stars 31 forks source link

Do not refresh page for clickthrough #105

Open Kisalci90 opened 3 years ago

Kisalci90 commented 3 years ago

Hi,

First of all, thank you for your awesome work. I want to use the clickthrough link to change the variable because I want to refresh a panel that is on the same page based on a selected circle. I set the current dashboard URL and only changed the variable Dashboard link: https://my-grafana/d/wE3-8E6Gz/dashboard?orgId=1 Clickthrough link: https://my-grafana/d/wE3-8E6Gz/dashboard?orgId=1&var-store=$key and also set the clickthrough window to _self. Unfortunately, the whole page is reloading if I click on the circle, can I solve it somehow to not be reloaded?

amotl commented 3 years ago

Dear @Kisalci90,

thank you very much for writing in. Your request resonates very much with us.

At the time we conducted some research and wrote down [1], this was apparently not yet possible, neither for Grafana and other plugins, nor for the map panel plugin.

In the meanwhile, @marcusolsson outlined that Grafana gained a more diverse set of link flavors (Dashboard-, Panel- and Data-Links), see [2].

Unfortunately, those kinds of links are not implemented for the clickthrough-subsystem of the map panel yet.

With kind regards, Andreas.

[1] https://community.panodata.org/t/flexible-variable-updates-for-grafana/125 [2] https://community.panodata.org/t/grafana-dashboard-navigation-using-links/144

mdraevich commented 3 years ago

Dear @Kisalci90,

thank you very much for writing in. Your request resonates very much with us.

At the time we conducted some research and wrote down [1], this was apparently not yet possible, neither for Grafana and other plugins, nor for the map panel plugin.

In the meanwhile, @marcusolsson outlined that Grafana gained a more diverse set of link flavors (Dashboard-, Panel- and Data-Links), see [2].

Unfortunately, those kinds of links are not implemented for the clickthrough-subsystem of the map panel yet.

With kind regards, Andreas.

[1] https://community.panodata.org/t/flexible-variable-updates-for-grafana/125 [2] https://community.panodata.org/t/grafana-dashboard-navigation-using-links/144

Hello!

Could you answer my question... What's the difference between Link behavior of your plugin and Text plugin with markdown link? Actually there is a huge difference in user experience, because Text plugin do not reload the entire page, just the viewport, so that's become faster than your plugin does.

I'm looking for changing the variable on node-click on the map. If you could give me a piece of advice how to do it with your plugin in the right way, I'll appreciate it!