Edgewall Software
Modify

Ticket #1233 (new enhancement)

Opened 7 years ago

Last modified 15 months ago

Descriptions of Components

Reported by: Matthew Harrison Owned by: rblank
Priority: normal Milestone: next-major-0.1X
Component: ticket system Version: 0.8
Severity: major Keywords: component
Cc: leho@…, dale.miller@…
Release Notes:
API Changes:

Description

One annoying problem we have with our existing bug-tracking system is that users often
don't know what component to select for a ticket. They often end up choosing an inappropriate one.

One could argue that better component names would minimise this, but I've often found users to be
endlessly creative in their quest to misunderstand the (seemingly) obvious ;-)
A nice feature of bugzilla is that the component selector label is a link to a page listing the components for the project, along with owner and description. (If you prefer the link could be a separate item, like a '?' icon.)

(Currently I'm conducting a trial of trac, and I quite like it!)

Attachments

Change History

comment:1 Changed 7 years ago by cboos

  • Owner changed from jonas to cboos
  • Status changed from new to assigned

A component could be a specific Trac object.
Clicking on a component would go to its page,
which would contain a wiki description.

See other suggested use for a Component object in
TracMultipleProjects/SingleEnvironment#UsingComponentobjects.

comment:2 follow-up: Changed 7 years ago by cmlenz

Components now have a "description" column in the table. It's not being used yet, but it will be in the future for this purpose.

comment:3 Changed 6 years ago by cboos

  • Status changed from assigned to new

(changing the status, as I've not actually started to work on that yet)

comment:4 Changed 6 years ago by cboos

  • Keywords object added

comment:5 Changed 6 years ago by cboos

  • Keywords tracobject added; object removed

comment:6 Changed 5 years ago by cboos

  • Milestone set to 1.0

Can be done in GenericTrac, as a second step, in order to validate the steps needed to create of a new kind of resource.

comment:7 Changed 4 years ago by cboos

  • Milestone changed from 1.0 to 0.12

#5860 closed as duplicate (was asking to actually make use of the component description that one can already set in the component admin panel).

comment:8 in reply to: ↑ 2 Changed 4 years ago by cboos

  • Keywords component added; tracobject removed

Replying to cmlenz:

Components now have a "description" column in the table. It's not being used yet, but it will be in the future for this purpose.

Re-focusing this ticket for this goal. For the idea of having components as first-class object in the Trac system, see #3911.
#7411 closed as duplicate of this ticket.

comment:9 Changed 3 years ago by rblank

  • Milestone changed from 0.13 to 0.12
  • Owner changed from cboos to rblank

This feature sounds useful. How about the following plan:

  • Add a [[TicketComponents]] macro that expands to the list of components, with their descriptions and owners (similar to [[TracIni]] as a table, for example).
  • Create a default page TicketComponents that includes the macro and some explanations.
  • Link to the TicketComponents page from the "Component" label in the ticket properties, as suggested by the reporter.

comment:10 follow-ups: Changed 3 years ago by rblank

The same functionality was requested on trac-users, but for the version field. In principle, nothing would stop us from adding a description to all enumerated field types, and to have a TicketEnumFields page with one table for each field containing the values and descriptions.

I'll start with the fields that have a description.

comment:11 in reply to: ↑ 10 ; follow-up: Changed 3 years ago by jhammel@…

Replying to rblank:

The same functionality was requested on trac-users, but for the version field. In principle, nothing would stop us from adding a description to all enumerated field types, and to have a TicketEnumFields page with one table for each field containing the values and descriptions.

I'll start with the fields that have a description.

In general, it would be nice to have wiki macros for the descriptions of fields with descriptions. They could then be used in the ticket form and where ever else the information is desired.

comment:12 in reply to: ↑ 11 Changed 3 years ago by rblank

Replying to jhammel@…:

In general, it would be nice to have wiki macros for the descriptions of fields with descriptions. They could then be used in the ticket form and where ever else the information is desired.

Do you mean a macro that takes a field name and value, and expands to the description of the field value? How would you use that in the ticket form?

comment:13 Changed 2 years ago by rblank

  • Milestone changed from 0.12 to 0.12.1

Doesn't block 0.12, re-targeting.

comment:14 Changed 2 years ago by Emil Bleaker <emil_bleaker@…>

  • Type changed from defect to enhancement

This sounds more like an enhancement than a defect.

comment:15 in reply to: ↑ 10 Changed 2 years ago by Ryan Ollos <ryano@…>

Replying to Matthew Harrison:

A nice feature of bugzilla is that the component selector label is a link to a page listing the components for the project, along with owner and description. (If you prefer the link could be a separate item, like a '?' icon.)

Replying to rblank:

This feature sounds useful. How about the following plan:

  • Add a [[TicketComponents]] macro that expands to the list of components, with their descriptions and owners (similar to [[TracIni]] as a table, for example).
  • Create a default page TicketComponents that includes the macro and some explanations.
  • Link to the TicketComponents page from the "Component" label in the ticket properties, as suggested by the reporter.

This could mostly be hacked together with the current system, which is sort of what I have done.

I've used the th:WikiTableMacro to show a list of components on a page, along with their descriptions.

{{{
#!SQLTable
SELECT name, description FROM component ORDER BY name
}}}

However, I agree that the macro would be a nice feature.

I've changed the ticket template to transform the Component: text into a link to a wiki page.

Another nice feature would be to have a tooltip showing the description when there is a mouseover on a particular component in the drop down list.

Replying to rblank:

The same functionality was requested on trac-users, but for the version field. In principle, nothing would stop us from adding a description to all enumerated field types, and to have a TicketEnumFields page with one table for each field containing the values and descriptions.

If this could be extended to custom fields as well, that would be ideal. I have a wiki page that explains all of the fields of the tickets, including a number of custom fields. I use the SQL query as shown above for items such as Component, but I have had to manually create and update the wiki page for custom fields.

comment:16 Changed 2 years ago by cboos

  • Milestone changed from next-minor-0.12.x to next-major-0.1X

Too big enhancement for a minor version.

comment:17 Changed 20 months ago by cboos

  • Owner rblank deleted
  • Severity changed from normal to major

comment:18 Changed 20 months ago by rblank

  • Owner set to rblank

Hey! I'm still interested!

comment:19 Changed 20 months ago by cboos

Well, yes, but me too ;-)

I reset the owner as we're having two different approaches here (comment: 6 vs comment:9), and no immediate progress in either direction.

comment:20 Changed 19 months ago by lkraav <leho@…>

btw, th:ComponentsProcessorMacro exists. looking at the this ticket's description, i think it could serve as a hold-me-over in many cases.

comment:21 Changed 19 months ago by lkraav <leho@…>

  • Cc leho@… added

comment:22 Changed 15 months ago by dale.miller@…

  • Cc dale.miller@… added
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from rblank. Next status will be 'new'
The owner will be changed from rblank to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.