-
Notifications
You must be signed in to change notification settings - Fork 13
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: custom calculations for thematic layer (DHIS2-15474) #2745
Conversation
* feat(plugin): send installation status * fix: use window.parent * fix: bump cli-app-scripts for precaching improvement
Automatically merged.
* docs: move docs to app * chore: clean up old files * chore: gitignore * chore: gitignore
Automatically merged.
Automatically merged.
Automatically merged.
Automatically merged.
Automatically merged.
The "add event layer" test continues to be flaky. This change increases the timeout to 50 seconds. Also, since the default timeout is now 15 seconds, the EXTENDED_TIMOUT option isn't needed anymore (since that also sets to 15 seconds)
This is to test whether dependabot will automatically use the default branch.
* chore: increase cypress extended timeout * chore: use maps-app emoji in nightly slack message
🚀 Deployed on https://pr-2745--dhis2-maps.netlify.app |
Good idea. I suggest adding a help text under the Calculation input with content |
1 flaky test on run #2496 ↗︎
Details:
cypress/integration/dataDownload.cy.js • 1 flaky test • e2e-chrome-parallel-2.40
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
This PR adds support for custom calculations for thematic layers.
Fixes: https://dhis2.atlassian.net/browse/DHIS2-15474
After this PR there is a new "Calculations" data type:
A new drop down allows you to select a custom calculation:
If there are no calculations an empty dropdown will show:
@cooper-joe, maybe we should add a help text telling that the user can create custom calculations in the Data Visualizer app? This is not intuitive.
Custom calculation layer added to the map:
Using this custom calculation: