« Maps in Cleartrip hotel searches | Main | [Design nuances] Hotel info in search results »

[Design nuances] Date picker redesign

Selecting dates is a vital function in the design of online travel products. If users have to struggle with inputting dates, the product's usability is severely impacted. We recently decided that the trusty date-picker widget we've been using since Cleartrip launched was in need of a complete overhaul.

We were never really thrilled with the way it looked or worked. The grey background around the months looks out of place, the colours don't really fit with the colour palette we use at Cleartrip, and the close button sticks out like a sore thumb.

The vertical stacking of the months was also problematic. In particular, placement of the "Next month" and "Previous month" links was bothersome for two reasons: 1) it requires quite a bit of mouse movement to move between the two links; 2) the "Previous month" link doesn't appear at all if you're picking a date in the current month, causing the display of the months to jump up and down.

Another important consideration while implementing a date-picker is that it should be easy to configure and easy to maintain. Our original date-picker was neither. The date-picker is probably one of the most widely used pieces of code across our various products and we needed something that could be easily reused and adapted to fit a variety of situations.

We released a new date-picker last night. To begin with, we rewrote the Javascript code for the calendar from scratch to make the date-picker easy to configure and reuse. We then started working on its appearance. First we moved to a horizontal arrangement of the months. Then, we eliminated the need to use text links by creating new icons for the previous, next and close buttons. The icons were placed at the top of the date-picker--that's where people expect them to be.

With the layout out of the way, we turned our attention to colours. We experimented with an all-white display of months and dates, but found it looked a little too flat. We made the background for dates a light shade of yellow and thought it looked just about right. As a final touch, we added a dotted border to help distinguish weekends from weekdays.

We think the new date-picker is a huge improvement over the old one. As always, this design tweak was an exercise in improving all the little things that make a big difference.

Posted on Thursday, April 10, 2008 at 11:15PM by Registered CommenterHrush | Comments7 Comments

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments (7)

1. The close icon and next month icons are too close to each other.
2. The close icon and next/previous icons are too small for easy navigation.
April 11, 2008 | Unregistered CommenterSaurabh Nanda
The colors look wildly different on a laptop screen from different angles. If you had used darker colors the difference would not have been so stark. The dotted line separating the weekends is almost invisible.
April 11, 2008 | Unregistered CommenterSaurabh Nanda
- The calendar is taking up too much space on the page.May be you could reduce the space between the last row of dates and the bottom of the calendar and also between the nanme of the month and week days

- Also the weekday-weekend seperator is almost invisible.

- Why not try using comboboxes for changing the months.If the user wants to select a date 5 months down the line...you can save 4 clicks this way....and some javascript too i guess...
April 11, 2008 | Unregistered CommenterRahul
Since you're getting so much response about the weekend seperator, why dont you try a subtle shade difference to the background of the weekend dates and remove the seperator completely?? That should do the trick nicely.
April 11, 2008 | Unregistered CommenterDhruv Chopra
I loved the old calendar. This calendar looks devoid of any life and is like it almost says "dude why the hell do you want to go anywhere! Sit at home and enjoy your beer". Believe me it will decrease your number by a lot! Bring back the old calendar
April 12, 2008 | Unregistered CommenterOldCalLover
I'm fan of your site design.
Some points around this topic:
* This design is almost identical to kayak.com, visually better then their
* Functionally, I liked Kayak's (Hint: try to enter earlier Return date, it allows me to choose earlier just empties starting date) don't restrict user, he know better then machine ... give good visual clue instead of restricting.
April 14, 2008 | Unregistered CommenterNiket Patel
The earlire thinner and vertical design made the calender fit on Opera Mini, my mobile browser, when I zommed in on the page. So I only had to scroll up/down. Now I have to scroll right/left too to select a date.

Moral of story:
1. Test in the Opera web browser.
2. Test in a good mobile web browser. Do it free online from here: http://www.operamini.com/dem

:)
April 14, 2008 | Unregistered Commenteroperafan

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.