PLEASE NOTE: As we have not yet determined the final format of the Time Picker, these are storycards for a Date Picker only. We anticipate that at some point there could be up to three components: a date picker, a time picker, and a (combined) date-time picker.
Storycard 1: Allow user to select a date using a mouse
- Pop-up a date picker when the user clicks inside the date text field. The date picker should:
- be a standard calendar grid
- display the initial of the days of the week as column header across the top, starting with Sunday (i.e. S, M, T, W, T, F, S).
- For Saturday & Sunday, use faint grey as the background colour of the cells.
- Display the dates in the displayed month as links
- When user clicks on a date, enter the date in the date text field in the following format: "Jan 1, 2008" and close the date picker pop-up after 1 second.
Storycard 2: Allow user to navigate to dates outside of the initially displayed month
- Provide a month dropdown and a year dropdown at the top of the calendar. When a different month is selected, display selected month of the same year in the calendar area. When a different year is selected, display the same month (as the currently displayed one) of the selected year.
- Display forward and backward arrows on either side of the month and year dropdowns. The next month is displayed when the forward arrow is clicked, and the previous month is displayed when the backward arrow is clicked.
- Provide "Today's date" link at the bottom of the calendar. When user has navigated off to other months, clicking on this link quickly brings them back to the current month.
Storycard 3: Style calendar to make it easier to comprehend
- Enable the integrator to configure the calendar so that any day of the week (e.g. Monday) is specified to start the week.
- Indicate the potential selection: Highlight the dates in light blue upon mouse-over
- Indicate the selected date: When user clicks on a date (hence closes the date picker) and opens the date picker again, the selected date should be indicated in the calendar with dark blue background on white text
- Indicate today's date in the calendar: Use the pressed-look to indicate today's date in the calendar, such that other additional styling (selection, hover, or grey-out) can be applied to it as needed
Storycard 4: Display additional information in the calendar using visual styles to help date selection
- Indicate previously selected date: When user opens one of a series of date fields, indicate other related dates on the calendar (if they are selected) with white text on dark grey background (e.g. Open date, Due date, Accept until date).
- Disable irrelevant dates: Display the irrelevant dates (may depend on the context and selections made on other fields) in grey and make them non-clickable