wiki:TimelineComponentFilterPlugin

Version 5 (modified by anonymous, 7 years ago) (diff)

--

Filter Timeline Tickets by Component

Description

Filters the new tickets, edited tickets, closed tickets, and files attached to tickets displayed in the timeline by the ticket component attribute. This is only guaranteed to work on Trac version 0.11.4. More testing and feedback is welcome. This plugin is based on the TimelineUserFilterPlugin and most of the code was shamelessly copied.

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 [download:timelinecomponentfilterplugin 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.

Configuration

To enable this component, put the following in the [Components] section of your trac.ini:

[Components]
timelinecomponentfilter.* = enabled

Usage

Simply 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 is with no component selected (ie. display all tickets):

display with no component filter selected.

The following shows the filtered tickets by component:

No image "timeline-component1-selected.PNG" attached to TimelineComponentFilterPlugin

Recent Changes

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

Author/Contributors

Author: pdoup
Contributors:

Attachments (2)

Download all attachments as: .zip