-
Notifications
You must be signed in to change notification settings - Fork 188
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
Enhanced Monthly Calendar UI for Appointment Scheduler #1049
Conversation
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 looks good to me, thanks @gabriel090 !
Can we use translation strings for the days of the week (see my comment).
Also, per my other comment, I might not be following the code properly, but I don't think we'd want clicking on a date within the month few to change the whiole date "context", but just to change the value of the appointment date file on the form.
But generally, this looks much better than before, thanks for working on this!
packages/esm-appointments-app/src/workload/monthly-view-workload/monthly-view.component.tsx
Outdated
Show resolved
Hide resolved
packages/esm-appointments-app/src/workload/monthly-view-workload/monthly-view.component.tsx
Outdated
Show resolved
Hide resolved
b9747ed
to
7ca8430
Compare
@mogoodrich @gabriel090 - is there a reason we need both the weekly and monthly views? Could we retain just the monthly one? |
@ojwanganto I would totally be in favor of the removing the weekly view and just keeping the monthly view, it seemed duplicative to me as well. |
@gabriel090 please consider removing the weekly distribution. It is already part of the monthly view which eventually reduces the number of clicks. Thanks @mogoodrich |
|
Thanks @ojwanganto ! yes, @gabriel090 do you want to remove the weekly view as part of this PR, or we can ticket it as a separate ticket/PR if that is easier, I realize the weekly view predates your changes. Thanks! |
Oh @gabriel090 apologies, I think you have already updated the PR to remove the weekly view... is this good to go from your perspective, I'm happy to merge. |
I am going to go ahead and merge this in so we can test (the E2E error appears to be unrelated). Thanks @gabriel090 |
So @gabriel090 I'm seeing some issues with this, when used from the "Appointments" section, first when you select a date, the appointment date picker gets set to the date before the selected date (I'm wondering if this is a timezone issue, I'm in Eastern time). And then when I save the appointment, it seems to get created on the current day, not the date selected. Screencast.from.03-21-2024.03.47.37.PM.webm |
@mogoodrich Thank you for the feedback. This is in working progress, I will update you once it is done. Thank you |
Thanks @gabriel090 , I ticked this here: https://openmrs.atlassian.net/browse/O3-2998 |
Thanks, @mogoodrich, for the feedback, and I appreciate that someone is attempting to fix the issue. However, in the original issue, when creating an appointment and picking a date from the calendar scheduler, the appointment is saved for the current day, which still persists. I am currently working on it. Thanks. |
* 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 <chelashawdonald@yahoo.com>
Requirements
Summary
This enhances the UI of the monthly calendar view in the appointment scheduler. The updated design provides a visually appealing layout compared to the previous version, improving the overall user experience. The modifications include refining the layout, enhancing visual elements, and ensuring a more intuitive navigation experience for users interacting with the calendar.
Screenshots
This is the appointment calendar view scheduler before the upgrade
The new Calendar view after modification
Related Issue
Other