MinervaNeue/resources/skins.minerva.scripts
Stephen Niedzielski edb4385345 Hygiene: extract ToggleList to a reusable component
A list that toggles visibility via the checkbox hack is needed in at
least two spots: the page actions overflow menu and the user menu. This
patch makes several refactors to turn what was previously hardcoded into
page actions a reusable component:

- Start a new components directory. Components are reusable and
  composable. The subdirectories are organized by function, not
  ResourceLoader module bundling which greatly improves the ability to
  see a component's full functionality in one directory instead of
  examining the entire codebase. See updates to README.

- Extract pageactions.less into:
  - ToggleList.less: LESS for any checkbox hack list.
  - DropDownList.less: LESS for lists that open downwards.
  - MenuListItem.less: LESS for list items of menus.
  The division makes it easier to see concerns, dependencies, and change
  code.

- Move pageActionMenu.mustache to a component and extract ToggleList
  template.

- Extract ToggleList.js from Toolbar.js.

Bug: T214540
Change-Id: I171831469a6733c458bc5c7ba249a5096ca975b8
2019-07-04 13:48:13 -06:00
..
menu skins.minerva.scripts: Remove use of deprecated ext.eventLogging.subscriber 2019-05-22 20:03:56 +01:00
page-issues Minerva is Hogan free 2019-04-25 10:34:01 +08:00
AB.js Hygiene: revise A/B test terminology 2019-01-08 15:08:50 +00:00
TitleUtil.js Update: don't prompt to create User pages 2019-03-19 18:07:32 +00:00
Toolbar.js Hygiene: extract ToggleList to a reusable component 2019-07-04 13:48:13 -06:00
UriUtil.js Update: don't prompt to create User pages 2019-03-19 18:07:32 +00:00
downloadPageAction.js Hygiene: extract ToggleList to a reusable component 2019-07-04 13:48:13 -06:00
errorLogging.js Allow us to distinguish errors for logged in users 2019-02-26 18:03:39 +00:00
init.js Don't scroll vertically when scrolling active tab into view 2019-06-24 15:18:56 -07:00
initLogging.js Merge skins.minerva.scripts.top and skins.minerva.mainMenu into scripts 2019-02-07 18:10:15 -08:00
menu.js build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-04 18:01:40 +00:00
mobileRedirect.js Do not use pass the "string" (deprecated parameter) to toast show method 2019-05-01 17:15:32 +00:00
pageIssues.js build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-04 18:01:40 +00:00
pageIssuesParser.js Hygiene: replace mobile.startup/paths with props 2019-02-07 14:55:04 -07:00
preInit.js Avoid deprecated View.$ 2019-02-15 19:04:11 +00:00
references.js Avoid deprecated View.$ 2019-02-15 19:04:11 +00:00
search.js build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-04 18:01:40 +00:00
styles.less build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-12 23:26:48 +00:00
toc.js build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0 2019-04-04 18:01:40 +00:00