mediawiki-extensions-Echo/tests
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
..
browser Fix Cucumber tags for Selenium tests 2016-02-22 13:51:17 +00:00
externals Add ability to run QUnit tests 2014-08-01 15:55:22 -07:00
phpunit Let EchoUserNotificationGateway return a different notification count 2016-03-22 14:22:15 +01:00
qunit Stop counting notifications objects on the client 2016-03-25 15:31:00 -04:00
bootstrap.php build: Enable phpcs rule 'Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect' and make pass 2015-10-29 12:56:33 +01:00
echo.suite.xml Directory reshuffle, add dev tools 2014-08-01 22:38:41 +00:00
NotificationsTest.php Fix visibility of setUp methods in tests 2015-12-14 11:02:34 +01:00