feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

[Room Title] Display total number of unread messages and room unread messages displayed in simplistic way in room title

Open MichalFoksa opened this issue 3 months ago • 0 comments

I use web RocketChat in multiple browser tabs. Few tabs, each for a important channels or person.

Current browser title contains text "xyz unread messages", e.g. 7 unread messages. It often it prepends room title and then the room title is not visible, or fully visible. See a screenshot bellow.

Examples of browser title as of 2024/Apr/25 from develop branch.

20240425-develop-branch-unread_messages_obscures_room_name

Detail on tab title

20240424-develop-branch-unread_messages_obscures_rooms_name

In, for example 9 unread messages - Johny Smt...., room name "Johny Smith" is obscured by unnecessary long text "unread messages".

Describe the solution you'd like

I would like to see in title:

  • total amount of unread messages in less intrusive way

  • number of unread room messages

  • room name - of course

    Format:

    • number of total unread messages in square brackets - if the number is zero then it is not displayed
    • number of room unread messages in brackets - if the number is zero, it is not displayed.

    Examples:

    • [10] (5) Mark Watney - workspace name
    • [10] general - workspace name - AFAIK channels do not have number of unread messages, so room unread not show
    • general - workspace name - no unread messages

image Note: 32 is total number of unread, 17 "Johny Smith" room unread, 15 "Mark Watney" room unread

MichalFoksa avatar Apr 23 '24 06:04 MichalFoksa