Skip to content

feat: data output period types (DHIS2-21001)#3458

Merged
janhenrikoverland merged 20 commits intomasterfrom
feat/data-output-period-types
Mar 11, 2026
Merged

feat: data output period types (DHIS2-21001)#3458
janhenrikoverland merged 20 commits intomasterfrom
feat/data-output-period-types

Conversation

@janhenrikoverland
Copy link
Collaborator

@janhenrikoverland janhenrikoverland commented Mar 2, 2026

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.

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

After

Screenshot_2026-03-06_17-49-46

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Mar 3, 2026

🚀 Deployed on https://pr-3458.data-visualizer.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify March 3, 2026 10:25 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 6, 2026 09:11 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 6, 2026 11:57 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 6, 2026 12:13 Inactive
edoardo
edoardo previously approved these changes Mar 6, 2026
@janhenrikoverland janhenrikoverland marked this pull request as ready for review March 6, 2026 16:52
@dhis2-bot dhis2-bot temporarily deployed to netlify March 6, 2026 16:58 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 6, 2026 17:01 Inactive
@janhenrikoverland janhenrikoverland added the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label Mar 6, 2026
@dhis2-bot dhis2-bot temporarily deployed to netlify March 6, 2026 17:28 Inactive
@cypress
Copy link

cypress bot commented Mar 6, 2026

data-visualizer-app    Run #3137

Run Properties:  status check passed Passed #3137  •  git commit 3591259629 ℹ️: Merge 029ae7960353cc801fab11e9e7d426e91e19e090 into 7786ab0d3ccffd9a1828db0d60e4...
Project data-visualizer-app
Branch Review feat/data-output-period-types
Run status status check passed Passed #3137
Run duration 06m 27s
Commit git commit 3591259629 ℹ️: Merge 029ae7960353cc801fab11e9e7d426e91e19e090 into 7786ab0d3ccffd9a1828db0d60e4...
Committer Jan Henrik Øverland
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 27
View all changes introduced in this branch ↗︎

@dhis2-bot dhis2-bot temporarily deployed to netlify March 9, 2026 17:23 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 10, 2026 11:58 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 10, 2026 12:01 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 11, 2026 11:02 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 11, 2026 12:24 Inactive
@sonarqubecloud
Copy link

@janhenrikoverland janhenrikoverland merged commit fcc3370 into master Mar 11, 2026
67 of 69 checks passed
@janhenrikoverland janhenrikoverland deleted the feat/data-output-period-types branch March 11, 2026 14:41
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))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 101.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants