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: distinguish non-existent repetitions from empty values in line lists (DHIS2-15767) #427

Merged
merged 24 commits into from
Nov 30, 2023

Conversation

martinkrulltott
Copy link
Contributor

@martinkrulltott martinkrulltott commented Sep 4, 2023

Implements DHIS2-15767

Requires DHIS2-14420

Requires core patches: 38.5.0, 39.3.1, 40.2.0

Blocked by dhis2/ui#1401


Key features

  1. Adds custom styling and tooltip to undefined cells for repeated events

Description

Extracts the necessary metadata from rowContext to display diagonal lines in a cell which value is undefined (to differentiate it from a cell which is just empty). Currently the only time a cell's value is undefined is if repeated events are used and the repetition goes out of bounds (i.e. there are no events available). There's also a tooltip shown on hover.


TODO

  • Cypress tests
  • Update docs?
  • Manual testing
  • add tooltip from spec using Tooltip from ui

Screenshots

image

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Sep 4, 2023

🚀 Deployed on https://pr-427--dhis2-line-listing.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify September 4, 2023 13:49 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 11, 2023 08:09 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 11, 2023 09:41 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 11, 2023 12:16 Inactive
@martinkrulltott martinkrulltott marked this pull request as ready for review September 12, 2023 10:00
@dhis2-bot dhis2-bot temporarily deployed to netlify September 12, 2023 10:02 Inactive
@cypress
Copy link

cypress bot commented Sep 12, 2023

Passing run #2062 ↗︎

0 502 0 0 Flakiness 0

Details:

Merge c829396 into 2f6e1b3...
Project: line-listing-app Commit: 2105dab000 ℹ️
Status: Passed Duration: 24:03 💡
Started: Nov 29, 2023 3:13 PM Ended: Nov 29, 2023 3:37 PM

Review all test suite changes for PR #427 ↗︎

@dhis2-bot dhis2-bot temporarily deployed to netlify September 13, 2023 12:02 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 25, 2023 09:36 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 25, 2023 11:12 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify October 3, 2023 09:06 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify October 3, 2023 09:18 Inactive
@martinkrulltott martinkrulltott requested a review from a team as a code owner October 6, 2023 07:24
@dhis2-bot dhis2-bot temporarily deployed to netlify October 6, 2023 07:27 Inactive
@martinkrulltott martinkrulltott added the Awaiting Core Release Should not be released / merged until a supported backend version has been released first label Oct 9, 2023
@martinkrulltott
Copy link
Contributor Author

martinkrulltott commented Oct 9, 2023

This requires a backend change (DHIS2-14420) which has been backported but currently hasn't been released yet. The Cypress tests are hence failing on 38, 39, 40. Once the patches are released this PR can be manually tested and merged.

@dhis2-bot dhis2-bot temporarily deployed to netlify November 23, 2023 13:01 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2023 09:23 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2023 09:36 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 27, 2023 09:05 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 27, 2023 15:19 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 29, 2023 10:53 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 29, 2023 14:59 Inactive
@janhenrikoverland janhenrikoverland merged commit 675118d into master Nov 30, 2023
50 checks passed
@janhenrikoverland janhenrikoverland deleted the feat/DHIS2-15767-undefined-cells branch November 30, 2023 10:06
dhis2-bot added a commit that referenced this pull request Nov 30, 2023
# [100.11.0](v100.10.6...v100.11.0) (2023-11-30)

### Features

* distinguish non-existent repetitions from empty values in line lists (DHIS2-15767) ([#427](#427)) ([675118d](675118d))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.11.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
Labels
Analytics Team Testing Awaiting Core Release Should not be released / merged until a supported backend version has been released first on hold released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants