Ticket #1745328 (accepted enhancement)

Reporter


sfbugs
Opened: 06/29/07
Last modified: 09/19/12
Status: accepted
Type: enhancement

Owner


Allen Rabinovich
Target Release: 3.CURRENT.NEXT
Priority: P3 (normal)
Summary: Calendar: Add an option to make out of month dates clickable
Description:

In most calendars, when you display the current month in a calendar widget, it will fill in the first and last week of the month with dates for the previous and last months. These should be clickable
to reduce the number of clicks by a user and to further enhance the user experience.

For example, if you open the Yahoo calendar for June 2007, it will render the following for the last two rows, the last row has a class of 'oom' or out of month and is not clickable. For someone to
select July 1st, they must first click to navigate to the next month (calnavright) and then select July 1st.

Type: enhancement Observed in Version: None
Component: Calendar Severity: S3 (normal)
Assigned To: Allen Rabinovich Target Release: 3.CURRENT.NEXT
Location: Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

mikeleeorg

  • Username: mikeleeorg
Posted: 07/3/07

Thanks for submitting this feature request! All of our engineers are currently heads-down on our upcoming 2.3.0 release (in late July), so for the time being, we're holding off on anything but urgent bugs. Perhaps this may be addressed with our next our release; if not, we'll put it into our queue after the release. Thanks for being patient with us!

nobody

  • Username: nobody
Posted: 07/5/07

I have a patch for this one that I am submitting.

jjflynn@travelers.com

George

YUI Developer

Posted: 08/23/07

Forwarding to component owner for consideration.

George

YUI Developer

Posted: 10/2/07
  • summary changed from YAHOO.calendar - Make out of month dates clickable to [#1510299] Calendar: Make out of month dates clickable

added to internal bug db#1510299

Mark A. Ziesemer

Posted: 05/12/08

+ 1. I'd also appreciate / use this functionality.

Garann Means

Posted: 07/2/08

In case it's helpful to anyone, I fixed this by changing 'renderCellNotThisMonth' in the calendar.js file to add a link and remove the returned value:

YAHOO.widget.Calendar.prototype.renderCellNotThisMonth=function(workingDate,cell){YAHOO.util.Dom.addClass(cell,this.Style.CSS_CELL_OOM);cell.innerHTML='<a href="javascript:void(null);" >'+this.buildDayLabel(workingDate)+"</a>";}

In calendar.css, I added a style for '.yui-calendar td.calcell.oom a' to give that link the normal out-of-month color.

So far, that works fine, no problems or unintended consequences.

sfbugs

Posted: 01/7/09

This ticket was imported from Source Forge.

Orginially submitted by: nobody

George

YUI Developer

Posted: 04/7/09
  • status changed from assigned to accepted

Satyen Desai

YUI Developer

Posted: 05/3/10

Re-assigning to Luke, who's working on Calendar for 3.x

Luke Smith

YUI Contributor

Posted: 05/5/10
  • status changed from assigned to accepted

George

YUI Developer

Posted: 04/25/11

Allen Rabinovich

YUI Developer

Posted: 04/28/11
  • browser changed to N/A
  • resolution changed from None
  • status changed from assigned to accepted

Allen Rabinovich

YUI Developer

Posted: 02/1/12
  • milestone changed from 3.NEXT to 3.6.0
  • summary changed from Calendar: Make out of month dates clickable to Calendar: Add an option to make out of month dates clickable

Allen Rabinovich

YUI Developer

Posted: 07/18/12
  • sprint changed to backlog

Allen Rabinovich

YUI Developer

Posted: 07/27/12
  • milestone changed from 3.6.0 to 3.7.0
  • sprint changed from backlog

Jenny Donnelly

YUI Developer

Posted: 08/1/12
  • milestone changed from 3.7.0 to 3.6.x

Moving 3.7.0 bugs to 3.6.x for triage.

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.6.x to 3.CURRENT.NEXT

Moving from 3.6.x to 3.CURRENT.NEXT