-
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-16764][DHIS2-16759][DHIS2-16781] Changelog #3540
feat: [DHIS2-16764][DHIS2-16759][DHIS2-16781] Changelog #3540
Conversation
…-event-changelog # Conflicts: # i18n/en.pot
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.
Hey @eirikhaugstulen,
It looks like the Viewlog
for the events programs is missing. Is this on purpose for this first iteration?
Thanks!
src/core_modules/capture-core/components/WidgetProfile/WidgetProfile.component.js
Outdated
Show resolved
Hide resolved
...s/capture-core/components/WidgetEventEdit/EditEventDataEntry/EditEventDataEntry.container.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/WidgetsChangelog/Changelog/Changelog.component.js
Outdated
Show resolved
Hide resolved
..._modules/capture-core/components/WidgetsChangelog/common/ChangelogTable/ChangelogTableRow.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/WidgetProfile/WidgetProfile.component.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/WidgetsChangelog/common/hooks/useChangelogData.js
Show resolved
Hide resolved
Thanks everyone for the discussions! Everything should be implemented now 😎 |
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.
Some initial thoughts:
Can we have two consumer-facing Widgets, WidgetEventChangelog
and WidgetTrackedEntityChangelog
, as suggested by the design? The props will be a little bit different for the two. You will need a programId
prop for the TrackedEntityChangelog
that is not needed for the EventChangelog
(it's missing currently, but you need it for the api request), and it will also be easier for the consumer with eventId
and trackedEntityId
instead of the generic entityId.
src/core_modules/capture-core/components/WidgetsChangelog/Changelog/Changelog.container.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/WidgetsChangelog/Changelog/Changelog.container.js
Outdated
Show resolved
Hide resolved
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.
I think it looks really great @eirikhaugstulen 👍 Need to fix the programId
comment, the other comment about the close callback is just a NIT that we don't have to do (but feel free to do it if think it is a good idea)
src/core_modules/capture-core/components/WidgetsChangelog/common/hooks/useChangelogData.js
Show resolved
Hide resolved
src/core_modules/capture-core/components/WidgetsChangelog/common/hooks/useChangelogData.js
Show resolved
Hide resolved
src/core_modules/capture-core/components/WidgetsChangelog/common/hooks/useChangelogData.js
Show resolved
Hide resolved
…-tracked-entity-changelog # Conflicts: # i18n/en.pot
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.
🎉
…-tracked-entity-changelog # Conflicts: # src/core_modules/capture-core-utils/featuresSupport/support.js # src/core_modules/capture-core/components/Pages/EnrollmentEditEvent/EnrollmentEditEventPage.types.js
🚀 Deployed on https://deploy-preview-3540--dhis2-capture.netlify.app |
Tested on: Version | 2.41-SNAPSHOT -- | -- Build revision | f23e034 Build date | March 4, 2024 at 16:39 |
# [100.65.0](v100.64.0...v100.65.0) (2024-03-05) ### Features * [DHIS2-16764][DHIS2-16759][DHIS2-16781] Changelog ([#3540](#3540)) ([fa54ee4](fa54ee4))
🎉 This PR is included in version 100.65.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This ticket implements both types of changelogs. (Will detail more later. API support is not there for TE changelog).