dashboard-app icon indicating copy to clipboard operation
dashboard-app copied to clipboard

refactor: iframe plugin support

Open edoardo opened this issue 3 years ago • 2 comments

Extend the dashboard item search to include the event visualizations.

Implement the new secure iframe plugin solution needed for LL and DV plugins and the other ones that will follow. These dashboard items are rendered as iframe tags pointing to the location of the plugin. Normally the URL used is the one specified in pluginLaunchUrl returned by the apps API. There is a backdoor which is enabled only in dev mode where it's possible to override those locations via localStorage for development/testing purposes (ie. pointing a plugin to a port on localhost where the plugin runs).

Here's an example of override for both DV and LL plugins: Screenshot 2022-11-09 at 16 17 47

edoardo avatar Sep 19 '22 13:09 edoardo

🚀 Deployed on https://pr-2110--dhis2-dashboard.netlify.app

dhis2-bot avatar Sep 19 '22 13:09 dhis2-bot

:tada: This PR is included in version 99.10.11 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

dhis2-bot avatar Mar 07 '23 09:03 dhis2-bot