Edgewall Software

Ticket #2226 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

Display milestones' exact due dates in Roadmap

Reported by: adrian.gygax@… Owned by: cmlenz
Priority: low Milestone: 0.10
Component: roadmap Version: 0.9b2
Severity: normal Keywords:
Cc:

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

Change History

Changed 3 years ago by cmlenz

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

Changed 3 years ago by adrian.gygax@…

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.

Changed 3 years ago by eblot

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.

Changed 3 years ago by anonymous

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.

Changed 3 years ago by adrian.gygax@…

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

Changed 3 years ago by markus

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...

Changed 3 years ago by pfnguyen@…

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.

Changed 3 years ago by cmlenz

  • priority changed from normal to low
  • status changed from new to assigned
  • milestone set to 0.9.1

Changed 3 years ago by cmlenz

  • milestone changed from 0.9.1 to 0.9.2

Changed 3 years ago by cmlenz

  • milestone changed from 0.9.3 to 0.9.4

Changed 3 years ago by cmlenz

  • milestone changed from 0.9.4 to 0.10

Changed 2 years ago by athomas

  • status changed from assigned to closed
  • resolution set to fixed

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.

Add/Change #2226 (Display milestones' exact due dates in Roadmap)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.