mediawiki-skins-Vector/tests/jest
bwang 8e4da83908 Replace .sidebar-toc class with .vector-toc and use PinnableElement in TOC
Using PinnableElement in the TOC allows us to reuse styles associated with all PinnableElements, and helps ensure consistency between page tools and the TOC. This is something that would probably need to be done for T324505 anyway
Rather than updating PinnableElement to accept a class prop, I chose to rename '.sidebar-toc' to '.vector-toc', making the TOC's naming conventions consistent with the rest of Vector.
"sidebar" doesn't make sense anymore anyway, as the TOC can be in multiple locations and it's best to avoid the "sidebar" term

Bug: T324877
Change-Id: I5b9228380f5c4674ef424d33127a5cb4010822da
2023-01-04 17:48:03 -06:00
..
__mocks__ Limited width toggle 2022-11-01 16:29:43 +00:00
__snapshots__ Replace .sidebar-toc class with .vector-toc and use PinnableElement in TOC 2023-01-04 17:48:03 -06:00
skins.vector.es6 Remove TOC AB test code 2022-12-09 16:07:52 -08:00
skins.vector.js Move limitedWidthToggle.js and features.js to skins.vector.es6 module 2022-12-07 16:45:52 -07:00
AB.test.js Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
App.test.js Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
deferUntilFrame.test.js Fix TOC section activation on link click bug 2022-02-08 14:45:16 -07:00
dropdownMenu.test.js Add tests for dropdownMenu.js 2022-09-01 13:11:22 -07:00
fetch.test.js Add fetch tests from WVUI 2022-02-15 14:00:40 -06:00
instrumentation.test.js search: Remove unused generateUrl() function 2022-12-06 13:35:45 +01:00
pinnableElement.test.js Set default pinnable state for page tools 2022-12-08 14:44:07 -07:00
restSearchClient.test.js search: Don’t pass searchApiUrl into fetchByTitle() 2022-11-25 15:00:16 +01:00
stickyHeader.test.js Use PinnableHeader in the TOC all the time 2022-11-30 01:09:43 +00:00
tableOfContents.test.js Replace .sidebar-toc class with .vector-toc and use PinnableElement in TOC 2023-01-04 17:48:03 -06:00
urlGenerator.test.js search: Remove unused generateUrl() function 2022-12-06 13:35:45 +01:00
userLinks.test.js Add snapshot class to sticky header tests 2022-05-12 10:51:43 -05:00
userLinksData.js Refactor page tools, main menu, and TOC components 2022-12-15 14:23:25 -08:00