wiki:SubcomponentsPlugin

Trac Subcomponents

Notice: This plugin is unmaintained and available for adoption.

Description

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.

defect

8 / 8

enhancement

4 / 4

Download

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

Source

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

See also the Github-hosted source.

The repo of the original author may be found here: https://github.com/nielx/trac-subcomponents

Installation

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

18176 by Cinc-th on 2021-04-09 21:13:46
SubcomponentsPlugin: use Jinja2 template for Trac 1.4 (no Genshi necessary at all). Bumped version to 1.3.3.
18175 by Cinc-th on 2021-04-09 20:38:57
SubcomponentsPlugin: fix parent rename problem when the parent name was extended, e.g. Root -> RootBar.

Closes #13996

18174 by Cinc-th on 2021-04-09 20:02:16
SubcomponentsPlugin: synchronize with https://github.com/nielx/trac-subcomponents (original authors repo)
(more)

Author/Contributors

Author: boonekamp
Maintainer: none (needsadoption)
Contributors:

Last modified 7 months ago Last modified on Apr 9, 2021, 8:20:27 PM

Attachments (2)

Download all attachments as: .zip