On Mon, Jan 23, 2006 at 11:52:31AM +0100, Christian Boos wrote:
> Alec Thomas wrote:
> >  - Remove code specific to individual fields from ticket.cs/newticket.cs:
> >        The summary, type, description and reporter would be converted
> >        to use the the same generic code as the rest of the fields.
> >
> >  - Remove large "if/elif" statement from ticket.cs/newticket.cs:
> >        Currently there is a large if/then/else style block which is
> >        used to display all fields other than the four described above.
> >        This could be removed and replaced with a call to form_control().
> >
> >  - In order to specify the order the generic field display code would
> >    use, the above changes would probably require the ticket.fields.* HDF
> >    branch to be changed to an array (currently it is a dict). This
> >    change would be in api.py (return fields in the correct display
> >    order) and the .cs files, possibly elsewhere.
> >
> >  - If possible I would also like to factor out the ticket field
> >    display/edit code from both ticket.cs and newticket.cs into
> >    ticket_fields.cs, as the template code is basically functionally
> >    identical.
> >  
> Those are still pending, right?
> I think that would be a good thing.

Yes indeed. With any luck these changes will be complete this week
sometime.

Regarding the extra ticket field types, I will probably just go ahead
and make the changes after the ones above as the xref stuff is a bit
out of scope.

-- 
Evolution: Taking care of those too stupid to take care of themselves.
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev

Reply via email to