Data Capture Library 1.0.0
The first production release 🚀 of Structure Data Capture Library includes the following changes:
Enhancements ✨
This release adds the following widget-specific features:
- [New Widget] Add support for Attachment widget [#1621]
- Automatically add date separator between day month year [#1802]
- Support choice orientation in boolean view [#1515]
- Text input filtering in Dropdown component [#764]
- Add itemMedia extension support [#802]
- Add itemAnswerMedia extension support for images [#1614]
- Add mimeType extension support [#1674]
We've also made these improvements to the library:
- Remove Engine dependency from SDC library [#1705]
- Add read-only mode in the SDC library [#1704]
- Add basic support for repeated groups [#726]
- Highlight missing fields and show validation popup [#1576]
- Load different profiles for definition based extraction [#1659]
- Support added for CodeType value in itemExtractionContext extension [#1770]
- Support definition-based extraction for lists with non-primitive types [#1769]
- Hide items if all items they depend on are also hidden [#1765]
- Add Questionnaire Fragment extra to show or hide submit button [#1845]
- Add Builder to Questionnaire Fragment [#1848]
Bug Fixes 🔧
This release fixes the following issues in the widgets:
- Remove asterisk for required questions [#544]
- Show time-picker in input mode [#1620]
- Set slider max and min value from the questionnaire [#1715]
- Move error message for boolean/single/multiple choice type widgets to above the choices [#1586]
- Cleanup the state of SliderViewHolder when item is recycled [#1818]
- Show submit button in review mode [#1817]
- Refactor edit text widget to fix integer issue [#1718]
- Enable "Next button" on paginated view when nested answer is chosen [#1677]
- Scroll down the RecyclerView to show the Add answer button [#1636]
- Hides error textview in the header for textInputLayout views [#1725]
- Fix DateTime picker component behaviour [#1870]
- Handle out-of-range integer input [#1718]
- Maintain selection state of radio buttons and boolean choices in nested questions [#1784, #1812]
We've also fixed other bugs in the library:
- Skip hidden pages [#1622]
- Cleaned up old state for dropdown [#1775]
- Add Reference class to display string function [#1735]
- Stop validating disabled questions [#1760]
- Extract repeating order elements properly for definition-based extraction [#1520]
- Fix unit tests in QuestionnaireViewModelTest [#1820]
- Rename view holder factories and reorganise files [#1883]
Thanks to all contributors in the community who have helped us reach this important milestone! 🎉🎉🎉