Modify

Opened 4 years ago

Closed 3 years ago

#7620 closed enhancement (fixed)

[Patch] Progress bar of tickets should be shown on version page

Reported by: AlexK|Ventuz Owned by: mestudd
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@… 3 years ago.
Patch to show ticket progress in version overview page

Download all attachments as: .zip

Change History (5)

comment:1 Changed 4 years ago by lucasrangit

I agree. Please add this enhancement.

comment:2 Changed 4 years ago by mestudd

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

Patch to show ticket progress in version overview page

comment:3 Changed 3 years ago by ak@…

  • Summary changed from Progress bar of tickets should be shown on version page to [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 3 years ago by mestudd

  • Resolution set to fixed
  • Status changed from new to 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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from mestudd. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.