Skip to content

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

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

feat: support multiple timeline layers [DHIS2-19542]#3593
BRaimbault wants to merge 23 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.


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 13:51 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 10, 2026 14:03 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
@sonarqubecloud
Copy link

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