-
Notifications
You must be signed in to change notification settings - Fork 128
feat: [ANDROAPP-7452] Implement radioButtonInput and checkboxInput in search screen #4591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/tracker-search-refactor
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 PR implements RadioButton and CheckBox input providers for the tracker search screen, replacing TODO placeholders in the TrackerInputProvider. The implementation uses the DHIS2 mobile UI design system components and follows the existing patterns in the codebase.
Changes:
- Added TrackerRadioButtonInputProvider for radio button input handling with option sets
- Added TrackerCheckboxInputProvider for checkbox input handling with option sets
- Replaced TODO placeholders in TrackerInputProvider with calls to the new providers
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| TrackerRadioButtonInputProvider.kt | New provider implementing radio button inputs using DHIS2 design system's InputRadioButton component |
| TrackerCheckboxInputProvider.kt | New provider implementing checkbox inputs using DHIS2 design system's InputCheckBox component |
| TrackerInputProvider.kt | Integrated the new checkbox and radio button providers, replacing TODO placeholders |
...r/src/commonMain/kotlin/org/dhis2/tracker/search/ui/provider/TrackerCheckboxInputProvider.kt
Show resolved
Hide resolved
...r/src/commonMain/kotlin/org/dhis2/tracker/search/ui/provider/TrackerCheckboxInputProvider.kt
Show resolved
Hide resolved
...rc/commonMain/kotlin/org/dhis2/tracker/search/ui/provider/TrackerRadioButtonInputProvider.kt
Show resolved
Hide resolved
1a492a0 to
8c0c509
Compare
c98c607 to
750c7f4
Compare
5660492 to
e43d1ea
Compare
e43d1ea to
3100f7d
Compare
Signed-off-by: Manu Muñoz <manu.munoz@dhis2.org>
|




Description
Link the JIRA issue.
Please provide a clear definition of the problem and explain your solution.