Skip to content

v1.0.0

Compare
Choose a tag to compare
@pirupius pirupius released this 02 Dec 14:40
· 221 commits to main since this release
cfe5cca

What's Changed

  • (fix) Fix bug with "unspecified" control by @kajambiya in #1
  • (chore) Update README (part 1) by @samuelmale in #2
  • Updating License from MIT to MPL v2 w HCD, without Copyright by @gracepotma in #3
  • (feat) Add ability to retrieve encounter type and default to unknown encounter role by @donaldkibet in #4
  • (chore) O3-2009: Setup form engine CI and NPM by @donaldkibet in #5
  • (feat) Add optional version property to OHRIFormSchema interface by @denniskigen in #6
  • (chore) CI tweaks for auto publish by @pirupius in #8
  • (chore) Cache tasks in CI using turbo by @denniskigen in #9
  • (fix) fix failing obs-group and repeat component due to undefined bug by @donaldkibet in #11
  • (chore) Cacheable ESLint output by @denniskigen in #12
  • (fix) Refactor useWorkspaceLayout hook to properly support arbitrary workspaces by @samuelmale in #10
  • (chore) Fix dependency issue by @denniskigen in #13
  • O3-2016 Fix overlapping radio and checkbox text by @CynthiaKamau in #14
  • (chore) Add a CI workflow that tracks bundle sizes changes by @denniskigen in #15
  • O3-1907 Support for major Ampath Form Helper Functions by @kajambiya in #18
  • feat: Recursively load subforms by @samuelmale in #19
  • O3-2050 prevent number input change on mouse/touchpad scroll by @pirupius in #21
  • O3-2059 Add calculate gravida helper function by @CynthiaKamau in #25
  • Fix highlighting of field validation errors by @samuelmale in #28
  • Fix rendering for fields with undefined handlers by @samuelmale in #24
  • O3-2034 Add form to the generated encounter payload by @CynthiaKamau in #23
  • (fix) Yet more miscellaneous fixes by @denniskigen in #27
  • (fix) Miscellaneous improvements by @denniskigen in #26
  • (docs) Updated instructions for local development by @eudson in #31
  • O3-2057 Add support to display error messages on Number input control by @kajambiya in #22
  • (fix):Fixed position of save/cancel button on form engine by @makombe in #29
  • O3-2066 Dynamic calculation to get date difference in day, week, mont… by @CynthiaKamau in #36
  • (enhc) add improvement on loading sub-forms by @donaldkibet in #34
  • O3-2061: Introduce visit as an optional parameter to the form-engine by @CynthiaKamau in #30
  • Filters out Empty/Hidden Sections in a Page by @smallgod in #35
  • (feature) Length Validation for TextInput Fields by @eudson in #38
  • (fix) Fixed InputTex Length Validations by @eudson in #39
  • fixed different timestamps on obs by @lucyjemutai in #40
  • Introduce maxLength and minLength params for text fields by @pirupius in #41
  • Apply linter by @samuelmale in #43
  • Add provision for Encounter Date Time by @kajambiya in #42
  • (chore) Import lodash functions from the ES module by @denniskigen in #45
  • Introduce aliases to field rendering types by @makombe in #37
  • Simplify the ExpressionRunner's internal workings and enhance support for custom datasources by @samuelmale in #47
  • (refactor) Remove unused helper function by @CynthiaKamau in #46
  • Remove un-used import by @samuelmale in #48
  • (fix) Fix validators for number and text inputs by @denniskigen in #49
  • Configure Actions to pull next pre-release, create 3 PRs to 3 REPOS by @larslemos in #51
  • (chore) Fix indentantion error on YAML, after bump job by @larslemos in #52
  • (fix) Fix repeating Form Sections issue by @smallgod in #50
  • (feat) Add age in patient object by @CynthiaKamau in #54
  • Default to section hide expression without behaviours by @pirupius in #55
  • (feat) Limit obs-group repeat by @eudson in #56
  • (fix) fix bug on submitting a form by @donaldkibet in #59
  • (chore) Use dayjs for handling dates by @denniskigen in #44
  • (fix) Remove all references to moment by @denniskigen in #62
  • (enhc) Add ability to provide age and sex to the evaluation context by @donaldkibet in #64
  • (refactor) Updated calcTimeDiff to use dayjs by @CynthiaKamau in #63
  • (fix) follow up PR to fix error brought by introducing age and sex in execution context by @donaldkibet in #65
  • (refactor) Remove unused styles and style imports + add eslint rules by @denniskigen in #57
  • (chore) Use shared dayjs version by @denniskigen in #67
  • (feat) Support for conditionally hiding pages by @smallgod in #61
  • (feat) Show error message from server when form submission fails by @donaldkibet in #66
  • (refactor) Reorganise styles by @denniskigen in #68
  • (fix) Fix previous value review UI by @denniskigen in #70
  • Fix highlight validation error messages for required field in number and multiselect controls by @samuelmale in #71
  • (feat) Various tweaks and improvements by @denniskigen in #60
  • (enhc) Enhance failed submission reporting and fix number field validation issue by @donaldkibet in #75
  • feat: limit obs repeat based on business logic by @lucyjemutai in #74
  • add skip logic for answer options by @kajambiya in #53
  • (fix): Enhance date-time component spacing and show time format am/pm by @makombe in #79
  • fix usePreviousValueDisabled bug by @kajambiya in #81
  • Pickup and apply "section.isExpanded" by @samuelmale in #82
  • (docs) Move pbcopy to right place in example by @mogoodrich in #84
  • (fix) Remove some global styles affecting the workspace by @denniskigen in #87
  • Expose useFormJson to be useable out of the library by @samuelmale in #89
  • (feat) O3-1911: Reference Mappings instead of Concept UUIDs by @mogoodrich in #86
  • (fix) Minor fix enabling subforms to render correctly by @samuelmale in #90
  • Sync Form UUID in Form Schema with Form JSON by @samuelmale in #91
  • OHRI-1389 Evaluate Calculate expressions on hidden fields by @kajambiya in #93
  • (chore) Update to newer versions of openmrs and @openmrs/esm-framework by @denniskigen in #95
  • Generated obs-group field ID should be a valid JS identifier by @samuelmale in #97
  • The addDaysToDate function should not modify the original date. by @Herobiam in #96
  • Update base branch from working to dev by @larslemos in #98
  • OHRI-1622 Introduce support for UI-select-extended control by @kajambiya in #85
  • fix subform loading by @kajambiya in #100
  • Repeating obs to re-display more consistently by @samuelmale in #101
  • Grouping Field shouldn't override it's children's visibility property by @samuelmale in #104
  • Added patient object to the expresion runner context object by @Herobiam in #108
  • Ability to configure post submission actions by @samuelmale in #109
  • (chore) Use standard handler to initialise repeated fields by @samuelmale in #105
  • (chore) Better typings for common-expression-helpers by @ibacher in #111
  • (fix) Fix some tests with implicit environment assumptions by @ibacher in #110
  • (feat) Use Function() rather than eval() by @ibacher in #112
  • fix/ O3-2253:Marking a field as readonly should render the field control as opposed to switching to view mode by @arodidev in #114
  • Fix 'useField' being undefined for customly registered controls within obs groups. by @samuelmale in #115
  • (fix) Previous values should be picked from the latest encounter by @lucyjemutai in #118
  • (fix) Import TFunction annotation from i18next by @denniskigen in #119
  • (feat) Introduce Location Datasource by @kajambiya in #113
  • (feat) Add support for registering custom helper functions by @samuelmale in #122
  • Add registered expression helpers to the expression context by @kajambiya in #124
  • OHRI-1838 Add support for capturing drugs as observations by @kajambiya in #121
  • OHRI-1839 Support for rendering problem by concept class by @kajambiya in #125
  • O3-2253: Ability to mark a form field as transient by @lucyjemutai in #127
  • Add Symptom/Finding concept class to problem datasource by @kajambiya in #130
  • (fix) Cannot read properties of undefined obs when opening edit /view mode of a form by @ODORA0 in #132
  • OHRI-1897:Ability to edit L&D form enabled by @Herobiam in #133
  • feat/handle post submission action errors by @kajambiya in #134
  • (fix ) Ensure a fixed value field is submitted when nested in obsGroup by @lucyjemutai in #135
  • Adding file attachment support by @arodidev in #128
  • feat/Date picker format should be according to current user locale by @kajambiya in #137
  • (fix) Allowing confirmation modal to close form / preventing pop up in view mode by @arodidev in #136
  • OHRI-1923 fix undefined length property error by @kajambiya in #138
  • fix date error on form edit by @kajambiya in #140
  • (fix) Fixing jumping cursor issue on the number component. by @arodidev in #142
  • Revert "(fix) Fixing jumping cursor issue on the number component." by @pirupius in #143
  • (fix) fix post submission action error, improve post submission error handling by @kajambiya in #144
  • OHRI-2005:Fix "error rendering field" by @Herobiam in #145
  • (fix) fix ohri-unspecified issue by @kajambiya in #146
  • (fix)Fixes jumping cursor issue by @arodidev in #147
  • (feat) Add Zscore functionality by @ODORA0 in #139
  • OHRI-1983: handled the (Uncaught TypeError: t.forEach is not a functi… by @Herobiam in #148
  • (feat) support for reusable form components by @pirupius in #126
  • (fix) fix error editing obs group with more than one repeating group by @kajambiya in #149

New Contributors

Full Changelog: https://github.com/openmrs/openmrs-form-engine-lib/commits/1.0.0