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: disable View as Chart/Table for non-thematic maps #1997

Merged
merged 4 commits into from
Sep 28, 2021

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Sep 27, 2021

Fixes https://jira.dhis2.org/browse/DHIS2-11889

Fixes in this PR

  • Open in [appName] app should be enabled even when offline
  • When online, View as options for non-thematic maps should be disabled with tooltip "This map not available as a Chart"
  • Dimension filter settings confirm button should not have an offline tooltip, because clicking the "Confirm" button doesn't trigger an api request

Online, non-thematic map on the left:

134941560-2392c30d-e772-4b8a-b48e-fa006b58ab79.mov

Offline - Open in Maps app should be enabled

134941580-70551964-9329-41b1-aced-49af35fd4b3b.mov

Offline, non-thematic map - message should be "Not available offline"

134941591-a9a4364b-fd64-4918-ba85-f868133f2af9.mov

Copy link
Member

@cooper-joe cooper-joe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Design/texts LGTM 👍

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Sep 28, 2021

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

@dhis2-bot dhis2-bot temporarily deployed to netlify September 28, 2021 07:58 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify September 28, 2021 10:31 Inactive
@jenniferarnesen jenniferarnesen merged commit cc1a44d into master Sep 28, 2021
@jenniferarnesen jenniferarnesen deleted the fix/disabled-view-as-options branch September 28, 2021 12:00
dhis2-bot added a commit that referenced this pull request Sep 28, 2021
## [31.19.13](v31.19.12...v31.19.13) (2021-09-28)

### Bug Fixes

* disable View as Chart/Table for non-thematic maps ([#1997](#1997)) ([cc1a44d](cc1a44d))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 31.19.13 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

jenniferarnesen added a commit that referenced this pull request Sep 28, 2021
Fixes https://jira.dhis2.org/browse/DHIS2-11889

Fixes in this PR

* Open in [appName] app should be enabled even when offline
* When online, View as options for non-thematic maps should be disabled with tooltip "This map not available as a Chart"
* Dimension filter settings confirm button should not have an offline tooltip, because clicking the "Confirm" button doesn't trigger an api request
* Print button in More menu should be enabled for cached dashboards when offline
jenniferarnesen added a commit that referenced this pull request Sep 28, 2021
Fixes https://jira.dhis2.org/browse/DHIS2-11889

Fixes in this PR

* Open in [appName] app should be enabled even when offline
* When online, View as options for non-thematic maps should be disabled with tooltip "This map not available as a Chart"
* Dimension filter settings confirm button should not have an offline tooltip, because clicking the "Confirm" button doesn't trigger an api request
* Print button in More menu should be enabled for cached dashboards when offline
jenniferarnesen added a commit that referenced this pull request Oct 1, 2021
Fixes https://jira.dhis2.org/browse/DHIS2-11889

Fixes in this PR

* Open in [appName] app should be enabled even when offline
* When online, View as options for non-thematic maps should be disabled with tooltip "This map not available as a Chart"
* Dimension filter settings confirm button should not have an offline tooltip, because clicking the "Confirm" button doesn't trigger an api request
* Print button in More menu should be enabled for cached dashboards when offline
jenniferarnesen added a commit that referenced this pull request Oct 1, 2021
#2006)

Fixes https://jira.dhis2.org/browse/DHIS2-11889

Fixes in this PR

* Open in [appName] app should be enabled even when offline
* When online, View as options for non-thematic maps should be disabled with tooltip "This map not available as a Chart"
* Dimension filter settings confirm button should not have an offline tooltip, because clicking the "Confirm" button doesn't trigger an api request
* Print button in More menu should be enabled for cached dashboards when offline
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