Releases: openmrs/openmrs-esm-form-builder
v2.6.0
What's Changed
New features 🚀
- (feat) O3-3218: Make the schema validation(block/allow) render a configuration by @gitcliff in #271
- (feat) O3-3341: Add the ability to restore deleted questions by @denniskigen in #283
- (feat) O3-3140: Add
patientIdentifier
question type with custom validator by @gitcliff in #264 - (feat) O3-3351 Add support for obs comments in the form builder inter… by @CynthiaKamau in #285
- (feat) O3-3355 Add support for inline date in the form builder intera… by @CynthiaKamau in #286
- (feat) O3-3357: Support editing person attributes in the Edit question modal by @gitcliff in #287
- (feat) O3-3368: Support editing encounterDatetime fields in the edit question modal by @gitcliff in #289
- (feat) O3-3405: Support creating time rendering questions using interactive builder by @NethmiRodrigo in #303
- (feat) O3-3342: Add support for program states in form builder by @CynthiaKamau in #284
Bug fixes 🐛
- (fix) O3-3254: Remove trailing slash from uploadSchema request by @denniskigen in #275
- (fix) Set serialized schema blob MIME type to
application/json
by @denniskigen in #276 - (fix) O3-3272: Fix question deletion logic in the interactive builder by @denniskigen in #280
- (fix) O3-3271: Fix Question Position Changes on Edit in Form Builder by @NethmiRodrigo in #281
- (fix) Rename datePickerType prop to datePickerFormat by @NethmiRodrigo in #290
- (fix) Lift up showSchemaSaveWarning state by @denniskigen in #293
- (fix) Reorder fields in the Edit question modal by @denniskigen in #295
- (fix) Fixed program workflow question on edit mode by @CynthiaKamau in #301
- (fix) Fix styling of the program state tag container by @denniskigen in #305
- (fix) Use state uuid as opposed to concept uuid in program state inte… by @CynthiaKamau in #313
- (fix) Reset previous errors on schema update by @samuelmale in #316
- (fix) Fix modal header close button styles by @denniskigen in #317
Tests 🧪
- (test) Add testing-related plugins to ESLint config by @denniskigen in #312
Refactors 🚧
- (refactor) Render modals using the modal system by @NethmiRodrigo in #288
- (refactor) Refactor modal files to match naming conventions by @denniskigen in #300
- (refactor) Refactor modals to use the modal system by @denniskigen in #302
Housekeeping 🧹
- (chore) Bump dependencies by @denniskigen in #274
- (chore) Bump react form engine by @samuelmale in #277
- (Chore) Add Encounter Role type in the form builder question types. by @hadijahkyampeire in #278
- (chore) Fix
@carbon/react
version to 1.37.0 by @denniskigen in #282 - (chore) Bump turbo by @denniskigen in #291
- (chore): RFE version bump by @arodidev in #296
- (chore) Bump react form engine by @gitcliff in #292
- (chore) Bump core tooling by @denniskigen in #294
- (chore) Bump React Form Engine by @NethmiRodrigo in #298
- (chore) Bump react form engine by @denniskigen in #299
- (chore) Add remote caching to E2E workflow using turborepo-gh-artifacts by @denniskigen in #308
- (chore) Bump yarn and turbo by @denniskigen in #310
- (chore) Updates carbon dependency to match FE lib requirement by @pirupius in #309
- (chore) Bump React Form Engine library by @samuelmale in #315
- (chore) Update rfe and framework by @NethmiRodrigo in #314
- (chore) Release v2.6.0 by @NethmiRodrigo in #318
- (chore) Bump ws from 7.5.9 to 7.5.10 by @dependabot in #307
- (chore) Bump @babel/traverse from 7.20.1 to 7.24.7 by @dependabot in #306
Docs 📖
- (docs) Add steps on debugging E2E tests using Playwright Inspector by @denniskigen in #304
New Contributors
- @gitcliff made their first contribution in #271
- @NethmiRodrigo made their first contribution in #281
- @CynthiaKamau made their first contribution in #285
- @dependabot made their first contribution in #307
Thank you to all contributors for embodying the spirit of 'write code. save lives' in every line committed. Your commitment to OpenMRS is invaluable and truly makes a difference in healthcare worldwide. ❤️
Full Changelog: v2.5.0...v2.6.0
v2.5.0
What's changed
New features
- (feat) Various improvements to the interactive builder by @denniskigen in #236
- (feat) O3-2972: Validate number fields whose concepts don't allow decimal values by @denniskigen in #251
- (feat) O3-3036: Link the schema editor to the O3 standard JSON schema and validate schema by @hadijahkyampeire in #259
- (feat) O3-3132: Ability to import JSON schemas into the form builder by @hadijahkyampeire in #260
- (feat) Add auto-completion to the schema editor by @hadijahkyampeire in #262
- (feat) Validate Form Concepts and concept mappings by @hadijahkyampeire in #263
Housekeeping
- (chore) Add Eslint exhaustive-deps rule to validate react hooks by @hadijahkyampeire in #241
- (chore) Separate linting and formatting concerns by @denniskigen in #242
- (chore) Fix Prettier glob patterns by @denniskigen in #244
- (chore) Bump form engine version by @samuelmale in #245
- (chore) Flag rules-of-hooks lint violations by @denniskigen in #246
- (chore) Bump playwright by @kdaud in #247
- (chore) Bump framework and react form engine by @samuelmale in #248
- (chore) Bump react form engine by @denniskigen in #249
- (chore) Bump react-ace by @denniskigen in #250
- (chore) Bump turbo by @denniskigen in #252
- (chore) Remove color flag from turbo commands by @denniskigen in #253
- (chore) Bump react form engine by @samuelmale in #255
- (chore) Bumping react form engine and matching package versions as well by @vasharma05 in #258
- (chore) Bump react form engine by @denniskigen in #261
- (chore) Bump form-engine lib by @samuelmale in #266
- (chore) Bump playwright by @kdaud in #267
- (chore) bump react form engine by @arodidev in #268
- (chore) Bump yarn version by @denniskigen in #270
- (chore) Bump react form engine by @denniskigen in #269
New contributors
Full changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
- (chore) Bump react form engine version by @kajambiya in #224
- (refactor) Replace usages of
/ws/rest/v1/
with restBaseUrl by @jwnasambu in #225 - (fix) Improvements to the search experience by @denniskigen in #226
- (chore) Loosen fhir2 dependency requirement by @denniskigen in #227
- (chore) O3-2934: Update urls in the PR template by @kdaud in #229
- (chore) Bump playwright by @kdaud in #230
- (chore) Bump GitHub Actions + yarn by @denniskigen in #228
- (feat) Full-width schema editor by @denniskigen in #232
- (chore) Only auto-generate English translations by @denniskigen in #231
- (chore) Release v2.4.0 by @jayasanka-sack in #233
New Contributors
- @kajambiya made their first contribution in #224
- @kdaud made their first contribution in #229
Full Changelog: v2.3.0...v2.4.0
v2.2.1
Housekeeping
- (chore) Set fixStyle for consisent-type-imports eslint rule by @denniskigen in #207
- (fix) Fixed the output folder of the
build
in the turbo configuration by @vasharma05 in #208 - (chore) Release v2.2.1 by @vasharma05 in #209
Full Changelog: v2.2.0...v2.2.1
v2.2.0
Features
- (feat) Update i18next interpolation syntax by @vasharma05 in #199
- (feat) Implement fuzzy search in the forms dashboard by @denniskigen in #200
- (feat) Filter forms list using multiple properties by @denniskigen in #201
Bug fixes
- (fix) Various UI fixes for the Audit Details tab by @denniskigen in #196
- (fix) Remove unnecessary useEffect by @denniskigen in #197
Housekeeping
- (chore) O3-2515: Add docker setup to run E2E on Bamboo by @jayasanka-sack in #195
- (chore) Bump openmrs tooling and framework by @denniskigen in #198
- (chore) Release v2.2.0 by @denniskigen in #204
- (chore) Upgrade yarn to v4 by @denniskigen in #205
Full Changelog: v2.1.0...v2.2.0
v2.1.0
Highlights
Form builder v2.1.0
is a minor release that adds new features, bug fixes, and refactors. The release includes the following changes:
Ability to reorder questions via drag and drop
The form builder now allows users to reorder questions via drag and drop. This feature is available in the interactive builder and is provided by the react-dnd library. Any changes to the order of questions get reflected in the schema editor automatically.
Ability to copy and download form schemas
The form builder now allows users to copy and download form schemas. These features are available in the schema editor and should help schema authors to keep copies of their work locally.
Show form audit information
A new form audit information section has been added to the form builder. This section shows the form's UUID, version, and published status. This information is available in the interactive builder and the schema editor.
Features
- (feat) Reorder questions via drag and drop by @hadijahkyampeire in #166
- (feat) Tweak editor action button behaviour by @denniskigen in #174
- (feat) Add description field to the interactive builder by @denniskigen in #176
- (feat) Apply some design changes by @denniskigen in #178
- (feat) Add copy and download buttons to the schema editor by @denniskigen in #181
- (feat) Minimal tweaks to the copy button feature by @denniskigen in #183
- (feat) Hover effect on the draggable icon for the question by @NYESIGA in #192
- (feat) Display form audit information by @ODORA0 in #191
Refactors
- (refactor) Refactor some stylesheet imports by @denniskigen in #182
- (refactor) Refactor some styles by @denniskigen in #171
Bug fixes
- (fix) Fix styling affecting schema editor dimensions by @denniskigen in #173
- (fix) More fixes to the save form workflow by @denniskigen in #175
- (fix) Always show the
Render changes
button by @denniskigen in #180
Housekeeping
- (chore) Update E2E GitHub Action Job Name for Improved Clarity by @jayasanka-sack in #188
- (chore) Bump
@openmrs/openmrs-form-engine-lib
by @larslemos in #159 - (chore) Dependency upgrades and improvements to linting and types by @denniskigen in #190
- (chore) Add playwright video tracing by @anjula-sack in #148
- (chore) O3-2326: Utilize pre-filled docker images in e2e tests by @Piumal1999 in #179
New Contributors
-
@jayasanka-sack made their first contribution in #188
-
Thank you to all our wonderful contributors! 🎉
Full Changelog: v2.0.1...v2.1.0
v2.0.1
v2.0.0
Form Builder v2.0.0
is a major
release that introduces a BREAKING change. It migrates this frontend module to leverage the new module loading mechanism introduced in Core v5.
Highlights
Performance improvements
We have migrated all the frontend modules in Patient Chart to leverage the new module loading mechanism introduced in Core v5. Frontend modules now declare their static and dynamic metadata upfront, and the framework uses this information to load only the static bits when the application gets loaded for the first time while loading the dynamic bits is deferred to later when they are needed. This change delivers significant improvements to initial load time. Check out the migration guide to get a closer look at the internals of the new module loading mechanism.
Breaking changes
Features
- (feat) Automatically update translation files for all locales when keys and strings change by @vasharma05 in #153
Bug fixes
- (fix) Fix
MultiSelect
component rendering by @denniskigen in #144 - (fix) Remove deprecated
extensionSlotName
prop by @denniskigen in #147 - (fix) Change the DOM order of the form builder page by @denniskigen in #160
- (fix) O3-2191: Remove the form builder app menu link by @jwnasambu in #151
- (fix) Remove unused
formBuilderAppMenuLink
extension by @denniskigen in #164 - (fix) Update form UUID when creating a new form by @denniskigen in #167
- (fix) O3-2230: error when the label for multiselect is not specified by @AlexanderMizgirev in #162
Housekeeping
- (chore) Add a link to the form builder to the system admin interstitial page by @hadijahkyampeire in #135
- (chore) Bump
openmrs
by @denniskigen in #146 - (chore) Add CI status badge by @denniskigen in #150
- (chore) Bump
@openmrs/openmrs-form-engine-lib
by @larslemos in #152 - (chore) Switch back to
swc-loader
by @denniskigen in #158 - (chore) Update to newer versions of openmrs and @openmrs/esm-framework by @denniskigen in #161
Tests
- (test) Add E2E tests for searching and filtering the form list. by @hadijahkyampeire in #126
- (test) O3-2095: Add form publication tests by @anjula-sack in #138
- (test) Use kebab-case naming convention and BDD-like syntax by @denniskigen in #142
- (test) O3-2200: Utilize form search functionality in E2E tests by @Piumal1999 in #157
New contributors
- @Piumal1999 made their first contribution in #157
- @AlexanderMizgirev made their first contribution in #162
- @vasharma05 made their first contribution in #153
- @jwnasambu made their first contribution in #151
Thank you to all our wonderful contributors! 🎉
v1.2.0
What's Changed
Features
- (feat) Show a warning about saving schemas by @denniskigen in #85
- (feat) Create pull request template by @Jexsie in #89
- (feat) Prevent modals from closing when clicking outside by @denniskigen in #96
- (feat) Add ability to cache form-schema by @donaldkibet in #100
- (feat) Add a delete button to the forms list by @denniskigen in #114
- (feat) Add better types and stricter linting rules by @denniskigen in #116
- (feat) Change answers in edit mode when the linked concept changes by @denniskigen in #117
Refactors
- (refactor) Use bound mutate API for revalidation by @denniskigen in #115
- (refactor) Better type annotations by @denniskigen in #121
Bug fixes
- (fix) Update test patient UUID by @denniskigen in #79
- (fix) Update test patient UUID by @denniskigen in #84
- (fix) Fix errors that prevent users from saving existing forms by @denniskigen in #93
- (fix) Ensure users do not input wrong version numbers by @donaldkibet in #98
- (fix) Various fixes and improvements by @denniskigen in #107
- (fix) 03-2084: Add pagination to the form builder table and fix the modal scroll. by @hadijahkyampeire in #110
- (fix) O3-2094: Save the encounter type when the form is saved by @anjula-sack in #122
- (fix) O3-2124: Unable to save a form after an initial save by @denniskigen in #125
- (fix) Remove the need to pass a
patientUuid
to the form engine by @denniskigen in #128 - (fix) O3-2135: Unable to set form name and version by @denniskigen in #137
Housekeeping
- (chore) O3-2042: Configure E2E tests with playwright by @anjula-sack in #82
- (chore) O3-2043: Integrate E2E tests with Github Actions by @anjula-sack in #83
- (chore) Bump react-error-boundary by @denniskigen in #86
- (chore) Bump
@openmrs/openmrs-esm-form-engine
by @denniskigen in #97 - (chore) Fix
dayjs
dependency by @denniskigen in #108 - (chore) O3-2089: Disable trace recording in Playwright by @anjula-sack in #112
Tests
- (test) O3-2045: Add custom schema e2e test by @anjula-sack in #102
- (test) O3-2044: Add the dummy schema form creation e2e test by @anjula-sack in #119
- (test) O3-2046: Add the edit form E2E test by @anjula-sack in #120
- (test) O3-2047: Add a basic e2e test for the interactive builder by @denniskigen in #131
Documentation
- (docs) Link to new docs site in the interactive builder by @denniskigen in #95
New Contributors
- @anjula-sack made their first contribution in #82
- @Jexsie made their first contribution in #89
- @larslemos made their first contribution in #101
- @hadijahkyampeire made their first contribution in #110
Thank you for your excellent contributions 🎉!
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
Features
- (feat) Minor UI tweaks by @denniskigen in #71
Bug fixes
- (fix) Remove explicit use of axios by @ibacher in #67
- (fix) Append
multipart/form-data
content type to request headers by @denniskigen in #68 - (fix) Fixes a flaw in the duplicate question feature by @denniskigen in #74
- (fix) Fix errors when attempting to save a form by @denniskigen in #76
Housekeeping
- (chore) Bump Turborepo GitHub Artifacts action version by @denniskigen in #64
- (chore) Bump @ohri/openmrs-ohri-form-engine-lib by @denniskigen in #65
- (chore) Bump @ohri/openmrs-ohri-form-engine-lib by @samuelmale in #66
- (chore) Switch to the community-hosted form engine lib by @denniskigen in #70
New Contributors
- @samuelmale made their first contribution in #66
- @ibacher made their first contribution in #67
Full Changelog: v1.0.1...v1.1.0