Period Selector UI improvement

Hello Team,

A few months ago, we identified an issue with the period selector when using datasets that have a future open period. Due to our metadata model, we must open future periods for daily, weekly, and monthly datasets. However, the application’s design, which lists the most recent dates first, caused future periods (e.g., 2026) to appear at the top of the list. This forced users to scroll extensively to find the current date, impacting their efficiency.

During a recent hackathon, our IT team developed a fix for this problem. We are pleased to contribute the source code, which is available in pull request #4371.

We request that this fix be incorporated into the core application so that we can return to using the standard core build.

You can find the link to the pull request below.

Best regards,

feat: improve PeriodSelector UX when future periods are enabled by brianmcgee · Pull Request #4371 · dhis2/dhis2-android-capture-app · GitHub

2 Likes

Hi @yusuphk

Thanks a lot for reporting this and for contributing the fix. We’ve reviewed the PR and are including it in the next release (3.3.0). Really appreciate the collaboration from your team!

2 Likes