Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) O3-3112: Add form collapse toggle to the esm-form-engine-app #1814

Merged
merged 5 commits into from Apr 29, 2024

Conversation

usamaidrsk
Copy link
Contributor

@usamaidrsk usamaidrsk commented Apr 26, 2024

Requirements

  • This PR has a title that briefly describes the work done including the ticket number. If there is a ticket, make sure your PR title includes a conventional commit label. See existing PR titles for inspiration.
  • My work conforms to the OpenMRS 3.0 Styleguide and design documentation.
  • My work includes tests or is validated by existing tests.

Summary

This PR add the form collapse component to the form-engine-app as use it as an extension in the patient-chart-workspace-header-slot

Screenshots

image

form-collapse.mp4

Related Issue

O3-3112

Other

@usamaidrsk usamaidrsk changed the title (feat) O3-3112: Add form collapse toggle (feat) O3-3112: Add form collapse toggle to the esm-form-engine-app Apr 26, 2024
@pirupius
Copy link
Member

@usamaidrsk please add a video/gif showing the behaviour

Copy link
Member

@ibacher ibacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @usamaidrsk!

Copy link
Member

@denniskigen denniskigen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks, @usamaidrsk!

@denniskigen denniskigen merged commit ef47592 into openmrs:main Apr 29, 2024
6 checks passed
CynthiaKamau added a commit that referenced this pull request May 6, 2024
…ngine changes (#1821)

* (fix) O3-3046: Updated the interpretation keys for vital signs matching table headers (#1791)

* (fix) O3-2975: Encounter datetime should not be sent when saving vitals and biometrics form (#1790)

* (chore) Bump Angular form engine (#1799)

* (feat) O3-3084: Sort fetched tests alphabetically in the lab order search inside order basket (#1797)

* Sort fetched tests alphabetically in the lab order search

* Updated tests

* (feat) Update Angular form engine translations (#1801)

* (test) Refactor lab orders E2E test (#1803)

* (test) Split lab test step for saving the form (#1805)

* (fix) O3-3093: React form engine workspace should close after submitting a form (#1804)

* Patient forms not passing the closeWorkspaceWithSavedChanges function

* Passing closeWorkspaceWithSavedChanges to the forms

* Passing 'markFormAsDirty' in the form engine

* Bumped @openmrs/esm-form-engine-lib

* Fixed the import

* Reverted changes in form entry app

* (chore) Bump `@openmrs/esm-form-engine-lib` (#1807)

* Bumped @openmrs/esm-form-engine-lib

* Updated yarn.lock

* (chore) Bump @openmrs/openmrs-form-engine-lib (#1808)

* (chore) O3-3114: Bump react form engine (#1809)

(chore) Bump react form engine

* (chore) clean up unused webpack config and bumps engine (#1810)

* (chore) clean up unused webpack config and bumps engine

* Bumping form-engine again

---------

Co-authored-by: Vineet Sharma <sharmava05@gmail.com>

* (chore) Bump form-engine with added translations (#1811)

* Bump form-engine with added translations

* Bump form-engine to latest pre-release

* (fix) Use order reasons should correctly chunk concept references and  load all of them (#1813)

(fix) Use order reasons should correctly chunk concept references and load all of them

* (feat) O3-3077: Add validation to restrict users from initiating future visit (#1793)

* (fix) O3-3133: Clicking the cancel button should not close the workspace (#1815)

* (feat) Conditionally repress browser-specific date; also updates the form engine

* (feat) O3-3112: Add form collapse toggle to the `esm-form-engine-app` (#1814)

* feat: form collapse

* refactor: rename formCollapseToggle

* refactor: remove redundant add lister

* refactor: use usecallback for handleFormEmbedded

---------

Co-authored-by: Dennis Kigen <kigen.work@gmail.com>

* (feat) O3-3133: Adapt cancel logic in the react form engine workspace (#1816)

* (chore) Bump react form engine (#1817)

* (chore) Bump ejs from 3.1.9 to 3.1.10 (#1819)

Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](mde/ejs@v3.1.9...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Vineet Sharma <sharmava05@gmail.com>
Co-authored-by: Dennis Kigen <kigen.work@gmail.com>
Co-authored-by: Daud Kakumirizi <dkakumirizii@gmail.com>
Co-authored-by: CynthiaKamau <cynthiakamau54@gmail.com>
Co-authored-by: Pius Rubangakene <piruville@gmail.com>
Co-authored-by: Ian <52504170+ibacher@users.noreply.github.com>
Co-authored-by: Donald Kibet <chelashawdonald@yahoo.com>
Co-authored-by: Ian <ian.c.bacher@gmail.com>
Co-authored-by: Usama Idriss Kakumba <53287480+usamaidrsk@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants