On Thu, Feb 5, 2015 at 11:47 PM, Cooke, Mark <[email protected]> wrote:
> > -----Original Message----- > > From: On Behalf Of Steffen Hoffmann > > Sent: 05 February 2015 19:55 > > > > > On 05.02.2015 16:34, Cooke, Mark wrote: > > > I am just looking at a custom query grouped by status and am thinking > > > it would be nice to make each result group collapsible, just like the > > > `Filters` and `Columns` sections. > > > > I see, and I know that from other systems, not Trac (yet). > > > > > Does that sound useful to anyone else? > > > > I recommend to keep the list pager in mind. > > Do you mean the way that the total results are split into pages. Hmm, yes. > > > Only if there are results for more than one group at a given page, it > > would be sensible to collapse. I do not know a system, that does so > > automagically, but it is what I would expect from Trac, if such a > > feature would be implemented at all. > > ...but if the default is "not collapsed" then it makes little difference? > However interaction with the pager could be an issue. Thanks for the > pointer. > It seems like it could be useful. Rather than implementing a folding section, you could consider making it "collapsible", with a +/- next to the group name. See here for discussion about that: http://trac.edgewall.org/ticket/9073 I'd be happy to work with you on a collapsible class that could also be used in #9073, provided I get some other things done first and can find some time in the near future. I have done some python hacking but only dipped into the Genshi / CSS > elements. Are there any Dev docs about the built-in styles or is it just a > case of reading the source? > There's not much documentation on the CSS and JavaScript. When trying to figure out how to implement a feature like this I usually just look at other places in the source code where similar features have been implemented. For CSS, Firefox and Chrome inspectors are invaluable to determining which CSS is applicable to elements. > > Steffen Hoffmann > > ~ Mark C > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/trac-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
