No notifications if room selected

Chat rooms for mChat with optional password protection and 1-on-1 chats
Post Reply
User avatar
jan_2017
Distinguished Donor
Posts: 131
Joined: 13 May 2017, 18:07

No notifications if room selected

#1

Post by jan_2017 » 25 Aug 2018, 13:47

When I select a room then no notifications are displayed as in another room that is not selected. By notification I meant the digits how many messages are new.

Once the room has been selected, you don't know how many messages are new.

User avatar
kasimi
mChat developer
Posts: 795
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: No notifications if room selected

#2

Post by kasimi » 25 Aug 2018, 18:48

If you're actively chatting in the room and you're reading all messages right away, it would be confusing if the red badge would count up, wouldn't it? :P The extension doesn't know when you're done reading new message. That's why it is assumed that you're reading new messages in your active room right away.

Maybe there's a way to improve this, but we need to answer the following questions:
  1. When do you want the red badge to count up? At the moment it counts up if you're not in the room.
  2. When don't you want it to count up? At the moment it doesn't count if you're in the room.
  3. When do you want it to be removed? At the moment it's removed when you enter the room.

User avatar
jan_2017
Distinguished Donor
Posts: 131
Joined: 13 May 2017, 18:07

Re: No notifications if room selected

#3

Post by jan_2017 » 25 Aug 2018, 19:40

kasimi wrote:
25 Aug 2018, 18:48
Maybe there's a way to improve this, but we need to answer the following questions:
  1. When do you want it to be removed? At the moment it's removed when you enter the room.
No, not until I leave the room or click on another.

it should continue counting up as long as I am in the chat room.it can be that I choose this room and come back only after 10 minutes. then I do not know how many new messages were written in my absence.
kasimi wrote:
25 Aug 2018, 18:48
When do you want the red badge to count up? At the moment it counts up if you're not in the room.
mchat already do that :)

i know it is not easy

User avatar
kasimi
mChat developer
Posts: 795
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: No notifications if room selected

#4

Post by kasimi » 26 Aug 2018, 15:35

jan_2017 wrote:
25 Aug 2018, 19:40
it should continue counting up as long as I am in the chat room.
The red badges reset to zero when you reload the page. Making them persistent across page reloads requires a lot of changes.

Am I the only one who would be confused by the red badge counting up in the room I'm currently in? Even more so when I'm actively chatting in it.

User avatar
jan_2017
Distinguished Donor
Posts: 131
Joined: 13 May 2017, 18:07

Re: No notifications if room selected

#5

Post by jan_2017 » 26 Aug 2018, 18:34

Maybe you can also change the settings so that the counter for new messages only counts again after a certain time if you have been inactive for a longer period of time.

User avatar
kasimi
mChat developer
Posts: 795
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: No notifications if room selected

#6

Post by kasimi » 27 Aug 2018, 07:58

What do you mean by inactive? Counting the messages happens in the browser with JavaScript, so inactive in that context means something like time of your last mouse movement or keyboard input?

As you can see it's difficult to find a good solution that works for everyone which is why the current solution is rather basic. :|

User avatar
jan_2017
Distinguished Donor
Posts: 131
Joined: 13 May 2017, 18:07

Re: No notifications if room selected

#7

Post by jan_2017 » 27 Aug 2018, 08:25

kasimi wrote:
27 Aug 2018, 07:58
What do you mean by inactive? Counting the messages happens in the browser with JavaScript, so inactive in that context means something like time of your last mouse movement or keyboard input?
Yes like that.

It will be a new feature in one of the next version :wave:

It would make sense, wouldn't it? If i don't read in chat for a unknown time then i want to see new messages....
Bye Jan

User avatar
kasimi
mChat developer
Posts: 795
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: No notifications if room selected

#8

Post by kasimi » 28 Aug 2018, 11:15

It's not that easy. What if I read all chat messages without participating or moving my mouse?

User avatar
jan_2017
Distinguished Donor
Posts: 131
Joined: 13 May 2017, 18:07

Re: No notifications if room selected

#9

Post by jan_2017 » 28 Aug 2018, 11:40

I don't know, you're the (mchat) expert. :D :beer:

Bye Jan

Post Reply

Who is online

Users browsing this forum: rammstein and 1 guest