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

Feature: add zebra app customisations (Map visualization) #2

Merged

Conversation

anagperal
Copy link

@anagperal anagperal commented Sep 9, 2024

⚠️ The Maps App (core app) of Zebra instance has version 1.23.16, hence in the repo there is a branch version-1.23.16 to work with this version. From this version branch there is a branch called version-1.23.16-zebra that is the one used in ZEBRA project to build Zebra custom DHIS2 Maps App, so this branch never has to be removed or merged

📌 References

📝 Implementation

  • Allow filters in url to use them in the iframe in ZEBRA app. It only works if currentApp is ZEBRA
    • id (mapId)
    • orgUnits
    • currentApp, currentPage
    • zebraNamespace, dashboardDatastoreKey
    • programIndicatorId, programIndicatorName, programId, programName
    • startDate, endDate, timeField
  • Allow custom popup info and custom legend in the bottom-right corner

📹 Screenshots/Screen capture

Screenshot from 2024-10-02 12-37-24
Screenshot from 2024-10-02 12-36-34

🔥 Notes to the tester

Build app:

  1. Add in package.json in build script the corresponding DHIS2_BASE_URL and save
  2. run yarn build
  3. You will get the zebra-custom-maps-app.zip to install in the instance

zebra-custom-maps-app.zip

docker.eyeseetea.com/eyeseetea/dhis2-data:2.38.6-test-zebra-maps-app

@anagperal anagperal self-assigned this Sep 9, 2024
@anagperal anagperal changed the base branch from version-1.23.16 to version-1.23.16-zebra September 10, 2024 11:13
@anagperal anagperal marked this pull request as ready for review September 10, 2024 12:08
@bhavananarayanan bhavananarayanan merged commit b41db33 into version-1.23.16-zebra Oct 16, 2024
5 of 7 checks passed
@bhavananarayanan bhavananarayanan deleted the feature/zebra-app-customisations branch October 16, 2024 08:04
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.

2 participants