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-16764][DHIS2-16759][DHIS2-16781] Changelog #3540

Merged
merged 18 commits into from
Mar 5, 2024

Conversation

eirikhaugstulen
Copy link
Contributor

This ticket implements both types of changelogs. (Will detail more later. API support is not there for TE changelog).

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.

Hey @eirikhaugstulen,
It looks like the Viewlog for the events programs is missing. Is this on purpose for this first iteration?
Thanks!

@eirikhaugstulen
Copy link
Contributor Author

Thanks everyone for the discussions! Everything should be implemented now 😎

Copy link
Member

@JoakimSM JoakimSM left a 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.

Copy link
Member

@JoakimSM JoakimSM left a 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)

Copy link
Member

@JoakimSM JoakimSM left a 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
Copy link

github-actions bot commented Mar 5, 2024

@karolinelien
Copy link
Contributor

Tested on:

Version | 2.41-SNAPSHOT -- | -- Build revision | f23e034 Build date | March 4, 2024 at 16:39

@JoakimSM JoakimSM added testing and removed testing labels Mar 5, 2024
@JoakimSM JoakimSM added testing and removed testing labels Mar 5, 2024
@JoakimSM JoakimSM merged commit fa54ee4 into master Mar 5, 2024
37 checks passed
@JoakimSM JoakimSM deleted the eh/feat/DHIS2-16764-tracked-entity-changelog branch March 5, 2024 21:33
dhis2-bot added a commit that referenced this pull request Mar 5, 2024
# [100.65.0](v100.64.0...v100.65.0) (2024-03-05)

### Features

* [DHIS2-16764][DHIS2-16759][DHIS2-16781] Changelog ([#3540](#3540)) ([fa54ee4](fa54ee4))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.65.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.

6 participants