-
Notifications
You must be signed in to change notification settings - Fork 24
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-18325] Show orgunit selector in the new event form #3879
feat: [DHIS2-18325] Show orgunit selector in the new event form #3879
Conversation
…_showOrgUnitSelectorInNewEventForm
🚀 Deployed on https://deploy-preview-3879.capture.netlify.dhis2.org |
…_showOrgUnitSelectorInNewEventForm
…_showOrgUnitSelectorInNewEventForm
...ents/WidgetEnrollmentEventNew/DataEntry/fieldValidators/orgUnit.validatorContainersGetter.js
Outdated
Show resolved
Hide resolved
..._modules/capture-core/components/WidgetEnrollmentEventNew/SavingText/SavingText.component.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/FormFields/New/HOC/withCenterPoint.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/WidgetEnrollmentEventNew/Validated/useLifecycle.js
Outdated
Show resolved
Hide resolved
b0eea46
to
a4bf697
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested successfully on 2.42,1.41.4,2.40.7.23.9.9 versions
…_showOrgUnitSelectorInNewEventForm
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
# [101.23.0](v101.22.0...v101.23.0) (2025-01-24) ### Features * [DHIS2-18325] Show orgunit selector in the new event form ([#3879](#3879)) ([f07b4d4](f07b4d4))
🎉 This PR is included in version 101.23.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
DHIS2-18325
Integrated an organisational unit selector within the Report tab.
Made the organisational unit field mandatory and implemented validation within the form.
Blocked changes to the organisational unit field in the context selector on the "New Event" page by setting the new isReadOnly property to true.
Enabled automatic selection of the organisational unit in the "New Event" form when an organisational unit is selected in the context selector.
Removed Cypress tests for clearing the organisational unit on the "New Event" page since this action is now blocked.
The rules engine was managed by @JoakimSM.