mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +00:00
d67e474d46
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 |
||
---|---|---|
.. | ||
icons | ||
logger | ||
nojs | ||
ooui | ||
special | ||
viewmodel | ||
echo.mixins.less | ||
echo.variables.less | ||
ext.echo.init.js | ||
hooks.txt |