Group sets of related fields together
Adds support for grouping sets of related ticket fields together, both in the change properties section of the ticket page as well as in the ticket box section. Provides an admin console for easy management of fieldgroups.
If you have any issues, create a new ticket.
Download the zipped source from here.
This first image shows the effect that the plugin has on the ticket box. The fields "Begin Date" and "Due Date" have been grouped together in the "Deadlines & Signoff" group, while the field "Repository URL" field has been grouped into the "Information" group. A header is created for each group and then the fields are listed one per line. The values (none are shown here) would be displayed along the right-hand side of the table.
The next image show how the groups are broken out into separate fieldsets under the standard "Change Properties" fieldset in the "Modify" section of the ticket.
An admin console similar to the standard AdminEnum interface is provided for adding, removing, and re-ordering the field groups. The "order" specifies the sequence in which the groups are displayed in both the ticket box and the change properties section.
Individual field groups are managed using a jQuery datatable. Fields are added or removed from the group using this table (accessible by clicking the field group's link on the main FieldGroups? admin console).
Refs #11071: Replaced string interpolation in SQL strings with proper argument passing to the Trac Database API. This should resolve cross-DB compatibility issues, including the PostgreSQL issues described in #11071.
Initial checkin of FieldGroupsPlugin
- FieldGroups_admin_groups.png (90.0 kB) -
Admin console for managing fieldgroups, added by bphinz on 01/29/13 23:55:16.
- FieldGroups_admin_fields.png (100.9 kB) -
Admin console for managing fields within a fieldgroup, added by bphinz on 01/29/13 23:55:48.
- FieldGroups_ticket_box.png (101.3 kB) - added by bphinz on 01/30/13 01:14:33.
- FieldGroups_fieldsets.png (84.4 kB) - added by bphinz on 01/30/13 01:14:57.