Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: support bundled LL app (DHIS2-17400) #3238

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edoardo
Copy link
Member

@edoardo edoardo commented Mar 10, 2025

Implements DHIS2-17400


Key features

  1. ensure LL plugin is loaded when LL is bundled

Description

Since api/apps does not return bundled apps that don't have a manually installed version, a hardcoded path is needed for pointing the iframe to the correct plugin. This is the same approach we already use for DV and Maps.

This change shouldn't affect the existing way of loading the LL plugin as currently the pluginLaunchUrl from api/apps is always used if LL app is installed.
The manually installed versions always take precedence, the bundled apps hardcoded paths are used as fallback.


TODO

  • Confirm the app path once the ticket is done
  • Test when a bundled LL app is installed on some instance

Since api/apps does not return bundled apps that don't have a manually
installed version, a hardcoded path is needed for pointing the iframe to the correct plugin.
This is the same approach we already use for DV and Maps.
@edoardo edoardo requested a review from jenniferarnesen March 10, 2025 10:50
@dhis2-bot
Copy link
Contributor

🚀 Deployed on https://pr-3238.dashboard.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify March 10, 2025 10:51 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants