wiki:UpcomingMilestonesChartMacro

Chart of upcoming milestones macro

Description

When Trac is used to manage many projects, it is useful to get a dashboard overview of all milestone dates in the Trac instances. This macro automatically generates such a chart.

Key features:

  • You may put in a news box.
  • Overdue dates can be displayed colored.
  • The milestone chart is sorted by date.
  • You can set a filter which milestones are displayed by setting an SQL-like pattern.

Bugs/Feature Requests

Existing bugs and feature requests for UpcomingMilestonesChartMacro are here.

If you have any issues, create a [ /newticket?component=UpcomingMilestonesChartMacro new ticket].

Download

Download the zipped source from here.

Source

You can check out UpcomingMilestonesChartMacro from here using Subversion, or browse the source with Trac.

Installation

Just copy the .py file in the plugins directory of your Trac installation.

Example

The following README.txt file:

An example usage::
You can see here how to use this macro:
   {{{
   #!div class=blogflash
   [[UpcomingMilestonesChart(%-%,10,Next Milestone Dates,yellow)]]
   }}}
The example sets
 * an SQL filter pattern {{{ %-% }}} means here only to display milestones containing a minus in the middle of the name
 * a maximum of 10 milestones
 * a title
 * the color of overdue milestones, leave it out and just set the comma for no color
 * and puts it in a news box

is then displayed as:

based on these milestones:

Recent Changes

12673 by falkb on 2013-03-01 10:31:58
usage explained
12670 by falkb on 2013-02-28 23:26:58
support Trac 0.12 also
12669 by falkb on 2013-02-28 22:28:06
License added; only trunk remains at present.
(more)

Author/Contributors

Author: falkb
Maintainer: falkb
Contributors:

Last modified 7 months ago Last modified on Nov 18, 2015, 10:02:58 AM

Attachments (2)

Download all attachments as: .zip