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-13299][DHIS2-16291] Related Stages #3488

Merged
merged 23 commits into from
Apr 25, 2024

Conversation

eirikhaugstulen
Copy link
Contributor

@eirikhaugstulen eirikhaugstulen commented Dec 19, 2023

TECH-summary:
This widget checks if there are a relationship type of program stage to program stage. If there are on, there is a widget appearing underneath the New Enrollment event form.

How to test:

  1. Create a new relationship type
  2. This type should be Event in program or program stage => Event in program or program stage in the same program
  3. Make sure to check the sharing setting so that the user can capture data
image

This PR is made up of several issues who have all been reviewed. Please only check the latest commit

jasminenguyennn and others added 14 commits December 2, 2022 14:02
* feat: [DHIS2-13439] add referral actions to new event page

* feat: [DHIS2-13439] referral actions

* chore: [DHIS2-13672] update use referral using index db
# Conflicts:
#	i18n/en.pot
#	src/core_modules/capture-core/components/Pages/common/EnrollmentOverviewDomain/enrollment.actions.js
#	src/core_modules/capture-core/components/Pages/common/EnrollmentOverviewDomain/index.js
#	src/core_modules/capture-core/metaData/RelationshipType/RelationshipType.js
#	src/core_modules/capture-core/metaDataStoreLoaders/baseLoader/quickStoreOperations/storeRelationshipTypes.js
#	src/core_modules/capture-core/reducers/descriptions/enrollmentDomain.reducerDescription.js
# Conflicts:
#	src/core_modules/capture-core/utils/reactQueryHelpers/query/useApiDataQuery.js
…_RelatedStagesRebrand

# Conflicts:
#	i18n/en.pot
#	src/core_modules/capture-core/components/WidgetEnrollmentEventNew/Validated/getConvertedAddEvent.js
#	src/core_modules/capture-core/reducers/descriptions/enrollmentDomain.reducerDescription.js
@eirikhaugstulen eirikhaugstulen changed the base branch from DHIS2-13299-referrals to master February 29, 2024 14:47
@eirikhaugstulen eirikhaugstulen changed the title feat: [DHIS2-16291] RelatedStages rebrand feat: [DHIS2-13299][DHIS2-16291] Related Stages Feb 29, 2024
@eirikhaugstulen eirikhaugstulen marked this pull request as ready for review February 29, 2024 14:52
@eirikhaugstulen eirikhaugstulen requested a review from a team as a code owner February 29, 2024 14:52
…_RelatedStagesRebrand

# Conflicts:
#	i18n/en.pot
Copy link

github-actions bot commented Mar 4, 2024

@simonadomnisoru
Copy link
Contributor

Tested successfully on 2.41, 2.40.4, 2.39.6, 2.38.7 versions

…_RelatedStagesRebrand

# Conflicts:
#	i18n/en.pot
#	src/core_modules/capture-core/components/Pages/EnrollmentAddEvent/EnrollmentAddEventPageDefault/EnrollmentAddEventPageDefault.container.js
#	src/core_modules/capture-core/components/Pages/EnrollmentEditEvent/EnrollmentEditEventPage.container.js
#	src/core_modules/capture-core/components/Pages/common/EnrollmentOverviewDomain/enrollment.actions.js
#	src/core_modules/capture-core/components/Pages/common/EnrollmentOverviewDomain/index.js
#	src/core_modules/capture-core/components/WidgetEnrollmentEventNew/Validated/Validated.container.js
#	src/core_modules/capture-core/components/WidgetEnrollmentEventNew/Validated/getConvertedAddEvent.js
#	src/core_modules/capture-core/components/WidgetEnrollmentEventNew/Validated/validated.actions.js
#	src/core_modules/capture-core/components/WidgetEnrollmentEventNew/Validated/validated.epics.js
#	src/core_modules/capture-core/reducers/descriptions/enrollmentDomain.reducerDescription.js
…_RelatedStagesRebrand

# Conflicts:
#	i18n/en.pot
@eirikhaugstulen
Copy link
Contributor Author

Thanks for the review! All updated now.

@JoakimSM JoakimSM merged commit 85f38be into master Apr 25, 2024
51 of 52 checks passed
@JoakimSM JoakimSM deleted the eh/feat/DHIS2-16291_RelatedStagesRebrand branch April 25, 2024 08:24
dhis2-bot added a commit that referenced this pull request Apr 25, 2024
# [100.68.0](v100.67.12...v100.68.0) (2024-04-25)

### Features

* [DHIS2-13299][DHIS2-16291] Related Stages ([#3488](#3488)) ([85f38be](85f38be))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.68.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants