feat: data output period types (DHIS2-21001)#3458
Merged
janhenrikoverland merged 20 commits intomasterfrom Mar 11, 2026
Merged
Conversation
Contributor
|
🚀 Deployed on https://pr-3458.data-visualizer.netlify.dhis2.org |
edoardo
previously approved these changes
Mar 6, 2026
data-visualizer-app
|
||||||||||||||||||||||||||||
| Project |
data-visualizer-app
|
| Branch Review |
feat/data-output-period-types
|
| Run status |
|
| Run duration | 06m 27s |
| Commit |
|
| Committer | Jan Henrik Øverland |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
27
|
| View all changes introduced in this branch ↗︎ | |
|
dhis2-bot
added a commit
that referenced
this pull request
Mar 11, 2026
# [101.5.0](v101.4.1...v101.5.0) (2026-03-11) ### Features * data output period types (DHIS2-21001) ([#3458](#3458)) ([fcc3370](fcc3370))
Contributor
|
🎉 This PR is included in version 101.5.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Implements DHIS2-21001
Requires analytics@29.3.2
Description
Uses useDataOutputPeriodTypes from @dhis2/analytics (^29.3.0) to get server-configured period display labels on v43+.
Adds OVERRIDE_METADATA reducer action so server labels can overwrite the default translated ones.
Plugin waits for period type config before fetching data, then injects custom names into analytics responses.
Adds missing test mocks for the new hook.
Quality checklist
Add N/A to items that are not applicable.
After