[Trac-tickets] Re: [The Trac Project] #2464: Ability to have different ticket fields for different ticket types

The Trac Project noreply at edgewall.com
Tue Jan 3 23:25:50 CST 2006


#2464: Ability to have different ticket fields for different ticket types
----------------------------------------+-----------------------------------
 Reporter:  johan.regnell at audiodev.com  |        Owner:  cboos
     Type:  enhancement                 |       Status:  new  
 Priority:  normal                      |    Milestone:       
Component:  ticket system               |      Version:  0.9.2
 Severity:  normal                      |   Resolution:       
 Keywords:  tracobject tickettype       |  
----------------------------------------+-----------------------------------
Comment (by pkou at ua.fm):

 First of all, I would propose to allow the "type specific" fields for
 custom fields only.

 The suggestion is to show/hide "type specific" fields using JavaScript:
  * By default, all fields are shown;
  * When the page has loaded, fields for non-default type are hidden;
  * When the ticket type is changed, fields for non-selected type are
 hidden, fields for the selected type are shown.

 This would cause layout problems that can be resolved in one of the
 following ways:
  * Apply new layout to the "type specific" fields when they are shown or
 hidden;
  * Consider "type specific" fields as groups of fields. Layout groups
 separately. Show active groups and hide other groups when the ticket type
 is changed.

 The approach could work for browsers that do not support JavaScript.

 I do not think that changing a field that does not belong to currently
 selected type is an issue.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2464>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list