Trac Subcomponents


This plugin alters Trac's behavior so that the interface supports multiple layers of components. In projects with lots of components, rearranging these components into several layers can clear up the list of components. The component does not change the data model of the components; it merely manipulates the user interface. See below for an example.

An alternative plugin targeting the same problem is ComponentHierarchyPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for SubcomponentsPlugin are here.

If you have any issues, create a new ticket.


4 / 5


0 / 4


Download the zipped source from here.

Older versions of this plugin are available below. There is no functional difference between the 3 versions.

Trac versionPlugin versionDownload link
Trac 0.11Subcomponents 1.0.1bz2 zip
Trac 0.12Subcomponents 1.1.2bz2 zip
Trac 1.0Subcomponents 1.2.0bz2 zip


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


General instructions on installing Trac plugins can be found on the TracPlugins page.

After activating the plugin in the trac.ini configuration file or through the plugins page, it does not require any further configuration.


To create a component that has subcomponents, you have to add these subcomponents using the standard component admin page. For example, if you enter the following components:

  • Web
  • Web/Frontend
  • Web/Backend

then the user interface will show the Frontend and Backend as a subcomponent of the Web component.

An example of the query page after enabling this plugin:

example of how the query page looks after enabling this plugin

And the component admin page looks like this:

example of the component list on the admin page

Recent Changes

15657 by rjollos on 2016-07-10 07:19:33
1.2.1: Addendum to r15656

The change was unintentionally omitted.

Refs #11752.

15656 by rjollos on 2016-07-10 07:17:05
1.2.1: Fix UnicodeError on query page

Fixes #11752.

15655 by rjollos on 2016-07-10 07:05:04
1.2.0: Remove trailing whitespace

In version 1.2.0 of this plugin, the following was changed:

  • Updated for Trac 1.0, add support for the Bulk changes functionality.
  • Javascript code rewritten to utilize jQuery.

For the older versions of this plugin, see the log of the repository for a detailed list of changes.


Author: boonekamp
Maintainer: Frau Boonekamp

Last modified 8 months ago Last modified on Jul 10, 2016, 8:20:59 AM

Attachments (2)

Download all attachments as: .zip