element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.14k stars 1.99k forks source link

Tray unread/notification count is ambiguous #5766

Open schiessle opened 6 years ago

schiessle commented 6 years ago

I use the riot-web desktop application to connect to multiple IRC and Matrix rooms. It happens often, that after staring my computer the riot tray icon indicates that I have some new notifications (number in a red circle at the try icon). When I open the riot client, I only see all chat rooms which have new messages, highlighted by bold font. But I don't have a idea from which room the notification comes. So I open one room after another and at some point the notification at the tray icon disappears. Now I know that the notification comes from this room but I still have no idea why. Was my name mentioned? Another word I configured for notification? Especially if it is a high traffic room I have no chance to find out what actually happened and why I was notified.

Therefore I have two suggestions:

  1. Every chat room should have a similar indicator as the tray icon which shows the number of notifications. So that I directly see from which room new notifications come from.

  2. If I open a room with new notification, the chat windows should highlight all rows which triggered a notification since the last time I visited the room (e.g. with a different background color) and jump to the oldest of these message. So that I can then scroll to the bottom and see all the messages which triggered a notification and can response to it if needed.

What do you think?

t3chguy commented 6 years ago

The tray count isn't always "notifications count" its both notifications and unread rooms count, this is not desktop-specific as the tray just mimics the favicon on the webapp. In the case of bolded rooms, those are merely unread things, rooms where you are notified DO have a counter like the tray counter

schiessle commented 6 years ago

Hm, I'm quite sure that I already had the situation that there was a tray count "1" with multiple rooms in bold letters, then the tray count disappeared after I entered one of these rooms and the room notification was set to "mention only". But I have also notifications enabled for various keywords. So I assume that it was neither a unread count, nor a mention but a keyword who triggered the notification. Should a room which triggers a notification because of a keyword also have a count? Though I didn't saw one. That's why I think (1) a count next to each room and (2) highlighting of all the lines who triggered a notification + scrolling to the oldest one would be a nice improvement.

lampholder commented 6 years ago

This could be related to: https://github.com/vector-im/riot-web/issues/3818