mediawiki-skins-MinervaNeue/resources
Jan Drewniak 864a1766a7 Refactor pageActions menu to accommodate AMC mode
This patch refactors the markup and JS associated with the page actions
menu in order to achieve greater flexibility in its presentation.
The menu items are now positioned via flexbox and rendered using a mustache
template in PHP.

The goal of this refactor is to accommodate both AMC mode and default
mode with the same markup. No changes should be visible for non-AMC
users with this refactor. No changes to AMC mode have been made in this
patch either.

This patch includes temporary workarounds to avoid problems caused by HTML caching.

Changes include:
- Changing the data structure of the page_actions property in SkinMinerva.php
- Passing that modified data structure into a new mustache template, PageActionMenu.mustache
- Adding new CSS for the new page actions menu HTML
- changing the query selectors in JS to match the new markup
- Making the JS-modified page-actions compatible with the new markup
- Keeping existing CSS and JS to avoid breaking cached HTML

Bug: T213352
Depends-On: I95cf726c4b6d8c3895a26aa6e07f4b1747ee30fe
Change-Id: I5a7d73b20617cb3c6d6379084ac4bea23ec3bc74
2019-02-28 12:31:57 +01:00
..
skins.minerva.amc.styles Remove margin from tagline and add .page-heading element 2019-02-19 12:37:27 +01:00
skins.minerva.base.styles Refactor pageActions menu to accommodate AMC mode 2019-02-28 12:31:57 +01:00
skins.minerva.content.styles Remove hard-coded z-index value from page-issues read-more link 2019-02-20 00:45:20 +00:00
skins.minerva.content.styles.images Correct search icon 2018-08-14 14:20:00 -07:00
skins.minerva.icons.images Merge "Watchstar is accessible to non-js users" 2018-10-23 20:09:40 +00:00
skins.minerva.icons.images.scripts Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.icons.images.scripts.misc Remove fancy block info popups (move to MobileFrontend) 2018-07-26 23:44:28 +02:00
skins.minerva.icons.images.variants Update user avatar to latest, slightly overhauled iteration 2018-10-10 17:34:09 -07:00
skins.minerva.icons.loggedin Only load notification icon (bell) CSS for logged in users 2018-04-12 09:27:01 -07:00
skins.minerva.icons.page.issues.default.color Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.icons.page.issues.medium.color Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.icons.page.issues.uncolored Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.loggedin.styles Remove minerva.less from global import path 2018-05-29 12:19:00 +00:00
skins.minerva.mainMenu.icons Merge profile icon with user-avatar icon 2018-05-08 23:35:44 +00:00
skins.minerva.mainMenu.styles HYGIENE: Remove element nav selector from mainmenu.less 2019-02-27 15:01:08 -08:00
skins.minerva.mainPage.styles Remove large bottom margin at top of main page 2019-01-23 12:10:06 -07:00
skins.minerva.notifications Merge skins.minerva.scripts.top and skins.minerva.mainMenu into scripts 2019-02-07 18:10:15 -08:00
skins.minerva.notifications.badge Hygiene: replace OO.mfExtend with mobile.mfExtend 2019-02-08 21:42:03 +00:00
skins.minerva.options Hygiene: update categoryOverlay to use factory API 2019-02-11 22:49:59 +00:00
skins.minerva.scripts Refactor pageActions menu to accommodate AMC mode 2019-02-28 12:31:57 +01:00
skins.minerva.talk Fix talk overlay workflow 2019-02-25 14:14:53 -08:00
skins.minerva.toggling Hygiene: replace mobile.startup/paths with props 2019-02-07 14:55:04 -07:00
skins.minerva.userpage.icons Remove unused userpage icon from repo 2018-02-15 08:36:44 -08:00
skins.minerva.userpage.styles build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass 2018-12-12 23:26:48 +00:00
skins.minerva.watchstar build: Update eslint-config-wikimedia to 0.10.0 2019-01-24 17:59:40 +00:00