Changes between Version 12 and Version 13 of SubcomponentsPlugin


Ignore:
Timestamp:
Mar 4, 2018, 9:15:50 AM (6 years ago)
Author:
figaro
Comment:

Moved example to description

Legend:

Unmodified
Added
Removed
Modified
  • SubcomponentsPlugin

    v12 v13  
    55== Description
    66
    7 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.
     7This 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.
     8
     9To 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:
     10
     11 * `Web`
     12 * `Web/Frontend`
     13 * `Web/Backend`
     14
     15then the user interface will show the `Frontend` and `Backend` as a subcomponent of the `Web` component. 
     16
     17An example of the query page after enabling this plugin:
     18
     19[[Image(Subcomponents-query.png, border=2)]]
     20
     21And the component admin page looks like this:
     22
     23[[Image(Subcomponents-admin.png, border=2)]]
    824
    925An alternative plugin targeting the same problem is ComponentHierarchyPlugin.
     
    2339Download the zipped source from [export:subcomponentsplugin here].
    2440
    25 Older versions of this plugin are available below.
    26 There is no functional difference between the 3 versions.
     41Older versions of this plugin are also available and there is no functional difference between these versions:
    2742
    2843||'''Trac version'''||'''Plugin version'''||'''Download link'''||
     
    4156After activating the plugin in the `trac.ini` configuration file or through the plugins page, it does not require any further configuration.
    4257
    43 == Example
    44 
    45 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:
    46 
    47  * `Web`
    48  * `Web/Frontend`
    49  * `Web/Backend`
    50 
    51 then the user interface will show the `Frontend` and `Backend` as a subcomponent of the `Web` component. 
    52 
    53 An example of the query page after enabling this plugin:
    54 
    55 [[Image(Subcomponents-query.png)]]
    56 
    57 And the component admin page looks like this:
    58 
    59 [[Image(Subcomponents-admin.png)]]
    60 
    6158== Recent Changes
    6259