Eli Carter wrote: > All, > > I'd like to get feedback on the sandbox/pycon/ticket-preview branch. > > The purpose of the branch is to clean up the new vs view ticket templates > and in the process, improve the ticket previewing functionality. To that > end, the ticket_view.html and ticket_new.html templates have been combined > into/replaced by ticket.html. >
That's good. Now, when I tried out the new "New Ticket" functionality, I was at first a bit surprised to get the preview of a "default" ticket, then only below it the actual form elements. My first impression was that this early preview was not really useful. But this gave me an idea: what if the form fields where directly positioned in place, in the yellow box? I played a bit with the idea, and here's what I came with. 1/ When you create a new ticket, you get to see the form "in place": in comparison with the ticket-preview sandbox, this saves space and in comparison to the current solution, it's prettier. http://trac.edgewall.org/attachment/wiki/ChristianBoos/ticket_edit_mode-new.png 2/ From this screen, you can either create the ticket for real (nothing special) or preview it: http://trac.edgewall.org/attachment/wiki/ChristianBoos/ticket_edit_mode-new-preview.png The above is the same as in the ticket-preview sandbox, except that you can go back to edit mode in addition to the save button. Once the ticket exists, there's the normal view (not shown), which has now an additional "Edit" button. 3/ When you click that, you get to the "edit mode" of the ticket: http://trac.edgewall.org/attachment/wiki/ChristianBoos/ticket_edit_mode-existing.png This is nearly the same as for the new ticket, except that this time you also see for each field the original value. Some javascript could easily be added to highlight the fields that have been changed. 4/ From there, you can save your changes or preview them: http://trac.edgewall.org/attachment/wiki/ChristianBoos/ticket_edit_mode-existing-preview.png The above is just a sketch and there are a few points I didn't address. I just wanted to come up with something working in order to demonstrate the idea. In particular, there are no css tweaks, so the look can be much improved upon. -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
