Last edited by Philip Wilson on Aug 13, 2009  (view change)

Labels:

greasemonkey greasemonkey Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

We all find Trac annoying, for various reasons. To cope, we've written some Greasemonkey scripts.

Install Greasemonkey then click the name of the script to install it.

  Show/hide ticket properties field
Show/hide the ticket properties field when viewing and creating tickets. Uses jQuery. Click here to install it!
 
  Redirect 'View Tickets'
"View Tickets" takes you to "All Tickets by Milestone" (report 3) by default. Click here to install it!
 
  Create new ticket (user edition)
Allows you to create a new ticket from a report screen and assign to a user. Click here to install it!
 
  Show a time estimate for each milestone
Totals the values of the time_estimate ticket field. Click here to install it!
 
  Add up Story Points per Sprint
Adds up and displays the total number of story points in a sprint. Click here to install it!
 
  Create new ticket (milestone edition)
Allows you to create a new ticket from a report screen and assign to a milestone. Click here to install it!
 
  US -> UK dates on report screens
Switches the dates on the reports screen to UK format. Click here to install it!
 
  Lighthouse theme for Trac
Makes Trac all blue and funky. Incomplete so beware. Click here to install it!
 
  Drag and Drop
Allows drag and drop of tickets between milestones. Requires Changetime turned on in report. Install it!
 
  Milestone Ticket Counter
Counts the tickets in a milestone. Click here to install it!
 
  Edit priorities inline
Allows inline editing of priorities in report. Requires Changetime turned on in report. Install it!
 
  Reorder table inline
Allows sorting of report tables. Assumes use of US -> UK date script. Install it!
 
  Edit story points inline
Allows inline editing of story points in report. Requires Changetime turned on in report. Install it! Currently only accepts 'Return' to save change and move to the next input box.
 

Unsolved

  • When viewing a pre-existing ticket, the ticket editing features ("change properties" and "action") should be hidden so that it's ticket info followed by comment box. You should be able to switch to editing mode via some tab or button or thingummy. done in ticket-fold-down
  • "All Tickets by Milestone" (report 3) should order milestones by the order they're due, not alphabetically, which is totally useless.
  • when viewing a milestone (i.e. https://vcs.bath.ac.uk/projects/lmf/milestone/1.24) it should list the open tickets for that milestone.
  • if a milestone has 0 active tickets and >1 closed tickets a button should appear "close this milestone" (instead of current "edit this milestone" and entering the date).
  • "new milestone" link from reports
  • "Drag and drop tickets" doesn't handle Unicode characters such as 'EN DASH' (U+2013). This displays as %u2013 after being moved.