wiki:UpcomingMilestonesChartMacro

Version 1 (modified by falkb, 5 years ago) (diff)

New hack UpcomingMilestonesChartMacro, created by falkb

Chart Of Upcoming Milestones Macro

Description

It is very useful to get a short survey about all milestone dates in Trac instances with many milestones, especially because of many projects. This macro automatically generates such chart.

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 new ticket.

Download

Download the zipped source from [download:upcomingmilestoneschartmacro here].

Source

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

Example

You can see here how to use this macro:

[[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

It is displayed then as

based on these milestones:

Recent Changes

16990 by rjollos on 2017-11-18 10:31:28
Add metadata
16572 by rjollos on 2017-05-08 00:08:34
Use WikiCreole-style link to avoid need to escape characters
16271 by rjollos on 2017-02-26 21:36:17
Make compatible with Trac >= 1.0

The macro is no longer compatible with Trac < 1.0.

Fixes #13089.

(more)

Author/Contributors

Author: falkb
Maintainer: falkb
Contributors:

Attachments (2)

Download all attachments as: .zip