Opened 19 years ago
Closed 19 years ago
#2226 closed enhancement (fixed)
Display milestones' exact due dates in Roadmap
Reported by: | 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 , 19 years ago
comment:2 by , 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 , 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 , 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:6 by , 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
68 68 #edit .field { margin-top: 1.3em } 69 69 #edit label { padding-left: .2em } 70 70 #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
29 29 if:milestone.late ?> 30 30 <strong><?cs var:milestone.due_delta ?> late</strong><?cs 31 31 else ?> 32 Due in <?cs var:milestone.due_delta ?>< ?cs32 Due in <?cs var:milestone.due_delta ?><span class="print"> (<?cs var:milestone.due_date ?>)</span><?cs 33 33 /if ?><?cs 34 34 else ?>> 35 35 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 , 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 , 19 years ago
Milestone: | → 0.9.1 |
---|---|
Priority: | normal → low |
Status: | new → assigned |
comment:9 by , 19 years ago
Milestone: | 0.9.1 → 0.9.2 |
---|
comment:10 by , 19 years ago
Milestone: | 0.9.3 → 0.9.4 |
---|
comment:11 by , 19 years ago
Milestone: | 0.9.4 → 0.10 |
---|
comment:12 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
Note that you get the exact due date when hovering over the "Due in xxx" text as a tool-tip.