Edgewall Software
Modify

Opened 19 years ago

Closed 18 years ago

#2226 closed enhancement (fixed)

Display milestones' exact due dates in Roadmap

Reported by: adrian.gygax@… Owned by: Christopher Lenz
Priority: low Milestone: 0.10
Component: roadmap Version: 0.9b2
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The Roadmap only shows the difference to a milestone's due date (i. e. "Due in 1 week"). It should also show the exact due date for all milestones like it is in the single-milestone view (i. e. "4 days late (10/10/05)")

Attachments (0)

Change History (12)

comment:1 by Christopher Lenz, 19 years ago

Note that you get the exact due date when hovering over the "Due in xxx" text as a tool-tip.

comment:2 by adrian.gygax@…, 19 years ago

Thanks for the note! I didn't realize this before.

I still would prefer to always see the due date. It would help a lot for keeping track of the dates. When printing the roadmap, exact dates would be definitely a plus.

comment:3 by Emmanuel Blot, 19 years ago

If this change is ever implemented, please leave it as an option. I personnally prefer the way it is by now (coarse estimation + tooltip) than to see the exact day.

comment:4 by anonymous, 19 years ago

I can see implementing this for printing. Doing this for viewing should be an option as eblot says. That is if it is decided to implement it for viewing and not just for printing.

comment:5 by adrian.gygax@…, 19 years ago

For me, it would be fine to implement this only for printing.

comment:6 by markus, 19 years ago

This could easily be done with CSS2 then, I guess. This would be my quick'n'dirty implementation:

  • htdocs/css/roadmap.css

     
    6868#edit .field { margin-top: 1.3em }
    6969#edit label { padding-left: .2em }
    7070#edit textarea#description { width: 97% }
     71
     72@media screen {
     73.milestone .print { visibility: hidden }
     74}
     75
     76@media print {
     77.milestone .print { visibility: visible }
     78}
     79 No newline at end of file
  • templates/roadmap.cs

     
    2929      if:milestone.late ?>
    3030       <strong><?cs var:milestone.due_delta ?> late</strong><?cs
    3131      else ?>
    32        Due in <?cs var:milestone.due_delta ?><?cs
     32       Due in <?cs var:milestone.due_delta ?><span class="print"> (<?cs var:milestone.due_date ?>)</span><?cs
    3333      /if ?><?cs
    3434     else ?>>
    3535      No date set<?cs

There's one limitation, though: IMHO a due_delta value doesn't make much sense on a printed sheet of paper and should be completely replaced by due_date. But this would need more CSS hacks…

comment:7 by pfnguyen@…, 19 years ago

a closer approximation would be appreciated.

When my roadmap says "due in 1 month" yet the due date is 55 days out, my manager assumes that the milestone will be available in 30 days. In this instance, it would be nice if it could say something like "Due in less than 2 months", but I have no suggestion on what all the potential "strings" could be. Otherwise, this leaves a lot of vagueness that I have to go back to and explain to my manager.

When the targets are farther off, it isn't as much of a problem, but anything under 1 year resolution can be pretty vague and really throw a wrench in things when many look at the "due dates".

Oh, and people don't seem to care to mouse over and hover to see the actual dates, nor click on the milestones.

comment:8 by Christopher Lenz, 19 years ago

Milestone: 0.9.1
Priority: normallow
Status: newassigned

comment:9 by Christopher Lenz, 19 years ago

Milestone: 0.9.10.9.2

comment:10 by Christopher Lenz, 19 years ago

Milestone: 0.9.30.9.4

comment:11 by Christopher Lenz, 19 years ago

Milestone: 0.9.40.10

comment:12 by Alec Thomas, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r3375. The absolute date is displayed in parentheses after the delta, making it consistent with the formatting of the milestone view.

If anybody has any particularly vehement objections, feel free to reopen the ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.