As now polling is used to update the notification count on header icons. So, if there are new notifications a snippet showing relevant information regarding the new notification should appear temporarily using the mw.notify() library.
Related Gerrit Patches:
|mediawiki/extensions/Echo : master||Render HTML in notification snippet|
|mediawiki/extensions/Echo : master||Display notification text for incoming notification|
@Shivanshbindal9 I think this needs a follow-up, as HTML in notifications is not rendered (see screenshot)
Some other thoughts:
- I'd like to consider either making the notifications sticky (click to dismiss) or show them for a longer amount of time, as the current number of seconds is not really long enough to look at and think about what you've seen before it's disappeared. For me, anyway :)
- Clicking the notification doesn't do anything. Ideally (@Catrope or @Mooeypoo might have other preferences for this), clicking the notification would open up the notifications panel