On 2013-11-27, at 22:07, Bartosz Dziewoński <matma....@gmail.com> wrote:
> On Wed, 27 Nov 2013 18:12:53 +0100, Erick Guan <fantasticfe...@gmail.com> > wrote: > >> The zhwiki's collapsible behavior makes the whole header bar clickable and >> shows a helpful text indicating the collapse state. Thus, the Navbox and >> many templates can be easily expand by click the hotspot(header bar) >> instead of finding the "show/hide" link to click. What do you think of >> making this behavior as default? >> And now, because we want to make use of upstream jQuery.makecollapsible but >> not break the local collapsible behavior, I think the best way to fix this >> is adding some configs for jQuery.makecollapsible. > > Can't you do that already? I made a simple mockup right now: > https://pl.wikipedia.org/w/index.php?title=Wikipedysta:Matma_Rex/brudnopis&oldid=37990024 > - try clicking on the header. I think this could be easily applied to > navboxes. > > -- > Matma Rex > Be careful in this case to not cause a user experience regression. It isn't obvious that the header can be clicked to expand (or collapse) the content. Making the header clickable as a whole is imho a nice option, and it's great that makeCollapsible supports this already (by using the header itself as a custom toggle). However, depending on how your custom toggle is styled, there should imho be a separate toggle or other kind of user interface component to indicate collapsibility. -- Krinkle _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l