mediawiki-extensions-Echo/modules/nojs
Moriel Schottlender c5905962ab Only load ext.echo.ui if the user clicks the echo badge
There is no need to load the entire of Echo's ui module (especially
since that includes ooui widgets and their styles) on every page load.
There's only need to load the entire module if and when a user clicks
the Echo notification badge.

Also, make the echo.dm model accept an external fetchNotifications
promise so we can send the API request alongside loading the echo UI
and "feed" it into the DM for processing.

CSS adjusted to make the "jump" between the nojs and the js buttons
seem less jumpy.

Bug: T112401
Change-Id: I516e655ffd198511d694489a0702c5c713a5fd68
2015-09-15 17:11:46 -07:00
..
mw.echo.alert.less Restore echo.alert styles 2015-09-04 16:36:01 -07:00
mw.echo.alert.modern.less Restore echo.alert styles 2015-09-04 16:36:01 -07:00
mw.echo.alert.monobook.less Restore echo.alert styles 2015-09-04 16:36:01 -07:00
mw.echo.badge.less Only load ext.echo.ui if the user clicks the echo badge 2015-09-15 17:11:46 -07:00
mw.echo.notifications.less Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
mw.echo.special.less Specify firstHeading rule for .mw-special-Notifications only 2015-09-06 22:05:34 -07:00