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: [DHIS2-16305] Enrollment Overview Plugins #3515

Merged
merged 34 commits into from Feb 5, 2024

Conversation

eirikhaugstulen
Copy link
Contributor

@eirikhaugstulen eirikhaugstulen commented Jan 25, 2024

TECH summary:

  • Also allow plugins to be installed as part of the custom enrollment overview schema
  • We send in the id's of the context to the plugin

To add a plugin to the dashboard, all the following JSON-object to the enrollment page config (See DHIS2-16262 to understand how to set up the config):

{
    "source": "https://debug.dhis2.org/2.40dev/api/apps/tracker-enrollment-overview-plugin/plugin.html",
    "type": "plugin"
},

…at/DHIS2-16305-EnrollmentOverviewPlugins

# Conflicts:
#	i18n/en.pot
#	package.json
#	src/core_modules/capture-core/metaDataMemoryStoreBuilders/programs/factory/enrollment/EnrollmentFactory.js
#	yarn.lock
…_CustomEnrollmentOverviewSchema

# Conflicts:
#	i18n/en.pot
…-SwitchToPluginComponent

# Conflicts:
#	i18n/en.pot
#	yarn.lock
…-EnrollmentOverviewPlugins

# Conflicts:
#	i18n/en.pot
#	yarn.lock
…at/DHIS2-16305-EnrollmentOverviewPlugins

# Conflicts:
#	i18n/en.pot
#	yarn.lock
…_CustomEnrollmentOverviewSchema

# Conflicts:
#	i18n/en.pot
#	src/core_modules/capture-core/components/Pages/EnrollmentEditEvent/EnrollmentEditEventPage.component.js
#	src/core_modules/capture-core/components/Pages/EnrollmentEditEvent/EnrollmentEditEventPage.container.js
#	src/core_modules/capture-core/components/Pages/EnrollmentEditEvent/EnrollmentEditEventPage.types.js
#	src/core_modules/capture-core/components/WidgetEventEdit/WidgetEventEdit.container.js
#	src/core_modules/capture-core/components/WidgetEventEdit/widgetEventEdit.types.js
…o eh/feat/DHIS2-16305-EnrollmentOverviewPlugins

# Conflicts:
#	i18n/en.pot
@eirikhaugstulen eirikhaugstulen changed the base branch from master to eh/feat/DHIS2-16262_CustomEnrollmentOverviewSchema January 30, 2024 09:42
@eirikhaugstulen eirikhaugstulen marked this pull request as ready for review January 30, 2024 09:50
@eirikhaugstulen eirikhaugstulen requested a review from a team as a code owner January 30, 2024 09:50
Copy link
Contributor

@simonadomnisoru simonadomnisoru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good @eirikhaugstulen, I just added a few small suggestions.

Copy link

github-actions bot commented Jan 31, 2024

Base automatically changed from eh/feat/DHIS2-16262_CustomEnrollmentOverviewSchema to master February 4, 2024 08:24
…-EnrollmentOverviewPlugins

# Conflicts:
#	i18n/en.pot
#	src/core_modules/capture-core/components/Pages/common/EnrollmentOverviewDomain/EnrollmentPageLayout/DefaultEnrollmentLayout.types.js
#	src/core_modules/capture-core/components/Pages/common/EnrollmentOverviewDomain/EnrollmentPageLayout/hooks/useWidgetColumns.js
@eirikhaugstulen eirikhaugstulen merged commit 8e06dbc into master Feb 5, 2024
37 checks passed
@eirikhaugstulen eirikhaugstulen deleted the eh/feat/DHIS2-16305-EnrollmentOverviewPlugins branch February 5, 2024 11:19
dhis2-bot added a commit that referenced this pull request Feb 5, 2024
# [100.55.0](v100.54.0...v100.55.0) (2024-02-05)

### Features

* [DHIS2-16305] Enrollment Overview Plugins ([#3515](#3515)) ([8e06dbc](8e06dbc))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.55.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

3 participants