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: org unit filter dialog crash (DHIS2-13816) #2118

Merged
merged 8 commits into from
Sep 27, 2022

Conversation

edoardo
Copy link
Member

@edoardo edoardo commented Sep 27, 2022

Fixes https://dhis2.atlassian.net/browse/DHIS2-13816.

The OrgUnitDialog from analytics had a breaking change in v21.0.0, a different set of props is needed to make it work.

Before, the app crashed when trying to open the Org Unit filter dialog:
Screenshot 2022-09-27 at 14 30 25

After, it works:

Screenshot 2022-09-27 at 13 53 14

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Sep 27, 2022

🚀 Deployed on https://pr-2118--dhis2-dashboard.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify September 27, 2022 12:35 Inactive
@edoardo edoardo changed the title fix: Org unit filter dialog crash (DHIS2-13816) fix: org unit filter dialog crash (DHIS2-13816) Sep 27, 2022
@dhis2-bot dhis2-bot temporarily deployed to netlify September 27, 2022 13:01 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 27, 2022 13:06 Inactive
@cypress
Copy link

cypress bot commented Sep 27, 2022



Test summary

55 4 0 0


Run details

Project dashboards-app
Status Failed
Commit c590800
Started Sep 27, 2022 5:18 PM
Ended Sep 27, 2022 5:26 PM
Duration 07:38 💡
OS Linux Ubuntu - 20.04
Browser Electron 87

View run in Cypress Dashboard ➡️


Failures

view_errors.feature Failed
1 Errors while in view mode > Item visualization fails when filter applied and viewed as table [DHIS2-11303]
item_context_menu.feature Failed
1 Item context menu > View chart as table
2 Item context menu > View chart as map
3 Item context menu > View table as chart

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@dhis2-bot dhis2-bot temporarily deployed to netlify September 27, 2022 14:49 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 27, 2022 16:51 Inactive
@jenniferarnesen jenniferarnesen merged commit c1ce958 into master Sep 27, 2022
@jenniferarnesen jenniferarnesen deleted the fix/orgunit-dialog-crash-DHIS2-13812 branch September 27, 2022 17:32
@edoardo edoardo restored the fix/orgunit-dialog-crash-DHIS2-13812 branch September 28, 2022 08:58
dhis2-bot added a commit that referenced this pull request Sep 28, 2022
## [99.9.15](v99.9.14...v99.9.15) (2022-09-28)

### Bug Fixes

* fix ItemSelector overflow issue DHIS2-13811 ([#2112](#2112)) ([45435b8](45435b8))
* org unit filter dialog crash (DHIS2-13816) ([#2118](#2118)) ([c1ce958](c1ce958))
* **translations:** sync translations from transifex (master) ([#2087](#2087)) ([af6d26e](af6d26e))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 99.9.15 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@edoardo edoardo deleted the fix/orgunit-dialog-crash-DHIS2-13812 branch September 28, 2022 13:35
edoardo added a commit that referenced this pull request Sep 29, 2022
Fixes https://dhis2.atlassian.net/browse/DHIS2-13816.

The OrgUnitDialog from analytics had a breaking change in v21.0.0, a different set of props is needed to make it work.

Several Cypress tests were updated to work with the new OrgUnitDimension component. There are still 4 cypress tests failing because of a real bug in the app.

(cherry picked from commit c1ce958)
edoardo added a commit that referenced this pull request Sep 29, 2022
* chore: pass GITHUB_TOKEN as env param (#2115) (#2116)

Co-authored-by: Martin <martin@moid.se>
(cherry picked from commit 578c3ca)

* fix: fix ItemSelector overflow issue DHIS2-13811 (#2112)

Fixes an overflow issue in the ItemSelector,the actual fix is in @dhis2/ui, so a bump to latest version solves the issue.

(cherry picked from commit 45435b8)

* fix: org unit filter dialog crash (DHIS2-13816) (#2118)

Fixes https://dhis2.atlassian.net/browse/DHIS2-13816.

The OrgUnitDialog from analytics had a breaking change in v21.0.0, a different set of props is needed to make it work.

Several Cypress tests were updated to work with the new OrgUnitDimension component. There are still 4 cypress tests failing because of a real bug in the app.

(cherry picked from commit c1ce958)

* chore: bump DV plugin and analytics deps DHIS2-13812 (#2123)

(cherry picked from commit 7926d5a)

Co-authored-by: Jen Jones Arnesen <jennifer@dhis2.org>
edoardo added a commit that referenced this pull request Oct 10, 2022
Fixes https://dhis2.atlassian.net/browse/DHIS2-13816.

The OrgUnitDialog from analytics had a breaking change in v21.0.0, a different set of props is needed to make it work.

Several Cypress tests were updated to work with the new OrgUnitDimension component. There are still 4 cypress tests failing because of a real bug in the app.

(cherry picked from commit c1ce958)
janhenrikoverland pushed a commit that referenced this pull request Oct 13, 2022
* fix: fix ItemSelector overflow issue DHIS2-13811 (#2112)

Fixes an overflow issue in the ItemSelector,the actual fix is in @dhis2/ui, so a bump to latest version solves the issue.

(cherry picked from commit 45435b8)

* fix: org unit filter dialog crash (DHIS2-13816) (#2118)

Fixes https://dhis2.atlassian.net/browse/DHIS2-13816.

The OrgUnitDialog from analytics had a breaking change in v21.0.0, a different set of props is needed to make it work.

Several Cypress tests were updated to work with the new OrgUnitDimension component. There are still 4 cypress tests failing because of a real bug in the app.

(cherry picked from commit c1ce958)

* chore: bump DV plugin and analytics deps DHIS2-13812 (#2123)

(cherry picked from commit 7926d5a)
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.

4 participants