Skip to content

Conversation

@Balcan
Copy link
Collaborator

@Balcan Balcan commented Jan 21, 2026

Description

Link the JIRA issue.

Please provide a clear definition of the problem and explain your solution.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds support for 6-hour and 12-hour metadata synchronization intervals, expanding the options available to users for configuring how frequently metadata is synchronized.

Changes:

  • Added 6-hour and 12-hour sync period options to metadata sync settings
  • Refactored sync period selection to use a type-safe sealed class pattern
  • Improved code maintainability in SettingsRepository with minor refactorings

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
gradle/verification-metadata.xml Updated Gradle verification metadata for kotlin-stdlib artifacts
app/src/main/java/org/dhis2/usescases/settings/ui/SyncMetadataSettingItem.kt Added 6-hour and 12-hour sync options using a new SyncMetadataPeriods sealed class for type-safe period selection
app/src/main/java/org/dhis2/usescases/settings/SettingsRepository.kt Refactored to use SynchronizationSettings API consistently, improved exception logging, and simplified scope selection logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants