-
Notifications
You must be signed in to change notification settings - Fork 23
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-17655] Two event workspace #3726
feat: [DHIS2-17655] Two event workspace #3726
Conversation
…-plugins-in-event-programs # Conflicts: # src/core_modules/capture-core/components/Pages/ViewEvent/EventDetailsSection/EventDetailsSection.component.js
…t/DHIS2-17591-plugins-in-event-programs # Conflicts: # i18n/en.pot
…t/DHIS2-17655-two-event-workspace
…t/DHIS2-17655-two-event-workspace
…t/DHIS2-17655-two-event-workspace
…t/DHIS2-17655-two-event-workspace # Conflicts: # i18n/en.pot # src/core_modules/capture-core/components/Pages/EnrollmentEditEvent/PageLayout/DefaultPageLayout.constants.js # src/core_modules/capture-core/components/Pages/common/EnrollmentOverviewDomain/EnrollmentPageLayout/DefaultEnrollmentLayout.types.js
🚀 Deployed on https://deploy-preview-3726--dhis2-capture.netlify.app |
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.
Hi @eirikhaugstulen,
It looks good overall 👏 . I added a comment with the dataElements types that are not properly displayed. Besides that, is it possible to add some cypress tests for this feature?
Thanks!
...modules/capture-core/components/WidgetTwoEventWorkspace/WidgetTwoEventWorkspace.component.js
Outdated
Show resolved
Hide resolved
…t/DHIS2-17655-two-event-workspace
…t/DHIS2-17655-two-event-workspace # Conflicts: # i18n/en.pot # src/core_modules/capture-core/components/DataEntries/common/TEIAndEnrollment/index.js # src/core_modules/capture-core/components/DataEntries/common/TEIAndEnrollment/useMetadataForRegistrationForm/index.js # src/core_modules/capture-core/components/Pages/common/WidgetEventEditWrapper/WidgetEventEditWrapper.js
Thanks for the review @simonadomnisoru! I was missing the clientSubValues, which meant the values was not displaying correctly. Nice catch! |
return { | ||
id, | ||
name, | ||
url: `${absoluteApiPath}/events/files?dataElementUid=${dataElement.id}&eventUid=${eventId}`, |
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.
A reminder that this URL is not working in 2.41
. The fix can be handled along with the rest of the places in DHIS2-17537. Thanks!
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.41,2.41.1,2.40.5,2.39.7 versions
# [101.1.0](v101.0.0...v101.1.0) (2024-08-14) ### Features * [DHIS2-17655] Two event workspace ([#3726](#3726)) ([bad5312](bad5312))
🎉 This PR is included in version 101.1.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Tech-summary: