mediawiki-extensions-Echo/modules
Stephane Bisson 623d07011c Stop counting notifications objects on the client
The flyout loads no more than 25 notifications
from a given source. Using those in-memory notification
objects to count how many are currently unread (and
update the badge) produces a result of at most 25.

This patch extracts the responsibility or counting the
unread from the Model/Item/Groupitem structure into
a new UnreadNotificationCounter class. It receives
estimated updates from other components and synchronizes
with the server after markRead/markUnread operations
have completed.

Bug: T129726
Change-Id: I9af4defc00dd491ed2b355eb4e85073476e08ce7
2016-03-25 15:31:00 -04:00
..
api Stop counting notifications objects on the client 2016-03-25 15:31:00 -04:00
icons Add footer notice widget for invitations for feedback 2016-03-18 17:02:31 -07:00
logger jscs: Add "checkTypes": "strictNativeCase" and make pass 2016-03-25 11:47:00 -07:00
nojs Increase space between notification header and body 2016-02-15 15:56:59 -05:00
ooui Stop counting notifications objects on the client 2016-03-25 15:31:00 -04:00
special Revert "Compress PNGs with zopflipng" 2016-03-03 19:57:02 +00:00
viewmodel Stop counting notifications objects on the client 2016-03-25 15:31:00 -04:00
echo.mixins.less Truncate usernames, titles and excerpts in notifications 2016-01-29 07:04:23 -05:00
echo.variables.less Adjust group bundle styles 2016-02-29 20:16:42 +00:00
echo.variables.monobook.less Separate skin specific styles and improve Monobook appearance 2015-11-10 17:57:44 -08:00
echo.variables.vector.less Separate skin specific styles and improve Monobook appearance 2015-11-10 17:57:44 -08:00
ext.echo.init.js Stop counting notifications objects on the client 2016-03-25 15:31:00 -04:00
hooks.txt Add overlay hook for user scripts. 2013-06-13 21:27:26 -04:00