Skip to content

fix: show correct basemap for maps embedded in dashboards [DHIS2-22110] - #3772

Merged
BRaimbault merged 1 commit into
fix/release-basemaps-fixesfrom
fix/DHIS2-22110
Sep 17, 2026
Merged

BRaimbault merged 1 commit into
fix/release-basemaps-fixesfrom
fix/DHIS2-22110

Conversation

@BRaimbault

@BRaimbault BRaimbault commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Implements DHIS2-22110
Depends on dhis2/dashboard-app#3343. Safe to deploy independently either order, no regression either way.

maps-999.99.9-basemaps-rc1.2026-09-15.zip

Description

Dashboard map items always showed the default basemap instead of the configured one, on 2.43+ instances. MapContainer destructured basemap (legacy field) out of the visualization prop but not basemaps (new field) - it fell into otherMapProps, unused by the id+mapViews branch that dashboard embeds hit, so getMigratedMapConfig never saw it and fell back to default.


Quality checklist

Add N/A to items that are not applicable.

  • Dashboard tested
  • Cypress and/or Jest tests added/updated N/A
  • Docs added N/A
  • d2-ci dependencies replaced N/A
  • Tester approved (@edoardo )

Screenshots

Before:
image

After:
image

@sonarqubecloud

Copy link
Copy Markdown

@dhis2-bot

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-3772.maps.netlify.dhis2.org

@dhis2-bot
dhis2-bot temporarily deployed to netlify September 15, 2026 14:55 Inactive
@BRaimbault BRaimbault changed the title fix: pass basemaps field through in dashboard embed config [DHIS2-22110] fix: show correct basemap for maps embedded in dashboards [DHIS2-22110] Sep 15, 2026
@BRaimbault
BRaimbault marked this pull request as ready for review September 15, 2026 15:13
@BRaimbault
BRaimbault requested a review from edoardo September 15, 2026 15:13
@BRaimbault
BRaimbault changed the base branch from master to fix/release-basemaps-fixes September 17, 2026 13:53
@BRaimbault
BRaimbault merged commit c1bbc33 into fix/release-basemaps-fixes Sep 17, 2026
39 checks passed
@BRaimbault
BRaimbault deleted the fix/DHIS2-22110 branch September 17, 2026 13:58
dhis2-bot added a commit that referenced this pull request Sep 17, 2026
## [101.17.3](v101.17.2...v101.17.3) (2026-09-17)

### Bug Fixes

* pass basemaps field through in dashboard embed config [DHIS2-22110] ([#3772](#3772)) ([c1bbc33](c1bbc33))
* use policy-compliant tile URL for OSM Detailed basemap [DHIS2-22122] ([#3773](#3773)) ([36f7f8d](36f7f8d))
@dhis2-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 101.17.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

This branch was previously deployed

1 inactive deployment
netlify — 41213840 Deployed Sep 15, 2026 by dhis2-bot
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.

3 participants