Skip to content

feat: add new system settings and improve period type handling (DHIS2-20270)#1456

Merged
janhenrikoverland merged 6 commits intomasterfrom
feat/analytics-period-type-improvements
Mar 2, 2026
Merged

feat: add new system settings and improve period type handling (DHIS2-20270)#1456
janhenrikoverland merged 6 commits intomasterfrom
feat/analytics-period-type-improvements

Conversation

@janhenrikoverland
Copy link
Copy Markdown
Contributor

@janhenrikoverland janhenrikoverland commented Feb 20, 2026

This PR does a few things related to data output period types and related system settings:

  • Moves the "Default relative period for analysis" setting further down, next to other related settings, as it now depends on the relevant period type to be enabled.

  • There is a system for defining the minimum api version per setting, but this PR adds version toggling for dropdown options as well. In 43 we're adding some more options to an existing setting that depend on the backend. Do you approve this solution?

  • Adds a new system setting for relative weekly (works the same way as the one for financial years).

  • Sorting period types per section chronologically instead of alphabetically.

  • Warning message for system settings that rely on the relevant period type to be enabled.

@dhis2-bot
Copy link
Copy Markdown
Contributor

dhis2-bot commented Feb 20, 2026

🚀 Deployed on https://pr-1456--dhis2-settings.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify February 20, 2026 14:02 Inactive
@janhenrikoverland janhenrikoverland marked this pull request as draft February 20, 2026 14:04
@dhis2-bot dhis2-bot temporarily deployed to netlify February 20, 2026 19:18 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 1, 2026 17:03 Inactive
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 2, 2026

@dhis2-bot dhis2-bot temporarily deployed to netlify March 2, 2026 11:05 Inactive
@janhenrikoverland janhenrikoverland changed the title feat: add new system settings and improve period type handling feat: add new system settings and improve period type handling (DHIS2-20270) Mar 2, 2026
@janhenrikoverland janhenrikoverland merged commit e55bf09 into master Mar 2, 2026
9 checks passed
@janhenrikoverland janhenrikoverland deleted the feat/analytics-period-type-improvements branch March 2, 2026 13:46
dhis2-bot added a commit that referenced this pull request Mar 2, 2026
# [100.13.0](v100.12.0...v100.13.0) (2026-03-02)

### Bug Fixes

* redeploy updated analytics period settings ([#1457](#1457)) ([de9d8d3](de9d8d3))

### Features

* add new system settings and improve period type handling ([#1456](#1456)) ([e55bf09](e55bf09))
@dhis2-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 100.13.0 🎉

The release is available on:

Your semantic-release 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