mediawiki-extensions-Echo/modules
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
..
api Allow for overriding parameters in fetch notifications API request 2016-05-26 11:42:14 -07:00
controller Generalize the SubGroupListWidget 2016-05-26 18:44:16 +00:00
icons Merge "Remove unused icon files" 2016-04-01 11:15:53 +00:00
logger Add JSDuck support and fix errors 2016-05-11 14:07:12 -07:00
model Generalize the SubGroupListWidget 2016-05-26 18:44:16 +00:00
nojs Add 'mark section as read' to Special:Notifications 2016-05-11 20:00:24 +00:00
special Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00
styles Generalize the SubGroupListWidget 2016-05-26 18:44:16 +00:00
ui Generalize the SubGroupListWidget 2016-05-26 18:44:16 +00: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 Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00
ext.echo.moment-hack.js Apply momentjs hack for short relative times on mobile too 2016-04-19 17:53:02 -07:00
hooks.txt Add overlay hook for user scripts. 2013-06-13 21:27:26 -04:00
mw.echo.js Refactoring Echo's front end for MVC 2016-05-18 12:28:45 -07:00