wiki:SubcomponentsPlugin

Version 10 (modified by figaro, 8 years ago) (diff)

Cosmetic changes, link updates

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 project 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.

defect

8 / 8

enhancement

4 / 4

Download

Download the zipped source from here.

Older versions of this plugin are available here:

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

There is no functional difference between these versions.

Source

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

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 will be activated without requiring any further configuration.

Example

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

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/Contributors

Author: boonekamp
Maintainer: none (needsadoption)
Contributors:

Attachments (2)

Download all attachments as: .zip