mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 16:04:35 +00:00
c5905962ab
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 |
||
---|---|---|
.. | ||
mw.echo.alert.less | ||
mw.echo.alert.modern.less | ||
mw.echo.alert.monobook.less | ||
mw.echo.badge.less | ||
mw.echo.notifications.less | ||
mw.echo.special.less |