discourse/plugins/chat/assets/javascripts/discourse
Joffrey JAFFEUX 0260415664
FIX: correctly handle notifications for channels (#27178)
Prior to this fix we had too logic to detect if a user is active or not:

- idle codepath on the frontend
- online user ids on the backend

The frontend solution is not very reliable, and both solution are just trying to be too smart. Making a lot of people questioning why they receive a notification sometimes and sometimes not. This commit removes all this logic and replaces it with a much more simpler logic:

- you can't receive notifications for channel you are actually watching
- we won't play a sound more than once every 3seconds
2024-05-24 19:59:24 +02:00
..
adapters FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00
components FIX: correctly handle notifications for channels (#27178) 2024-05-24 19:59:24 +02:00
connectors DEV: Convert mobile chat message actions to a modal (#26436) 2024-04-04 09:25:52 -03:00
controllers FIX: improves chat audio notification reliability (#27089) 2024-05-20 20:48:30 +02:00
helpers FIX: ensures last read is updated on new message (#26772) 2024-04-26 18:27:39 +02:00
initializers UX: reduces idle time to 0 on chat (#27158) 2024-05-24 11:18:11 +02:00
lib DEV: move post flags into database (#27125) 2024-05-23 12:19:07 +10:00
models FIX: improvements to chat message streaming (#26892) 2024-05-07 15:38:24 +02:00
modifiers/chat FIX: ensures last read is updated on new message (#26772) 2024-04-26 18:27:39 +02:00
pre-initializers DEV: allows a context when creating a message (#25647) 2024-02-13 11:37:15 +01:00
routes FIX: set active thread on correct channel (#27141) 2024-05-22 23:38:12 +02:00
services FIX: correctly handle notifications for channels (#27178) 2024-05-24 19:59:24 +02:00
templates DEV: improves keyboard sizing (#26372) 2024-03-27 08:50:32 +01:00
admin-chat-route-map.js
chat-route-map.js FEATURE: Create a link to start a new chat (#25722) 2024-02-20 18:08:57 +08:00
preferences-chat-route-map.js