dhis2 / aggregate-data-entry-app

Data entry app for DHIS 2
https://dhis2-data-entry.netlify.app
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

feat: add title and subtitle to data sets if set in display options #407

Closed flaminic closed 4 days ago

flaminic commented 1 week ago

Implements DHIS2-18129. This PR allows users to add a title/ substitle to datasets

Implementation details

The displayOptions was added as a JSON type in the BE to allow us flexibility to add more options without updating the back-end. See discussion in https://github.com/dhis2/dhis2-core/pull/16562

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 add custom text to sections were one of the main reasons people choose to go the custom forms route so we're tackling these first.

Preview

Screenshot 2024-10-14 at 14 09 01 Screenshot 2024-10-14 at 14 08 43 Screenshot 2024-10-14 at 14 06 20
dhis2-bot commented 1 week ago

🚀 Deployed on https://pr-407--dhis2-data-entry.netlify.app

dhis2-bot commented 4 days ago

:tada: This PR is included in version 100.9.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: