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) #1998

Merged
merged 1 commit into from
Sep 28, 2021

Conversation

jenniferarnesen
Copy link
Collaborator

Backport of #1997

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

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
@dhis2-bot
Copy link
Contributor

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

@jenniferarnesen jenniferarnesen merged commit 4dcb048 into v37 Sep 28, 2021
@jenniferarnesen jenniferarnesen deleted the fix/disabled-view-as-options-v37 branch September 28, 2021 12:49
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants