Importing the internal Redux actions

I’m developing a custom filtering plugin and I need to call the adhoc actions directly to add/remove my filters.

I wasn’t able to import this action grafana/actions.ts at main · grafana/grafana · GitHub and I’m not sure if it’s exposed publicly? If not, what’s the best way of manually calling the Redux actions?

Thank you

There have been discussions around exposing Redux to plugins, though I don’t think this is possible right now.

My best bet is that we’d build a public API for add/remove filters rather than giving plugins access to Redux.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.