MinervaNeue/includes/menu
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
..
Main Merge "Move hamburger icon generation into Director" 2019-06-26 19:13:55 +00:00
PageActions Hygiene: extract ToggleList to a reusable component 2019-07-04 13:48:13 -06:00
AuthMenuEntry.php menu: Add system generated logoutToken on logout action in Minerva 2019-06-11 12:54:37 +01:00
Definitions.php Allow overriding text and CSS class for home menu entry 2019-07-03 16:42:47 -04:00
Group.php Add method for getting menu entry by name 2019-06-06 13:04:29 -04:00
HomeMenuEntry.php Allow overriding text and CSS class for home menu entry 2019-07-03 16:42:47 -04:00
IMenuEntry.php Provide IMenuEntry interface 2019-05-14 13:12:37 +02:00
LanguageSelectorEntry.php Extract LanguageSwitcher to separate class 2019-06-20 17:18:20 +02:00
MenuEntry.php Add method for getting menu entry by name 2019-06-06 13:04:29 -04:00
SingleMenuEntry.php Introduce new SingleMenuEntry 2019-06-13 21:39:37 +02:00