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

fix: legend sets fail to load in table with data dimension in the row (DHIS2-12830) #2753

Merged
merged 6 commits into from
Oct 23, 2023

Conversation

martinkrulltott
Copy link
Contributor

@martinkrulltott martinkrulltott commented Sep 5, 2023

Implements DHIS2-12830


Key features

  1. allow PT to apply legend when data is in rows

Description

Applying a legend previously required data to be in columns. This was probably a targeting other vis types and shouldn't have been applied to PT (which use both columns and rows interchangeably). This requirement has been bypassed by letting PT have data in either.


Screenshots

before
image

after
image

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Sep 5, 2023

@dhis2-bot dhis2-bot temporarily deployed to netlify September 5, 2023 12:02 Inactive
@cypress
Copy link

cypress bot commented Sep 5, 2023

21 failed tests on run #2443 ↗︎

21 0 0 616 Flakiness 0

Details:

Merge 434b3ab into d4d634e...
Project: Data Visualizer App Commit: 04f95701b4 ℹ️
Status: Failed Duration: 04:22 💡
Started: Oct 9, 2023 7:38 AM Ended: Oct 9, 2023 7:42 AM
Failed  dimensions/data.cy.js • 1 failed test • e2e-chrome-parallel-2.40

View Output Video

Test Artifacts
Data dimension > initial state > navigates to the start page Output Screenshots Video
Failed  options/legend.cy.js • 1 failed test • e2e-chrome-parallel-2.40

View Output Video

Test Artifacts
Options - Legend > Applying a legend: Column > navigates to the start page and adds data items Output Screenshots Video
Failed  options/limitValues.cy.js • 1 failed test • e2e-chrome-parallel-2.40

View Output Video

Test Artifacts
limit values > min and max value display correctly Output Screenshots Video
Failed  dimensions/calculations.cy.js • 1 failed test • e2e-chrome-parallel-2.40

View Output Video

Test Artifacts
Calculations > initial state loads correctly Output Screenshots Video
Failed  open.cy.js • 1 failed test • e2e-chrome-parallel-2.40

View Output Video

Test Artifacts
opening a saved AO > navigates to the start page Output Screenshots Video

The first 5 failed specs are shown, see all 21 specs in Cypress Cloud.

Review all test suite changes for PR #2753 ↗︎

@dhis2-bot dhis2-bot temporarily deployed to netlify September 25, 2023 13:02 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 25, 2023 13:14 Inactive
@martinkrulltott martinkrulltott changed the title fix: legend sets fail to load in data visualizer table that has multiple indicators with data dimension in the row (DHIS2-12830) fix: legend sets fail to load in table with data dimension in the row (DHIS2-12830) Sep 27, 2023
@dhis2-bot dhis2-bot temporarily deployed to netlify October 9, 2023 07:33 Inactive
@martinkrulltott martinkrulltott enabled auto-merge (squash) October 9, 2023 08:24
@dhis2-bot dhis2-bot temporarily deployed to netlify October 23, 2023 08:06 Inactive
@martinkrulltott martinkrulltott merged commit 8666fbb into dev Oct 23, 2023
14 checks passed
@martinkrulltott martinkrulltott deleted the fix/DHIS2-12830-pivot-legends branch October 23, 2023 08:21
martinkrulltott added a commit that referenced this pull request Nov 3, 2023
martinkrulltott added a commit that referenced this pull request Nov 3, 2023
dhis2-bot added a commit that referenced this pull request Nov 8, 2023
## [100.3.1](v100.3.0...v100.3.1) (2023-11-08)

### Bug Fixes

* color set update (DHIS2-16108) ([#2906](#2906)) ([276e741](276e741))
* legend sets fail to load in table with data dimension in the row (DHIS2-12830) ([#2753](#2753)) ([8666fbb](8666fbb))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.3.1 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants