-
Notifications
You must be signed in to change notification settings - Fork 22
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-18328] Handle log entries for occurredAt, scheduledAt and geometry #3887
base: master
Are you sure you want to change the base?
feat: [DHIS2-18328] Handle log entries for occurredAt, scheduledAt and geometry #3887
Conversation
🚀 Deployed on https://deploy-preview-3887.capture.netlify.dhis2.org |
…/feat/DHIS2-18328_GeometryScheduledAtAndOccuredAtInChangelog
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 @henrikmv,
In addition to the comments in the code, I also noticed that occurredAt
and scheduledAt
are missing the time part. According to the Jira ticket, they should be displayed the same way as the DATETIME
value type.
Can you have a look? Thanks!
src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/Coordinates/MinimalCoordinates/MinimalCoordinates.js
Outdated
Show resolved
Hide resolved
...ure-core/components/WidgetEventEdit/EventChangelogWrapper/EventChangelogWrapper.component.js
Outdated
Show resolved
Hide resolved
src/core_modules/capture-core/components/Coordinates/PolygonCoordinates/PolygonCoordinates.js
Outdated
Show resolved
Hide resolved
@henrikmv, the code LGTM now 👏 ! Is it possible to add some cypress scenarios for the changelog geometry? The following program stage metadata is already set up in the Serra Leona DB and can be used:
Thanks! |
DHIS2-18328
EventChangelogWrapper
component now includes additional fields for geometry based on the feature type.ChangelogValueCell
component styles were adjusted for better display.useListDataValues
hook was updated to handle the new property field.clientToList
converter was updated to use the new andPolygonCoordinates
component.serverToClient
converter was updated to handle coordinate and polygon data for Changelog.