mediawiki-extensions-Echo/modules/viewmodel
Stephane Bisson 52b60075d1 Handle empty foreign notification sources
Foreign notification sources can end up being empty
for legitimate reasons (already marked as read on the
foreign wiki) or errors (failed to query remote server).

This change makes the front-end resilient by
removing the sources if they end up being empty,
and removing the foreign notifications bundle if
all the sources end up being empty.

Bug: T135252
Bug: T135250
Change-Id: I5901bb0007420a19d8c0727faa982eb00809c074
2016-05-13 15:42:58 -04:00
..
mw.echo.dm.js Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
mw.echo.dm.List.js build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass 2016-03-07 14:29:15 +01:00
mw.echo.dm.NotificationGroupItem.js Handle empty foreign notification sources 2016-05-13 15:42:58 -04:00
mw.echo.dm.NotificationItem.js build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass 2016-03-07 14:29:15 +01:00
mw.echo.dm.NotificationList.js Stop counting notifications objects on the client 2016-03-25 15:31:00 -04:00
mw.echo.dm.NotificationsModel.js Correctly update locally cached seenTime 2016-05-12 16:04:24 -07:00
mw.echo.dm.SortedList.js Implement SortedList in Echo notifications 2015-11-06 11:01:10 -08:00
mw.echo.dm.UnreadNotificationCounter.js Stop counting notifications objects on the client 2016-03-25 15:31:00 -04:00