Skip to content

feat: support multiple timeline layers [DHIS2-19542] - DEPRECTATED#3593

Draft
BRaimbault wants to merge 27 commits intofeat/DHIS2-19542from
feat/DHIS2-19542-2
Draft

feat: support multiple timeline layers [DHIS2-19542] - DEPRECTATED#3593
BRaimbault wants to merge 27 commits intofeat/DHIS2-19542from
feat/DHIS2-19542-2

Conversation

@BRaimbault
Copy link
Collaborator

@BRaimbault BRaimbault commented Dec 4, 2025

Parent PR: #3584 > feat: support multiple split layers DHIS2-19542
Child PR: none

Implements DHIS2-19542

Description

This PR enables adding multiple timeline layers to a map.

image

Feats

  • Changes:
    • Move Timeline component from ThematicLayer component to map/Maps component.
    • Let map/Maps component pass period property down to ThematicLayer components so multiple timelines are updated in sync.
  • In:
    • src/components/map/layers/ThematicLayer.jsx
    • src/components/map/Map.jsx

 

  • Change the logic in the rendering strategy to allow timeline if other timeline layers are already there: src/components/periods/RenderingStrategy.jsx

 

  • Changes:
    • Get filter (ie periods) from already present timeline layers.
    • Change the logic to get set default periods to match other timeline layer if exists.
    • Sync period change across split layers upon successful layer validation.
  • In: src/components/edit/thematic/ThematicDialog.jsx

Quality checklist

Add N/A to items that are not applicable.

  • Dashboard tested
  • Cypress and/or Jest tests added/updated
  • Docs added
  • d2-ci dependencies replaced (analytics or maps-gl link https://github.com/dhis2/[lib]/pull/XXX) N/A
  • Tester approved (BugBash 2026-03-03)

Testing

@BRaimbault BRaimbault changed the base branch from master to feat/DHIS2-19542 December 4, 2025 14:40
@dhis2-bot
Copy link
Contributor

dhis2-bot commented Dec 4, 2025

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

@dhis2-bot dhis2-bot temporarily deployed to netlify December 4, 2025 14:42 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify December 5, 2025 11:28 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 13, 2026 08:47 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 20, 2026 16:01 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 20, 2026 16:03 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 20, 2026 16:05 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 22, 2026 08:27 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 22, 2026 17:00 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 23, 2026 18:05 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify January 30, 2026 10:08 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 3, 2026 13:07 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 10, 2026 12:27 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 10, 2026 13:10 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 10, 2026 14:38 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 10, 2026 16:55 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 10, 2026 17:00 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 12, 2026 10:21 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 12, 2026 12:00 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 12, 2026 13:09 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 12, 2026 14:09 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 12, 2026 14:20 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 17, 2026 08:40 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 17, 2026 09:55 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 18, 2026 12:48 Inactive
@BRaimbault BRaimbault changed the title feat: support multiple timeline layers [DHIS2-19542] feat: support multiple timeline layers [DHIS2-19542] - sync periods first time user switches to "timeline" Feb 19, 2026
@dhis2-bot dhis2-bot temporarily deployed to netlify February 19, 2026 10:34 Inactive
@sonarqubecloud
Copy link

@dhis2-bot dhis2-bot temporarily deployed to netlify February 19, 2026 10:41 Inactive
@BRaimbault BRaimbault changed the title feat: support multiple timeline layers [DHIS2-19542] - sync periods first time user switches to "timeline" feat: support multiple timeline layers [DHIS2-19542] - sync periods only first time user switches to "timeline" Feb 19, 2026
@BRaimbault BRaimbault changed the title feat: support multiple timeline layers [DHIS2-19542] - sync periods only first time user switches to "timeline" feat: support multiple timeline layers [DHIS2-19542] - DEPRECTATED Feb 26, 2026
@BRaimbault BRaimbault removed the request for review from HendrikThePendric February 26, 2026 16:34
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