Page MenuHomePhabricator

Merge the 'collapsibletabs' component of Vector extension into the Vector skin
Closed, ResolvedPublic

Description

(Split from bug 45051.)

Considered stable, enabled on WMF wikis and not configurable. This is really
a workaround to the issue that Vector's layout breaks down on smaller screen
resolutions (bug 44386), but a useful and reasonably neat one, so it should
be kept.


Version: 1.21.x
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44385

Details

Reference
bz46513

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:15 AM
bzimport set Reference to bz46513.

CollapsibleNav is somewhat limited in its application; only the history tab is classed 'collapsible'. I have since made a gadget to collapse entire groups at will (see [[:en:Mediawiki:Gadget-MenuTabsToggle.js]] and CSS). The only work it needs is to make it touch-compatible (being worked on at [[:en:User:Edokter/MenuTabsToggle.js]]).

Luis Felipe Schenone expressed interest in working on this, and there's a (WIP) patch on gerrit: I7bd77e6e.

Erwin, everything that's needed to make more (or different) tabs collapsible in the same way is simply adding those classes to them (even dynamically); the script is quite (surprisingly ;) ) well-written and will handle it perfectly. Your gadget is interesting, but it seems to solve a different use-case.

Copied from gerrit:

This seems to be causing a performance problem in beta labs where the collapsible tabs take significant time to appear to users. See the screen shot at the bottom of the page at https://saucelabs.com/jobs/cef9cd7c022a455d83beb29a8c50211a