mediawiki-skins-Vector/resources
Nicholas Ray 6e9506dcad Dynamically expand/collapse sub-sections in ToC based on # of headings
Server render the table of contents in a collapsed state when the total
number of headings is equal or greater than the value of
`$wgVectorTableOfContentsCollapseAtCount`. Otherwise, the table of
contents will be server rendered in its "expanded" state.

In addition:

* Revise table of contents tests to call one `assertion` per element so
  that it is easier to see the exact element that may fail an assertion.
* Revise table of contents tests to call a mount function that can merge
  props to allow for a more flexible set of tests.
* Revise table of contents tests by wrapping a `describe` around tests
  that expect the same prop state.
* Adds typedef for table of sections props

Bug: T300973
Depends-On: Ifaee451e1903f2accd0ada2f2ed6dfa3f83037b6
Change-Id: I382200bc603b6abf757a91f14a8a55a6581969bd
2022-02-21 14:58:51 -07:00
..
common Move #mw-sidebar-button layout styles to Header.less 2022-02-09 09:29:47 -06:00
mediawiki.less Implement mediawiki.skin.variables.less for Vector 2020-09-16 08:39:13 -07:00
skins.vector.es6 Dynamically expand/collapse sub-sections in ToC based on # of headings 2022-02-21 14:58:51 -07:00
skins.vector.js Merge "Trigger a window resize event when toggling sidebar state" 2022-02-14 21:06:39 +00:00
skins.vector.legacy.js Fix caction menu button from having a width that's 1px too small 2022-01-05 20:55:43 +00:00
skins.vector.search Add fetch tests from WVUI 2022-02-15 14:00:40 -06:00
skins.vector.styles Merge "Offset the TableOfContents top property only when the sticky header is shown" 2022-02-19 01:32:03 +00:00
skins.vector.styles.legacy Address cache related FIXMEs 2021-10-05 21:53:09 +00:00
CheckboxHack.d.ts
CollapsibleTabsPlugin.d.ts
MediaWikiPageReady.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
mw.d.ts Use centralized MediaWiki typescript definition 2021-07-26 21:27:12 +00:00
VectorResourceLoaderVirtualConfig.d.ts Update typescript to latest (v4.5.5) 2022-01-24 16:35:45 -07:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00