mediawiki-extensions-Echo/modules/model
Moriel Schottlender c649c29e7d Generalize the SubGroupListWidget
Allow for the widget to have a mark-as-read button to its individual
groups, as well as change the event listening from 'remove' to 'discard'

The problem with 'remove' event is that it is triggered when an item
is either intentionally removed from the list *and* when an item is
changing its position in the list (move event includes 'remove' and
then 'add' event)

If we listen to 'remove' events we will get both cases, which is
unhelpful. Instead, a new event - 'discard' - was introduced so
we are certain it is used with the clear intention of removing the
item completely.

Change-Id: Ia08720bf4c547fa41edf62331eeb1a45ff4965b7
2016-05-26 18:44:16 +00:00
..
mw.echo.dm.CrossWikiNotificationItem.js Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00
mw.echo.dm.js Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00
mw.echo.dm.ModelManager.js Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00
mw.echo.dm.NotificationGroupsList.js Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00
mw.echo.dm.NotificationItem.js Generalize the SubGroupListWidget 2016-05-26 18:44:16 +00:00
mw.echo.dm.NotificationsList.js Generalize the SubGroupListWidget 2016-05-26 18:44:16 +00:00
mw.echo.dm.SortedList.js Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00
mw.echo.dm.UnreadNotificationCounter.js Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00