Version Dynamic Text Plugin

Hello.
I used this plugin, now I open the project and see that the plugin is different
As a result, an error is received.
Use according to this guide:

And there is an option to add a js resource, how do I add it in the new version?

That’s described in the Release notes of Business Text Panel 5.0.0

Breaking changes

Requires Grafana 10 and Grafana 11.
Removed external scripts deprecated in Grafana 11. Use import instead.
Removed non-context code parameters. Please update parameters to use context.

@ebabeshko
Thanks, you were right.
But what is the meaning of add import
Where can I add?

@ebabeshko , @mikhailvolkov I use the link https://unpkg.com/leaflet@1.9.4/dist/leaflet.js
How can I import it?

Here is the PR with documentation updates.

I will look into deploying it later today.

2 Likes