mediawiki-extensions-Echo/modules/ooui
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
..
styles Correct unseen animation in notifications 2015-09-18 11:02:38 +00:00
mw.echo.ui.js Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
mw.echo.ui.NotificationBadgeWidget.js Only load ext.echo.ui if the user clicks the echo badge 2015-09-15 17:11:46 -07:00
mw.echo.ui.NotificationOptionWidget.js Correct unseen animation in notifications 2015-09-18 11:02:38 +00:00
mw.echo.ui.NotificationsWidget.js Wrap notifications with a link for native click behavior 2015-09-11 09:48:00 -07:00