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-18328] Handle log entries for occurredAt, scheduledAt and geometry #3887

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

henrikmv
Copy link
Contributor

@henrikmv henrikmv commented Nov 20, 2024

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 and PolygonCoordinates component.
    • Includes a Show More button
  • serverToClient converter was updated to handle coordinate and polygon data for Changelog.

Copy link

github-actions bot commented Nov 28, 2024

@henrikmv henrikmv marked this pull request as ready for review November 28, 2024 14:31
@henrikmv henrikmv requested a review from a team as a code owner November 28, 2024 14:31
@henrikmv henrikmv marked this pull request as draft November 28, 2024 17:39
@henrikmv henrikmv added e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud testing and removed testing labels Nov 28, 2024
@henrikmv henrikmv added testing and removed testing labels Nov 29, 2024
…/feat/DHIS2-18328_GeometryScheduledAtAndOccuredAtInChangelog
@henrikmv henrikmv added testing and removed testing labels Nov 29, 2024
@henrikmv henrikmv removed the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label Dec 11, 2024
@henrikmv henrikmv marked this pull request as ready for review December 12, 2024 08:46
@henrikmv henrikmv added testing and removed testing labels Dec 12, 2024
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.

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.
Screenshot 2024-12-12 at 15 46 51
Can you have a look? Thanks!

@henrikmv henrikmv added testing and removed testing labels Dec 15, 2024
@simonadomnisoru
Copy link
Contributor

@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:

  • Point - TB visit program stage in the TB program
  • Polygon - Foci response program stage in the Malaria focus investigation program

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants