mediawiki-skins-MinervaNeue/skinStyles/mobile.startup
jdlrobson 7f68c3d3ad MainMenu is a controller not a View and server rendered (take 2)
There should be no caching implications for this change, as the main menu
has been server side rendered on all wikis since 10th October.

As Stephen pointed out somewhere, this is a bit of a micro-optimisation
Let's simplify this code by always rendering it in the HTML. MainMenu.js
as a result becomes a controller that just decides when to show it.

The geolocation check for Nearby is removed given the fact that all
grade A browsers for mediawiki have Geolocation support.

ev.preventDefault in onSkinClick is dropped since the link to the '#'
(the default behaviour) is wanted

Additional changes
* Browser support suggests "animations" class is redundant now
* `open` event no longer filed - not being used anywhere
* Transparent shield is now managed by the MainMenu controller not
the skin (which was confusing)
* Test geolocation using a simple feature tests
rather than abstracting it away inside Browser
* The main menu button is always hidden under either a translucent shield
and/or the main menu itself when it has been opened
so so it's not possible to ever click it while the menu is open
 - the click handler is thus simplified
removing a check for the class of the button

Bug: T234650
Change-Id: If101eebbdbda1519af922745917237648722820e
2019-10-29 16:37:04 -07:00
..
images Unify SVG markup 2017-11-14 21:44:40 +00:00
languageOverlay Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
search Vertically center clear icon within search form element 2019-09-30 16:58:25 -06:00
drawers.less Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mobile.startup.less Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
Overlay.less Generalize SearchOverlay styles to all "header-chrome" overlays 2019-09-16 21:29:59 +02:00
skin.less MainMenu is a controller not a View and server rendered (take 2) 2019-10-29 16:37:04 -07:00
toast.less Unify transition values across board 2019-10-24 12:11:52 -07:00
toggle.less MobileFrontend is now managing the toggling code. Remove. 2019-09-06 15:50:00 +02:00