Opened 10 years ago

Closed 4 years ago

#10002 closed enhancement (patchwelcome)

Calendar: support selection of distant years

Reported by: Adam Peller Owned by:
Priority: low Milestone: 1.13
Component: Dijit Version: 1.3.2
Keywords: ibm date distant-values Cc: David Schwartz, Josh Trutwin
Blocked By: Blocking:

Description

carried over from #7987, where we implemented a dropdown for month selection. I'm not a big fan of a dropdown menu for years, since the list is a lot longer than 12. Another possibility is turning the current year into an editable control when selected.

See also #6570

Change History (17)

comment:1 Changed 10 years ago by bill

I'm not sure that anything beyond the left/right arrow keys for years (see #6570) is suitable for dijit's Calendar, which I want to keep simple. The year can be changed via typematic, which means that just holding down the button can scroll 100 years (just like spinner) easily. It's not obvious now because we don't have arrow icons but once we do that seems sufficient.

I'l leave this ticket open but probably will move it to DojoX component (after some thought/discussion).

comment:2 Changed 10 years ago by David Schwartz

I think this is a great case where tight design/test iterations would be very useful. I'd like to consider this issue for 1.5.

comment:3 Changed 10 years ago by Adam Peller

dojox presently has no facility for dijit._Calendar mixins. The dojox.widget.Calendar already has such a feature, but it is not based off common dijit code and did not go through anything like a design review.

comment:4 Changed 9 years ago by Adam Peller

Milestone: 1.51.6

comment:5 Changed 9 years ago by Adam Peller

Milestone: 1.61.7

comment:6 Changed 9 years ago by Adam Peller

Owner: Adam Peller deleted

assigning all Dijit bugs to Bill

comment:7 Changed 8 years ago by bill

Milestone: 1.7future

comment:8 Changed 7 years ago by bill

Cc: drschwartz,trutwijddrschwartz, trutwijd

#15685 is a duplicate of this ticket.

comment:9 Changed 7 years ago by bill

#16324 is a duplicate of this ticket.

comment:10 in reply to:  9 Changed 7 years ago by skyrbe

Replying to bill:

#16324 is a duplicate of this ticket.

I saw #10002 but couldn't understand where the code has to be altered to make a year drop down.I understand an year drop down is not a good idea but it's mandatory to be done.

Bill, can you please post some code for the year drop down.I'll be eternally grateful!

comment:11 Changed 7 years ago by bill

Sorry, I don't have any sample code for a year drop down or other selection method. That's why the ticket is still open. It's not a trivial task.

comment:12 Changed 7 years ago by skyrbe

Last edited 7 years ago by skyrbe (previous) (diff)

comment:13 in reply to:  11 Changed 7 years ago by skyrbe

Replying to bill:

Sorry, I don't have any sample code for a year drop down or other selection method. That's why the ticket is still open. It's not a trivial task.

Okay,it would be great if I could get heads up on where to start working to include an year dropdown! I could try and post here if I am successful!

comment:14 Changed 7 years ago by Adam Peller

A year drop-down is arguably not a good UI for selecting distant years. One alternative is an editable text area, perhaps there are other ways to achieve this.

comment:15 in reply to:  14 Changed 7 years ago by skyrbe

Replying to peller:

A year drop-down is arguably not a good UI for selecting distant years. One alternative is an editable text area, perhaps there are other ways to achieve this.

Peller,I understand that it's definitely not a good idea to include an year drop-down but the problem is my manager not being able to see it!If I need to make the year as an editable text area,where should I be doing it.I am pretty new to dojo :(

comment:16 Changed 7 years ago by bill

Priority: highlow

comment:17 Changed 4 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.