Opened 14 years ago
Closed 13 years ago
#7620 closed enhancement (fixed)
[Patch] Progress bar of tickets should be shown on version page
Reported by: | AlexK|Ventuz | Owned by: | Malcolm Studd |
---|---|---|---|
Priority: | normal | Component: | ExtendedVersionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
It would be great if the progress bar of open/closed tickets shown on the individual version pages would also be shown on the overview page of all versions.
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
So do I. Patch welcome.
The code to build the data for the progress bar is in version.py. That could be made into a method and called from roadmap.py. The one thing I would worry about would be that too many db queries could make the roadmap page slow.
Changed 14 years ago by
Attachment: | version_tickets.zip added |
---|
Patch to show ticket progress in version overview page
comment:3 Changed 14 years ago by
Summary: | Progress bar of tickets should be shown on version page → [Patch] Progress bar of tickets should be shown on version page |
---|
Hi everyone,
I've attached a patch that shows the milestone progress in the overview page in a sort of summary fashion. This might not be the cleanest of all solutions but it seems to work alright. Two things I don't like:
- I have to query self.env to get the other component, perhaps it should just be extracted to another "utility" py file
- The formatting I do is directly in the HTML template, probably should be done in the CSS instead
Hope it helps
Alex
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
That looks great! I've tweaked the patch and applied it in r10468. I did clean up the CSS style, but not the other nitpick.
I agree. Please add this enhancement.