openmrs-esm-patient-chart
openmrs-esm-patient-chart copied to clipboard
(feat) O3-2626: Visit note attach image should be able to attach multiple images
Requirements
- [x] 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
I fixed the VisitNotesForm component to allow attaching multiple images without necessarily being an array by adjusting the UploadedFile type to accommodate multiple files and update the related logic.
Screenshots
Uploading screencast 2024-05-01 5 PM-36-32.mp4…
Related Issue
https://openmrs.atlassian.net/browse/O3-2626
Other
@ibacher Thanks for the review ref .
@ibacher, @denniskigen and @brandones kindly help me review my PR at your convinient time please!
@jwnasambu Are you stuck on any particular point or is this ready for a full review?
@ibacher Its ready for review. Thanks for asking.
@ibacher and @denniskigen Kindly am so sorry I have tried to push the changes and even update this PR but all in vain since yesterday and no error thrown to guide me. Kindly I have created this link https://github.com/openmrs/openmrs-esm-patient-chart/pull/1826 with the proposed changes.