mediawiki-extensions-Echo/modules
Moriel Schottlender d67e474d46 Correct unseen animation in notifications
The unseen animation should display whether the option is unread or
read, because it should point out notifications that were unseen/new in
this session even if they are immediately marked as read (in cases
where the configuration is 'mark read when seen', like in alerts).

However, the animation itself switched by default to white background
which is an 'unread' state. This made cases like "mark all as read"
mark the notifications as read but still have a white background as
if they are unread, and yet have no 'x' button because they are actually
read. (Bear with me here)

This commit organizes the animation better. We now have a proper clear
naming for the two animations - unseen-to-read and unseen-to-unread and
we use unseen-to-read as default. unseen-to-unread is used when
the -unread class is applied and the other cases should reflect the
correct state of the option read/unread status.

Bug: T112826
Change-Id: I7fe8ea5dcf8c3e31d16213313be34b2350d03655
2015-09-18 11:02:38 +00:00
..
icons Hack around OOUI's icon pack being too large by creating our own 2015-09-14 22:21:45 +02:00
logger Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
nojs Only load ext.echo.ui if the user clicks the echo badge 2015-09-15 17:11:46 -07:00
ooui Correct unseen animation in notifications 2015-09-18 11:02:38 +00:00
special Use db-replicated objectcache for storing last seen time 2015-09-02 22:42:35 +00:00
viewmodel Only load ext.echo.ui if the user clicks the echo badge 2015-09-15 17:11:46 -07:00
echo.mixins.less Don't load oojs-ui.styles on every page 2015-09-14 12:38:44 +02:00
echo.variables.less Merge "Align popup footer buttons to take 50% width each" 2015-09-09 20:47:50 +00:00
ext.echo.init.js Measure how likely users open flyout if they have unseen notifications 2015-09-16 10:18:17 -07:00
hooks.txt Add overlay hook for user scripts. 2013-06-13 21:27:26 -04:00