Contents
Filter Timeline Tickets by Component
Description
Filters the tickets events (new tickets, edited tickets, closed tickets, and files attached to tickets) by the ticket Component attribute.
This plugin is based on the TimelineUserFilterPlugin.
Bugs/Feature Requests
Existing bugs and feature requests for TimelineComponentFilterPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out TimelineComponentFilterPlugin from here using Subversion, or browse the source with Trac.
Example
Installation
Simply copy the TimelineComponentFilter.py to [trac-env-path]/plugins directory.
This plugin has only been tested with Trac 0.11.4 and 0.11.7. More testing and feedback is welcome.
Configuration
To enable this component, put the following in the [Components] section of your trac.ini:
[Components] timelinecomponentfilter.* = enabled
Usage
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 (i.e. display all tickets):
Putting #prefs select { width: 170px; } inside of trac.css is also a good idea.
The following shows the timeline filtered to show on tickets tied to component1:
Recent Changes
[9511] by rjollos on 11/24/10 13:36:07
All filters whose leading characters matched the selected filters would be implicitly selected on submit. Fixes #7875.
[9508] by rjollos on 11/24/10 11:14:40
Avoid self.env.get_db_cnx().cursor() since it can lead to a closed database connection due to Python garbage collector cleanup. Fixes #7099.
[6164] by pdoup on 07/09/09 16:31:00
Removed some debug code and updated the description.
[6163] by pdoup on 07/09/09 16:27:52
Initial checkin of the plugin.
Author/Contributors
Attachments
- timeline-none-selected.PNG (17.8 kB) -
display with no component filter selected.
, added by pdoup on 07/09/09 16:01:59. - timeline-com1-selected.PNG (16.6 kB) -
Display with component1 selected in the filter
, added by rjollos on 11/24/10 13:53:03.

