Modify

Opened 7 years ago

Closed 6 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)

version_tickets.zip (2.3 KB) - added by ak@… 6 years ago.
Patch to show ticket progress in version overview page

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by Lucas Rangit MAGASWERAN

I agree. Please add this enhancement.

comment:2 Changed 7 years ago by Malcolm Studd

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 6 years ago by ak@…

Attachment: version_tickets.zip added

Patch to show ticket progress in version overview page

comment:3 Changed 6 years ago by ak@…

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 6 years ago by Malcolm Studd

Resolution: fixed
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Malcolm Studd.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.