Modify ↓
Ticket #3746 (closed enhancement: duplicate)
Opened 5 years ago
Last modified 5 years ago
Groupable components
| Reported by: | pschulz@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | ticket system | Version: | none |
| Severity: | normal | Keywords: | component |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Could it be possible to add a group attribute to a component, so that it can be rendered in an <optgroup> tag?
On a project with a lot of components I think it is a benefit to have this feature.
Clearly arranged components can help to increase the acceptence by users/reporters.
Also if you use Trac not for software projects only...
Sample:
GUIs
Administration
Management
User
Hardware
DB Server
Webserver
Workstation foo
...
Attachments
Change History
comment:1 Changed 5 years ago by cboos
- Keywords component added
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



Actually, it might be better to use hierarchical component names to achieve this, as the queries could easily take benefit from this.
Now, on the UI side, we could transform that hierarchy into a selection field using <optgroup> elements, so that the common prefix is not repeated.
See rather #548.