-
Notifications
You must be signed in to change notification settings - Fork 211
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
(fix) O3-3391: Appointments form should show errors if all fields were left empty #1182
(fix) O3-3391: Appointments form should show errors if all fields were left empty #1182
Conversation
… content is too long (openmrs#1042)
…mrs#1043) Co-authored-by: Jayasanka Weerasinghe <[email protected]>
Co-authored-by: OpenMRS Bot <[email protected]> Co-authored-by: Mark Goodrich <[email protected]>
…gister appointment workspace correctly (openmrs#1053)
…penmrs#1046) * (fix): Tablet-UI. Making Tablet Service-queues metrics header responsive on tablet mode Signed-off-by: Joshua Murithi <[email protected]> * Fixup --------- Signed-off-by: Joshua Murithi <[email protected]> Co-authored-by: Dennis Kigen <[email protected]>
Co-authored-by: OpenMRS Bot <[email protected]> Co-authored-by: Mark Goodrich <[email protected]>
* Enhanced Monthly Calendar UI for Appointment Scheduler * clicking on a day from within the month to change the appointment date * Localized days in weeks * Removed weekly calendar view on appointment scheduler --------- Co-authored-by: Donald Kibet <[email protected]>
…nd void queue entries (openmrs#1052) * (BREAKGING) O3-2748 service queues - add ability to undo transitions and void queue entries * add tests * minor wording fixup * remove unused imports * change undo transition route per update in backend PR * address PR comments
… things unrelated to patient serach (openmrs#1058)
…ame or identifier (openmrs#1067)
…as 'Appointment Location' (openmrs#1066)
…ts Module Co-authored-by: Mark Goodrich <[email protected]>
…ues (openmrs#1076) * (feat) O3-3025: Add validation in change status modal for service queues * (test) updated test to reflect changes
openmrs#1079) * (feat) O3-3030 - make new queue table support creating new queue entry * fix metrics * address PR comment
…ges in Queue Table (openmrs#1082)
…mrs#1070) Co-authored-by: Dennis Kigen <[email protected]>
* Handle null start date on list details * Removed unnecessary optional chaining --------- Co-authored-by: Dennis Kigen <[email protected]>
…-management into fix/form-validation
…-management into fix/form-validation
Ok, we've got design sign-off for this. @denniskigen or @vasharma05 could you please review when you have a minute? It's a very small change, but I think you guys know the zod & react-hook-form stuff better than I do. |
Why are there 51 commits? Can we whittle them down to just 1. |
Yeah idk. I even tried the trick where you change the base branch to something else and then back to main. Anyway when we hit "squash and merge" it will just make one commit, so it doesn't actually matter. |
packages/esm-appointments-app/src/form/appointments-form.component.tsx
Outdated
Show resolved
Hide resolved
…-management into fix/form-validation
Screen.Recording.2024-08-08.at.12.34.31.PM.mov |
packages/esm-appointments-app/src/form/appointments-form.component.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM, thanks!
Thanks, @senthil-athiban! |
Requirements
Summary
This PR addresses the issue of not displaying an error message when the user has not filled out the form.
Screenshots
https://www.loom.com/share/932df3a24576492c90a8871a37b156c7
Related Issue
https://openmrs.atlassian.net/browse/O3-3391