Skip to content

Conversation

@BRaimbault
Copy link
Collaborator

@BRaimbault BRaimbault commented Nov 21, 2025

Implements CLIM-155
Requires: dhis2/maps-app#3599

 

  • Add @dhis2/app-service-datastore dependency to handle sharing EE Layer as analytical object via user datastore.
  • Add DataStoreProvider to explore Tabs.

 

  • Create OpenAsMapButton component (shared, in case we want to also use in import).
  • Create useUserLocale hook to check user locale (used in import Period and OpenAsMapButton).
  • Create useAppVersion hook to check maps-app version is compatible.
  • Include OpenAsMapButton in explore: Elevation, HeatDaily, HeatMonthly, Landcover, PrecipitationDaily, PrecipitationMonthly, TemperatureDaily, TemperatureMonthly and Vegetation.

 
 
image

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Nov 21, 2025

🚀 Deployed on https://pr-90.climate-app.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify November 21, 2025 15:55 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 09:57 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 11:08 Inactive
@BRaimbault BRaimbault changed the title feat: add OpenAsMapButton [CLIM-155] feat: add option to open datasets in maps-app [CLIM-155] Nov 24, 2025
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 11:27 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 11:33 Inactive
Copy link
Collaborator Author

@BRaimbault BRaimbault left a comment

Choose a reason for hiding this comment

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

Ready for review.

@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 13:47 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 13:59 Inactive
@BRaimbault BRaimbault marked this pull request as ready for review November 24, 2025 13:59
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 15:15 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 15:20 Inactive
@BRaimbault BRaimbault force-pushed the feat/gee-layers-in-maps-app branch from 3351923 to a3f94f7 Compare November 24, 2025 15:21
@dhis2-bot dhis2-bot temporarily deployed to netlify November 24, 2025 15:22 Inactive
Copy link
Contributor

@turban turban left a comment

Choose a reason for hiding this comment

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

Looks good, just suggesting some minor changes.

jenniferarnesen and others added 2 commits December 12, 2025 16:56
https://dhis2.atlassian.net/browse/CLIM-17

In this PR, the import page has been restructured and the UX improved:

* The data element list is populated based on the selected period type.
This happens by fetching all the data sets and filtering based on the selected period type,
resulting in a list of data elements for the period type. The app ignores if a data element
has been added to 2 or more data sets having different period types. It is up to the implementation
properly structure the metadata. The setup guide should help admins avoid this situation,
but we can't guarantee this.

* The instructions on the side have been removed, and instead, the import form
includes the needed info directly in the form.

* Visual styling improvements

* The period type selector is placed above other selections because it influences
what data elements are available in the data element selector.

* If it is relevant to either know or select the time zone (e.g. hourly data), then it is displayed.

* The setup guide now recommends including the selected period type in the code
of the data element (for autofilling the data element to import into dhis2).

* An import preview summary has been added to inform the user of what is being imported.

* Unit tests have been added to demonstrate support for non gregorian calendars
* Date validation based on date range for a dataset. It will inform the user if a date is
selected that is outside of the range.
@dhis2-bot dhis2-bot temporarily deployed to netlify December 18, 2025 11:18 Inactive
@BRaimbault BRaimbault changed the base branch from main to feat/release-import-page-and-enacts December 18, 2025 13:48
@dhis2-bot dhis2-bot temporarily deployed to netlify December 18, 2025 14:00 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify December 18, 2025 14:42 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify December 18, 2025 14:55 Inactive
@BRaimbault BRaimbault requested a review from turban December 18, 2025 14:59
@sonarqubecloud
Copy link

@dhis2-bot dhis2-bot temporarily deployed to netlify December 22, 2025 11:58 Inactive
@jenniferarnesen jenniferarnesen force-pushed the feat/release-import-page-and-enacts branch 3 times, most recently from 9392f34 to d456729 Compare December 30, 2025 09:40
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.

5 participants