So we’ve been experimenting a bit with React plugins for grafana and
I would like to fire some code in my plugin whenever the user changes the dashboard timerange.
In the PanelProps interface interface I found the method onChangeTimeRange which I implemented. (https://github.com/wouterdt/grafana-react-testpanel/blob/f20fe0bb92b85a75ecb105ca80ea2ee06156f0ef/src/module.tsx#L16)
However the event never seems to fire. Does anyone know of any example where such a behaviour is implemented.
Any help would be appreciated, as the existing examples I could find are rather limited to just show some text.