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

feat: support new dashboard plugin architecture #3082

Open
wants to merge 36 commits into
base: master
Choose a base branch
from

Conversation

edoardo
Copy link
Member

@edoardo edoardo commented Jun 4, 2024

Part of the fix for DHIS2-17268

Requires dhis2/analytics#1672


Key features

  1. use shared dashboard plugin wrapper

Description

Generic components for plugins are available in app-platform and app-runtime.
Analytics apps are currently having the same components replicated in each repo, a shared dashboard plugin wrapper has been added in analytics.


Known issues

  • an infinite loop happened and this seems to solve it, I'm not sure why and if this is a proper solution.

Screenshots

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Jun 4, 2024

🚀 Deployed on https://pr-3082.data-visualizer.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify June 4, 2024 13:52 Inactive
@edoardo edoardo changed the title Refactor/use platform plugin components refactor: use shared dashboard plugin wrapper Jun 4, 2024
@edoardo edoardo requested a review from KaiVandivier June 5, 2024 13:05
@dhis2-bot dhis2-bot temporarily deployed to netlify June 6, 2024 13:09 Inactive
@jenniferarnesen jenniferarnesen changed the base branch from dev to master June 21, 2024 09:48
@edoardo edoardo force-pushed the refactor/use-platform-plugin-components branch 2 times, most recently from ac182a8 to 4b736b2 Compare July 1, 2024 14:05
@dhis2-bot dhis2-bot temporarily deployed to netlify July 1, 2024 14:09 Inactive
@edoardo edoardo marked this pull request as ready for review July 3, 2024 09:57
@dhis2-bot dhis2-bot temporarily deployed to netlify July 3, 2024 09:58 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify August 1, 2024 13:46 Inactive
@edoardo edoardo force-pushed the refactor/use-platform-plugin-components branch from 6822d49 to 86d232d Compare August 2, 2024 13:31
@dhis2-bot dhis2-bot temporarily deployed to netlify August 2, 2024 13:34 Inactive
@edoardo edoardo force-pushed the refactor/use-platform-plugin-components branch from 86d232d to 39740ef Compare August 5, 2024 09:05
@dhis2-bot dhis2-bot temporarily deployed to netlify August 5, 2024 09:08 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 11, 2024 11:51 Inactive
@edoardo edoardo changed the title refactor: use shared dashboard plugin wrapper feat: support new dashboard plugin architecture Nov 11, 2024
@dhis2-bot dhis2-bot temporarily deployed to netlify November 11, 2024 15:12 Inactive
src/PluginWrapper.js Outdated Show resolved Hide resolved
@edoardo edoardo added the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label Nov 12, 2024
Copy link

cypress bot commented Nov 12, 2024

Data Visualizer App    Run #2979

Run Properties:  status check passed Passed #2979  •  git commit a38b4fe576 ℹ️: Merge 6633b99df0f5aae22901b5dbca6d0f17a70390e6 into 2415c4ab9b3a7f8f986a8d6b8e73...
Project Data Visualizer App
Branch Review refactor/use-platform-plugin-components
Run status status check passed Passed #2979
Run duration 11m 12s
Commit git commit a38b4fe576 ℹ️: Merge 6633b99df0f5aae22901b5dbca6d0f17a70390e6 into 2415c4ab9b3a7f8f986a8d6b8e73...
Committer Edoardo Sabadelli
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 734
View all changes introduced in this branch ↗︎

@dhis2-bot dhis2-bot temporarily deployed to netlify November 15, 2024 13:47 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 18, 2024 12:57 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify December 4, 2024 10:48 Inactive
This fixes the issue of DV plugins getting "stuck" in showing an error
even after the cause is removed.
If a dashboard filter is applied and causes a DV visualization to not
have data, an error is shown in the plugin.
When the filter was removed, the error was still shown.
@dhis2-bot dhis2-bot temporarily deployed to netlify December 6, 2024 13:12 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify December 6, 2024 14:53 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify December 11, 2024 14:44 Inactive
@edoardo edoardo removed the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label Dec 12, 2024
@dhis2-bot dhis2-bot temporarily deployed to netlify December 16, 2024 14:41 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.

4 participants