Skip to content
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

feat: add option to make a data set sections collapsible #2886

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

flaminic
Copy link
Contributor

@flaminic flaminic commented Jul 9, 2024

Implements DHIS2-17507.
This PR allows for a user to pick whether the sections in a data set will be collapsible

Background

We are aiming to add more form configuration options as part of an initiative to provide configurations natively to data entry forms to reduce the necessity for custom forms. Users are currently building custom forms as a workaround for shortcomings of the configuration options (ability to transpose, or customise a cell design) or implementation (such to avoid issues with RTL issues).

This is an RFC that describes the approach and the priorities for form configuration options. This is based on a thorough investigation by the functional design team for custom form use cases in real-life implementations. Based on that investigation, the ability to collapse sections were one of the main reasons people choose to go the custom forms route so we're tackling these first.

UI

This is a simple checkbox as in the picture
Screenshot 2024-07-09 at 09 23 27

@flaminic flaminic force-pushed the DHIS2-17507/collapsible-sections branch from 4b292fe to 115f734 Compare July 9, 2024 07:25
@flaminic flaminic force-pushed the DHIS2-17507/collapsible-sections branch from 115f734 to 52594ba Compare July 9, 2024 07:53
@flaminic flaminic marked this pull request as draft July 9, 2024 11:13
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.

1 participant