-
Notifications
You must be signed in to change notification settings - Fork 267
Gapit htmlgraphics panel #731
Gapit htmlgraphics panel #731
Conversation
Oh, did not realize all those commits would've been added. |
821a1b6
to
b23dd91
Compare
Figured it out. Now there's only the commit that should be there. |
Thank you for your patience while waiting for us to review your plugin. We're working hard at improving the plugin experience for both users and authors. I'd like to share some important information on how to package and publish plugins going forward. Since Grafana 7.3, we require all plugins to be signed. By signing your plugin, users can guarantee the integrity of the plugin and that the plugin version they've installed hasn't been modified since it was released. For more information on how to sign your plugin, refer to Sign a plugin. With this, we now require plugins to be packaged before we publish them. This means that instead of a commit containing a Once you've packaged your plugin, you'll need to update your entry to To summarize, to publish your plugin, make sure that you:
Here's an example of a properly packaged plugin. In the same repository, you can find a GitHub Action that signs, packages, and releases the plugin whenever you create a new tag. Once you've created a GitHub release with the packaged plugin, you can right-click the release asset, copy the link, and validate it using the plugin validator. Finally, in the November community call, I'll be walking through the steps needed to sign and package your plugin. A recording will be made available on our YouTube account, in case you can't make it. |
Update with the new sign and package method.
Erhm, I updated the plugin to use the new sign and package method. |
Looks good! I will review this during the coming week. In the meantime, could you please update the repo.json to only list the signed version (which is the one you want me to review and publish). Hopefully that will fix the merge conflicts? Don't worry about the linter for now. We need to update it do account for the new plugin structure. |
Again, thank you for considering contributing your plugin! It's a really cool plugin that provides a ton of flexibility for the user! This could become a really powerful plugin if we can make it a little more user-friendly towards more casual users as well. My initial impression is that the panel targets a rather technical user. I think the main points of improvement is:
Here are a few comments I wrote down while review the plugin:
I'd like to have at least a few of these points addressed before I publish this, to make sure that it's easy to figure out how to use it. |
@marcusolsson , to address some points of your comments.
Since polyfill alters the content of the code I thought it would be smart to make it optional. I doubt anyone would turn it off, but it's always good to have a way of turning something unwanted off.
How I saw someone use this plugin was one person would build the code data the way it is used in the javascript, and someone else changes the values to what they are supposed to be in the code data on the panel. (perefable they would use the htmlgraphics-bundler-template htmlgraphics-bundler-example). I will be working on implementing the rest of the points, I think they will be good improvements. |
Move CSS, htmlNode, onRender, and onInit to Display. grafana/grafana-plugin-repository#731 (comment)
Configuration to show how to connect CSS, HTML, JS, and customProperties grafana/grafana-plugin-repository#731 (comment)
Replaced v1.0.0 with v1.1.0. Most of the points in your comment have been added. v1.1.0 (2020-12-4)Features / enhancements
Bug fixes
|
Thank you! 🙏 v1.1.0 is a massive improvement! So much easier to understand and to experiment with. Well done! I think this is ready to publish. We're currently working out some kinks with the publishing script, but I'll publish this as soon I've worked it out! |
Published! 🎉 |
Seems to be a conflict with the repo.json though. Do you mind fixing it so I can merge this? |
Should be fixed now @marcusolsson |
Grafana panel for displaying metric sensitive HTML and SVG graphics.
More information in the readme.md.