Hi!
Since the custom widget feature was added to HABPanel almost a year ago, there has been quite a lot of awesome widget contributions by the members of this community – and it’s about time they get the spotlight they deserve.
Introducing the widget gallery:
This new HABPanel feature simply uses the Discourse API, the software powering this forum (don’t worry, it doesn’t use more resources than simple browsing) to present a view of the topics with the new widgetgallery tag - turns out, widget was maybe a little bit too generic, but let’s keep both during a transition period - and a details page will display the first post along with other info and will allow either:
- importing the JSON attachments recognized as widgets directly into HABPanel;
- navigating within the same dialog to a referenced GitHub repository (still the recommended approach to publish widgets) where you can do the same - and keep them updated.
Also, to encourage the use of your widgets by all users, the gallery has now direct exposure in the dashboard designer via a “Get more…” entry in the “Add Widget” dropdown menu. Since the custom widgets are often specialized and require some configuration in advance, like binding, items or icons/images to put in the html folder, a handy Help button in the widget’s settings dialog will take you to the relevant forum topic or GitHub readme file.
I added the widgetgallery tag to the relevant threads, but what’s most interesting is: rather than some arbitrary central authority, this gallery will be moderated by the community!
Indeed, calling all members with the “Regular” badge or above : you have the permission to edit the topics’ titles and tags, in other terms, you control what appears in the gallery! So while I’ll certainly do my part, I’m also counting on you to use your new gallery-curating powers when you see a new topic which shouldn’t (or should) belong in it
If this ends up working well, I’m already considering adding more galleries for other types of things users might like to share: themes, dashboards…
You’ll find this feature in the upcoming snapshot builds, but retrieving the gallery info involves the server so make sure it’s connected to the internet - and update your HABPanel bundle, if you use a copy of HABPanel in the html folder it won’t update the server-side parts. As always, feedback is welcome!