Data Capture Library 0.1.0-beta04
Pre-release
Pre-release
Tarun-Bhardwaj
released this
08 Aug 17:45
·
533 commits
to master
since this release
The 0.1.0-beta04 release of Structured Data Capture library includes a number of enhancements and bug fixes. Some highlights:
- The library size is reduced by removing the mlkit dependency (#1331) to a separate module
- The styling of widgets have been updated to be in line with Material3
- Major changes to questionnaire validation and pagination
- Major improvements to the auto complete widget [#1398]
- Total revamp of the library wiki
- A new codelab is created in the repository
The following items have been added:
Enhancements:
- Add support for the 'text' field type to render multiline text input [#1517]
- Update the answer in the text field while the user is typing [#1501]
- Rewrite logic to find questionnaire item for EnableWhen evaluation [#1496]
- Rename attributes and default styles [#1488]
- Migrating Validation Result logic from View factory to QuestionnaireViewModel [#1468]
- Move the build stage up [#1449]
- Questionnaire jsons with required field for error workflow [#1356]
- Move barcode contrib code into its own Gradle module [#1331]
- Update single, boolean choice drawables [#1441]
- Validator API should throw an exception if inital value and intial value expression are both present [#1297]
- Fix extraction for choice type values [#1352]
- Date changed to short format instead of default (medium) [#1348]
- Allow pre-filled questionnaire response to be supplied by URI on top of JSON string [#916]
- Remove extra space from a Questionnaire View when the group headers have no text to show [#1339]
- Response validation occurs before data entry [#1001]
- Support enableWhenExpression [#819]
- Add submit questionnaire button to sdc module [#1088]
- Refactor Auto complete widget [#978]
Bugs:
- Single choice does not unselect the answer option on click [#1519]
- Multiple choice background color when option gets selected in m3 [#1435]
questionnaireStateFlow not emitting as expected [#1427] - Corrects misleading error message in QuestionnaireViewModel [#1461]
- Not enough space between title, hint and view [#1417]
- Update subtitle and flyover text in paginated questionnaire json in catalog app [#1455]
- DatePicker widget does not show white background [#1410]
- answerOption.valueString crashes SDC library [#1360]
- Accept integer data types in FHIR questionnaire [#1219]
- Set questionnaire theme in OptionSelectDialogFragment [#1027]
- Fix issue with empty context with initial expression [#1033]
- Add functionality to skip pages entirely in a paginated questionnaire [#1187]
Styling and Material3:
- Update material3 theme in catalog and datacapture [#1376]
- Update material design dependency version to 1.6.0 [#1012]
- Update material3 typography [#1446]
- Update Widget.Material3.* as default style in datacapture [#1444]
- Cleanup and moved Date and Time pickers to material [#1312]
- DataCapture, date picker custom style [#1108]
- Multiple choice background color when option get selected in m3 [#1432]
Documentation:
- Initial version of the SDC lib codelab [#1429]
- Update README.md for the data capture codelab [#1436]
- Update Structured Data Capture Library codelab [#1448 ]
- Adjust sourceRoots to only include main dir [#1508]
- Regenerate docs at latest public version using #1503 code [#1504]
- Move Dokka configs for different modules into a common DokkaConfig.kt file [#1503]
- Improve Kdoc comments for QuestionnaireFragment [#1470]
- Add generated docs for sdc-0.1.0-beta03, engine-0.1.0-beta01, workflow-0.1.0-alpha01 [#1467]
- Adds Gradle task dokkaHtml to run Dokka document generation [#1466]