-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update new-visits-widget with work in main (#1850)
* (feat) O3-3156: Submitting the start visit form should mutate appointments (#1825) * (fix) O3-2852: Fix the viewport size of the Start Visit form on tablet (#1765) * Overlapping issue fixed in visit-form * Make viewport height responsive - different values for desktop and tablet --------- Co-authored-by: Mutesasira Moses <[email protected]> Co-authored-by: Dennis Kigen <[email protected]> * (refactor) O3-2626: Reuse useAllowedFileExtensions hook from Common Lib (#1827) (refactor) Reuse allowedFileExtensions hook from Common Lib * (feat) O3-3158: Conditionally render Patient Header in the Start Visit form (#1823) * (feat) O3-3158: Visit Form should support (optionally) rendering Patient Header * (feat) O3-3158: Visit Form should support (optionally) rendering Patient Header --------- Co-authored-by: Dennis Kigen <[email protected]> * (chore) Bump form-engine lib (#1828) Bump form-engine lib * (chore) Bump form-engine lib (#1829) Bump form-engine lib * (fix) Widen range to detect "current" data entry * (fix) O3-3158: Follow-up commit fixing patientUuid sometimes undefined (#1831) * (feat) O3 3128: Add extension slots to lab and drug order forms (#1818) * (feat) Add slots to labs and drug form * O3-3128 (feat) Enhance lab, orders and dispensing form with addition slot * Fixup --------- Co-authored-by: Dennis Kigen <[email protected]> * (chore) Bump RFE version (#1833) * Bump RFE version * Update to next * (fix) O3-3196: Fix diagnoses tags display on tablet (#1834) * (fix) O3-3195: Fix rendering logic for the weight tile (#1835) * (fix) return encounter type uuid from encounter type object (#1836) return uuid from encounter type object * (chore) Bump React form engine and yarn (#1837) * (chore) Release v8.0.0 (#1839) * (feat) O3-2430: User should be able to look up frequency in dropdown by abbreviation (#1767) Co-authored-by: Dennis Kigen <[email protected]> Co-authored-by: Ian <[email protected]> * (chore) Release v8.0.1 (#1841) Co-authored-by: Dennis Kigen <[email protected]> * (chore) Bump react and related types (#1842) * (chore) Bump react and related types * Fixup * Bump test deps to remove warnings * (fix) O3-3158: Restore abortControllers * Revert "(fix) O3-3158: Restore abortControllers" This reverts commit 0895e27. * (fix) O3-3158: Restore abortControllers (#1843) * (chore) Bump react form engine * (fix) O3-3175: Remove Breadcrumbs menu from Patient Chart (#1832) * (fix)- O3-3175 Remove Breadcrumbs * Remove translation strings * Remove more occurrences of breadcrumbs --------- Co-authored-by: Dennis Kigen <[email protected]> * (feat) Update custom representation to match required properties for encounter observation (#1845) * Make attachment upload modal span full-width * (chore) Bump react form engine (#1846) * (feat) O3-2626: Add the ability to upload multiple images in the Visit Note form (#1826) Co-authored-by: Dennis Kigen <[email protected]> * (fix) O3-3284: Display correctly formatted patient name throughout patient chart apps (#1849) * Display formatted patient name in visit-header and patient-details-tile components * Display formatted patient name in patient-banner component. * Display formatted patient name in esm-patient-labs-app * Display formatted patient name in esm-patient-medications-app * Display formatted patient name in esm-patient-orders-app * Display formatted patient name in esm-patient-vitals-app * Bump core tooling * (feat) O3-3165: Add confirmation modal when deleting repeat question (#1840) * (feat): Add confirmation modal when deleting repeat question * (refactor): register modal as extension * (refactor): change modal registration name * Bump form engine and core tooling --------- Co-authored-by: Dennis Kigen <[email protected]> --------- Co-authored-by: Mark Goodrich <[email protected]> Co-authored-by: Madhu Lokesh <[email protected]> Co-authored-by: Mutesasira Moses <[email protected]> Co-authored-by: Dennis Kigen <[email protected]> Co-authored-by: Samuel Male <[email protected]> Co-authored-by: Ian <[email protected]> Co-authored-by: Ian <[email protected]> Co-authored-by: Donald Kibet <[email protected]> Co-authored-by: Jamie Arodi <[email protected]> Co-authored-by: Thembo Jonathan <[email protected]> Co-authored-by: Piyush Mishra <[email protected]> Co-authored-by: Vineet Sharma <[email protected]> Co-authored-by: Bhargav kodali <[email protected]> Co-authored-by: jwnasambu <[email protected]> Co-authored-by: Gavin Falconer <[email protected]> Co-authored-by: Nethmi Rodrigo <[email protected]>
- Loading branch information
1 parent
350f4cc
commit 52e8a60
Showing
63 changed files
with
1,193 additions
and
1,343 deletions.
There are no files selected for viewing
593 changes: 297 additions & 296 deletions
593
.yarn/releases/yarn-4.1.1.cjs → .yarn/releases/yarn-4.2.2.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@openmrs/esm-patient-chart", | ||
"private": true, | ||
"version": "7.1.0", | ||
"version": "8.0.1", | ||
"workspaces": [ | ||
"packages/*" | ||
], | ||
|
@@ -15,21 +15,28 @@ | |
"postinstall": "husky install", | ||
"test-e2e": "playwright test" | ||
}, | ||
"dependencies": { | ||
"@hookform/resolvers": "^3.3.1", | ||
"classnames": "^2.3.2", | ||
"react-hook-form": "^7.46.2", | ||
"react-to-print": "^2.14.13", | ||
"zod": "^3.22.2" | ||
}, | ||
"devDependencies": { | ||
"@openmrs/esm-framework": "next", | ||
"@playwright/test": "1.44.0", | ||
"@swc/cli": "^0.1.62", | ||
"@swc/core": "^1.3.89", | ||
"@swc/jest": "^0.2.29", | ||
"@testing-library/dom": "^9.3.3", | ||
"@testing-library/jest-dom": "^6.1.5", | ||
"@testing-library/react": "^14.1.2", | ||
"@testing-library/user-event": "^14.5.1", | ||
"@testing-library/dom": "^10.1.0", | ||
"@testing-library/jest-dom": "^6.4.5", | ||
"@testing-library/react": "^15.0.7", | ||
"@testing-library/user-event": "^14.5.2", | ||
"@types/fhir": "^0.0.31", | ||
"@types/jest": "^29.5.11", | ||
"@types/lodash-es": "^4.17.9", | ||
"@types/react": "^18.2.22", | ||
"@types/react-dom": "^18.2.7", | ||
"@types/react": "^18.3.2", | ||
"@types/react-dom": "^18.3.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.3", | ||
"@typescript-eslint/parser": "^6.7.3", | ||
"babel-preset-minify": "^0.5.2", | ||
|
@@ -53,8 +60,8 @@ | |
"lodash": "^4.17.21", | ||
"openmrs": "next", | ||
"prettier": "^3.0.3", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-i18next": "^11.18.6", | ||
"react-router-dom": "^6.16.0", | ||
"rxjs": "^7.8.0", | ||
|
@@ -73,12 +80,5 @@ | |
"resolutions": { | ||
"sass": "^1.54.3" | ||
}, | ||
"packageManager": "[email protected]", | ||
"dependencies": { | ||
"@hookform/resolvers": "^3.3.1", | ||
"classnames": "^2.3.2", | ||
"react-hook-form": "^7.46.2", | ||
"react-to-print": "^2.14.13", | ||
"zod": "^3.22.2" | ||
} | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
packages/esm-form-engine-app/src/form-renderer/repeat/delete-question-modal.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { ModalHeader, ModalBody, ModalFooter, Button } from '@carbon/react'; | ||
|
||
interface DeleteModalProps { | ||
onConfirm: () => void; | ||
onCancel: () => void; | ||
} | ||
|
||
const DeleteModal: React.FC<DeleteModalProps> = ({ onConfirm, onCancel }) => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<React.Fragment> | ||
<ModalHeader | ||
closeModal={onCancel} | ||
title={t('deleteQuestionConfirmation', 'Are you sure you want to delete this question?')} | ||
/> | ||
<ModalBody> | ||
<p>{t('deleteQuestionExplainerText', 'This action cannot be undone.')}</p> | ||
</ModalBody> | ||
<ModalFooter> | ||
<Button kind="secondary" onClick={onCancel}> | ||
{t('cancel', 'Cancel')} | ||
</Button> | ||
<Button kind="danger" onClick={onConfirm}> | ||
{t('deleteQuestion', 'Delete question')} | ||
</Button> | ||
</ModalFooter> | ||
</React.Fragment> | ||
); | ||
}; | ||
|
||
export default DeleteModal; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 0 additions & 30 deletions
30
packages/esm-patient-attachments-app/src/attachments/use-allowed-extensions.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.