Trac Subcomponents

Notice: This plugin is unmaintained and available for adoption.


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.

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

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.


7 / 7


4 / 4


Download the zipped source from here.

Older versions of this plugin are also available and there is no functional difference between these 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.

See also the Github-hosted source.


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.

Recent Changes

17651 by rjollos on 2020-01-11 07:15:16
TracSubcomponents 1.3.2dev: Replace use of Context

Refs #13725.

16739 by rjollos on 2017-08-22 19:23:51
TracSubcomponents 1.3.1: Add missing template to package

Fixes #13262.

16412 by rjollos on 2017-03-26 05:09:14
TracSubcomponents 1.3.0: Add a components view

Initial patch by ak@….

Fixes #11277.



Author: boonekamp
Maintainer: none (needsadoption)

Last modified 9 months ago Last modified on Apr 16, 2020, 6:38:13 PM

Attachments (2)

Download all attachments as: .zip