Request for comments: calendar facelift

sunsetsystems wrote on Saturday, April 23, 2005:

I spent a couple of days working on a new look for the calendar.  Please see the screenshot at "http://www.refercare.org/openemr/openemr_calendar_screenshot.jpg".

Note that it is much more compact and that the time slots now line up across the screen.  The page renders more quickly and with much less data transmitted.

Details of an appointment will pop up as a “tooltip” when you mouse-over the patient’s last name.  Also you can click on the name as before to open the patient summary page, or click on the digits preceding the name (which are the minutes portion of the appointment time) to open the event.

Also as before, clicking on a timeslot will display the page for creating a new event for that practitioner and time.

Future plans would include color-coding the appointments to indicate if the patient has arrived, if they have been called to confirm, etc.

Comments?

– Rod <rod at sunsetsystems dot com>

markleeds wrote on Saturday, April 23, 2005:

The link didn’t work when I tried it.

sunsetsystems wrote on Sunday, April 24, 2005:

Looks like a couple of bytes of junk got attached to the end of the URL.  Remove everything after ".jpg", or try this:

http://www.refercare.org/openemr/openemr_calendar_screenshot.jpg

– Rod <rod at sunsetsystems dot com>

markleeds wrote on Sunday, April 24, 2005:

It really looks nice.

tekknogenius wrote on Sunday, April 24, 2005:

Wow! That looks great! Much better than the current one. It looks sharper, cleaner and crisper.

I vote for that one

sunsetsystems wrote on Monday, April 25, 2005:

Thanks for the positive feedback!  I’ve finished round 1 which is to improve the appearance and performance of the day and week views.  I’ve also cleaned up the navigation area at the top a bit.

However I’ll wait until after the release to check it in, unless you guys really want it to be in 2.7.2.

– Rod <rod at sunsetsystems dot com>

tekknogenius wrote on Monday, April 25, 2005:

I would put it in. Assuming that it is a drop in replacement, i.e., no other major config changes required.

sunsetsystems wrote on Wednesday, April 27, 2005:

OK I have finally committed the new code.  The changed files are:

interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/default.html
interface/main/calendar/modules/PostCalendar/pntemplates/default/views/week/default.html

As you may guess this affects the day and week views.

– Rod <rod at sunsetsystems dot com>

sunsetsystems wrote on Tuesday, May 03, 2005:

By the way I checked in another calendar fix, this time to the backend code in pnuserapi.php.  It turns out that the SQL query used to get the calendar events for display had a bug that caused it to needlessly fetch all prior appointments.

As you might imagine this caused a serious performance problem as appointments accumulated over time.  My client’s response time for the daily calendar display has now gone down from roughly 5 seconds to 1 second.

– Rod <rod at sunsetsystems dot com>