wiki:TimelineComponentFilterPlugin

Filter Timeline Tickets by Component

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin filters the ticket events (new tickets, edited tickets, closed tickets, and files attached to tickets) by the ticket Component attribute.

This plugin is based on the TimelineUserFilterPlugin.

Select the component(s) in the filter box on the timeline to filter out all tickets that do not apply to the selected component(s).

In the following example, ticket #1 is tied to component component1 and ticket #2 is tied to component component2. The following screen capture shows no components selected, ie display all tickets:

display with no component filter selected.

Putting #prefs select { width: 170px; } inside trac.css is also a good idea to ensure the width of the filter box is sufficiently wide.

The following shows the timeline filtered to show on tickets tied to component1:

Display with component1 selected in the filter

This plugin has only been tested with Trac 0.11.4 and 0.11.7. More testing and feedback is welcome.

Bugs/Feature Requests

Existing bugs and feature requests for TimelineComponentFilterPlugin are here.

If you have any issues, create a new ticket.

defect

3 / 4

enhancement

3 / 3

task

1 / 2

Download

Download the zipped source from here.

Source

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

Installation

Simply copy the TimelineComponentFilter.py to [trac-env-path]/plugins directory.

To enable this plugin, add the following to your trac.ini file:

[components]
timelinecomponentfilter.* = enabled

Recent Changes

16157 by rjollos on 2016-12-23 06:39:21
Make compatible with Trac 1.2
16156 by rjollos on 2016-12-23 06:28:43
Conform to PEP8
9511 by rjollos on 2010-11-24 12:36:07
All filters whose leading characters matched the selected filters would be implicitly selected on submit. Fixes #7875.
(more)

Author/Contributors

Author: pdoup
Maintainer: none (needsadoption)
Contributors: rjollos

Last modified 8 years ago Last modified on Dec 19, 2016, 2:22:57 PM

Attachments (2)

Download all attachments as: .zip