VolkovLabs / business-forms

The Business Forms panel is a conceptually new plugin for Grafana. It is the first plugin that allows inserting and updating application data, as well as modifying configuration directly from your Grafana dashboard.
https://docs.volkovlabs.io
Apache License 2.0
86 stars 10 forks source link

Add getTimeSrv() as timeService as global #265

Closed jacksongoode closed 11 months ago

jacksongoode commented 1 year ago

This would allow soft refreshes that just requery the panel's. This is useful in a situation where the form panel inserts new data and we don't want a full hard refresh from locationService.reload(). We can instead use getTimeSrv().refreshDashboard().

jacksongoode commented 1 year ago

Realizing this might not exist in the current Grafana code base... I wonder where they moved this function?

asimonok commented 11 months ago

@jacksongoode we've added context.refresh function which refreshes the dashboard. Please let us know if it works for you