Skip to content

feat: allow widgets to be filtered by period#3255

Merged
jenniferarnesen merged 3 commits intomasterfrom
feat/filter-by-period-for-widgets
May 5, 2025
Merged

feat: allow widgets to be filtered by period#3255
jenniferarnesen merged 3 commits intomasterfrom
feat/filter-by-period-for-widgets

Conversation

@jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Apr 3, 2025

Implements DHIS2-19186

Key features

  • Add support for adding pe (period) as a query parameter in the iframe source URL.

This update ensures that the pe (period) filter is included in the iframe URL for
dashboard items when the filter is applied. If the pe filter is present in itemFilters,
the periods are concatenated using , as the delimiter and added as a period
query parameter in the iframe source.

TODO

  • Tests added (Cypress and/or Jest)
  • Docs added N/A
  • Tested with and without the global shell
  • d2-ci dependency replaced N/A

Supersedes #3183

Thanks to https://github.com/EdsonNhancale for providing the original fix.

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Apr 3, 2025

🚀 Deployed on https://pr-3255.dashboard.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify April 3, 2025 11:01 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify April 3, 2025 11:03 Inactive
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 5, 2025

@dhis2-bot dhis2-bot temporarily deployed to netlify May 5, 2025 12:10 Inactive
@jenniferarnesen jenniferarnesen merged commit 1e0ddc9 into master May 5, 2025
43 checks passed
@jenniferarnesen jenniferarnesen deleted the feat/filter-by-period-for-widgets branch May 5, 2025 12:58
dhis2-bot added a commit that referenced this pull request May 5, 2025
# [101.3.0](v101.2.3...v101.3.0) (2025-05-05)

### Features

* allow widgets to be filtered by period [DHIS2-19186] ([#3255](#3255)) ([1e0ddc9](1e0ddc9))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 101.3.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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants