Opened 11 years ago

Closed 3 years ago

#7986 closed task (patchwelcome)

DateTextBox: Provide option to display 'Today' choice

Reported by: David Schwartz Owned by:
Priority: high Milestone: 1.13
Component: Dijit - Form Version: 1.2.0
Keywords: ibm date today Cc:
Blocked By: Blocking:

Description

Dates are entered for all sorts of reasons, as part of a wide variety of tasks. Sometimes, due to the nature of the task, a commonly selected date is the current date. To ease the selection of the current date, provide the option to display a 'Today' choice in a standard location within the DateTextBox? pop-up.

Attachments (2)

date-today.gif (12.4 KB) - added by David Schwartz 11 years ago.
yahoo.png (19.9 KB) - added by bill 11 years ago.
yahoo calendar's calendar with today 'button' (actually link)

Download all attachments as: .zip

Change History (18)

Changed 11 years ago by David Schwartz

Attachment: date-today.gif added

comment:1 Changed 11 years ago by Adam Peller

dup of #1287. The functionality is available in DateTextBox?, but it is not in the default template. We need a design which would incorporate this, and I don't think we want to add a whole row to the widget just for this purpose. Also, ideally we would avoid the localized string 'today'.

comment:2 Changed 11 years ago by David Schwartz

Hmmm, avoiding the localized string could be tough. Any particular thoughts on this? Also, where would you suggest the choice be placed?

comment:3 Changed 11 years ago by Adam Peller

no idea. if I knew, I would have put it in the design :)

comment:4 Changed 11 years ago by David Schwartz

In which case, I'd suggest going with the original design. Mind you, the image above is not intended to be final visual design, but merely an illustration of the suggested layout.

comment:5 Changed 11 years ago by Adam Peller

adding a full bar for this purpose is not acceptable, in my opinion. I don't have a better design, unfortunately. What we'd need for this ticket, is a final design, otherwise we're no better off than we were with #1287

comment:6 Changed 11 years ago by David Schwartz

Well, given the absence of other ideas and the observation that this approach works when needed (remember that it won't always be display; only when needed) elsewhere, I'd suggest going with the top line. RE: 'final design', do you mean a detailed visual spec? If so, are all dojo widget implementations based on such detailed specs? Can you point me to a couple of example specs?

comment:7 Changed 11 years ago by bill

Component: Dijit - LnFDijit
Milestone: tbd1.4
Type: defecttask

Seems reasonable, especially given the number of requests for this.

As per #1287 the code is already there, except for adding it to the default template, and pulling the "today" string from the NLS files.

The only example I could find though was of calendar.yahoo.com which has a even bigger multi-line button: yahoo calendar's calendar with today 'button' (actually link)

Changed 11 years ago by bill

Attachment: yahoo.png added

yahoo calendar's calendar with today 'button' (actually link)

comment:8 Changed 11 years ago by bill

Milestone: 1.41.5

bumping 1.4 tickets to 1.5, and most 1.3 tickets to 1.4

comment:9 Changed 9 years ago by Adam Peller

(In [21735]) process field relative tags, like today, yesterday, tomorrow... Refs #7986, #10120

comment:10 Changed 9 years ago by Adam Peller

(In [21737]) Process field/relative tags. Refs #7986, #10120

comment:11 Changed 9 years ago by Adam Peller

Milestone: 1.51.6

comment:12 Changed 8 years ago by bill

Milestone: 1.6future

comment:13 Changed 8 years ago by bill

Component: DijitDijit - Form
Owner: set to Douglas Hays

comment:14 Changed 5 years ago by Douglas Hays

Owner: Douglas Hays deleted
Status: newassigned

comment:15 Changed 5 years ago by Douglas Hays

Status: assignedopen

comment:16 Changed 3 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: openclosed

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.