open-nomie / nomie6-oss

Opensource version of Nomie 6
MIT License
498 stars 54 forks source link

Enhancement: different widgets for single plugin #50

Closed RdeLange closed 1 year ago

RdeLange commented 1 year ago

Enhancement #47

This enhancement will enable multiple different widgets for a single plugin.

For testing purposes I have created a Plugin with multiple widgets. It is a Wordcloud plugin which will let you add wordcloud widgets to the Nomie dashboard. Users can configure wordclouds via the plugin. Each wordcloud configuration will be available as a separate widget for this plugin.

How to test:

  1. install the wordcloud plugin: https://dailynomie.github.io/nomie-plugin-widget-wordcloud/
  2. open the plugin once to have it initialized
  3. exit the plugin
  4. Go to the Nomie dashboard and click on add a widget => select the wordcloud widget. You will see a selection field, you can now select one of the widgets belonging to this plugin:
Screenshot 2023-02-11 at 23 13 48
netlify[bot] commented 1 year ago

Deploy Preview for nomie6-oss ready!

Name Link
Latest commit edc88896c3e35ce5784c5bdf5b52cad44d93074e
Latest deploy log https://app.netlify.com/sites/nomie6-oss/deploys/63e8173185e68a0008faf868
Deploy Preview https://deploy-preview-50--nomie6-oss.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

donalmacanri commented 1 year ago

The only issue I could find was the first time I add a widget belonging to a plugin after adding the plugin, the widget options (in the case of word cloud, "select a widget") don't appear. If I edit the widget, they do appear, and if I add the widget again, they also appear.