Changes between Version 2 and Version 3 of TracRoadmapCustomGroups
- Timestamp:
- Sep 4, 2009, 4:34:50 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracRoadmapCustomGroups
v2 v3 4 4 By default, the roadmap shows a list of future milestones with the tickets targeted against a milestone aggregated, and the ratio between active and resolved tickets displayed as a milestone progress bar. For the default workflow this is often sufficient, however with the ability to create custom workflows, it becomes necessary to be able to show further detail on the roadmap progress bar. 5 5 6 Configuring the roadmap to show additional groupings in the progress bar is ach eived by editing the [wiki:TracIni trac.ini]file. This file should already have a section which reads:6 Configuring the roadmap to show additional groupings in the progress bar is achieved by editing the `[wiki:TracIni trac.ini]` file. This file should already have a section which reads: 7 7 8 8 {{{ … … 11 11 }}} 12 12 13 In order to change the default grouping, which simply counts tickets as either 'closed' or 'active', we need to add a new section to trac.ini entitle [milestone-groups]. In this example we add a new group for the 'in_QA' status, included in the custom workflow.13 In order to change the default grouping, which simply counts tickets as either 'closed' or 'active', we need to add a new section to trac.ini entitled `[milestone-groups]`. In this example we add a new group for the 'in_QA' status, included in the custom workflow. 14 14 15 15 {{{ … … 45 45 The following parameters are used in the [milestone-groups] section: 46 46 47 || <groupname>||A comma seperated list of statuses that match this group. The '*' can be used once and will match all statuses not yet assigned||48 || <groupname>.order||The sequence number in the progress bar||49 || <groupname>.query_args||Optional extra parameter for the query||50 || <groupname>.overall_completion||true/false - count in the overall completion statistic||51 || <groupname>.css_class||CSS class to use for this interval, defaults available are: new (yellow), open (no color) or closed (green). New styles can easily be added using the following selector: `table.progress td.<class>`||52 || <groupname>.label||Displayed name for the group||47 ||`<groupname>`||A comma seperated list of statuses that match this group. The '*' can be used once and will match all statuses not yet assigned|| 48 ||`<groupname>.order`||The sequence number in the progress bar|| 49 ||`<groupname>.query_args`||Optional extra parameter for the query|| 50 ||`<groupname>.overall_completion`||true/false - count in the overall completion statistic|| 51 ||`<groupname>.css_class`||CSS class to use for this interval, defaults available are: new (yellow), open (no color) or closed (green). New styles can easily be added using the following selector: `table.progress td.<class>`|| 52 ||`<groupname>.label`||Displayed name for the group|| 53 53 54 54