discourse/plugins/chat/assets/javascripts/discourse/initializers
Joffrey JAFFEUX d5066336ec
UX: reduces idle time to 0 on chat (#27158)
We consider that you should always receive a notification sound when someone speaks directly with you in chat.

This commit also refactors the way we play audio in chat to make it simpler and throttle it to 3 seconds.

We also added a safeguard to ensure we won't play sounds for old messages, this case can happen when message bus is catching up the backlog (eg: in an inactive tab for example).
2024-05-24 11:18:11 +02:00
..
chat-audio.js UX: reduces idle time to 0 on chat (#27158) 2024-05-24 11:18:11 +02:00
chat-decorators.js DEV: Clean up hashtag code (#25397) 2024-01-29 09:48:56 +10:00
chat-keyboard-shortcuts.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-plugin-decorators.js FIX: Update path for spoiler-alert plugin (#24064) 2023-10-23 15:04:54 -06:00
chat-setup.js PERF: defer loading channels (#26155) 2024-03-18 08:35:07 +01:00
chat-sidebar.js FIX: Sidebar mode switching on subfolder (#27026) 2024-05-15 10:12:15 +02:00
chat-user-menu.js FIX: ensures chat notifications links work with subfolder (#26938) 2024-05-08 14:47:15 +02:00
chat-user-options.js FEATURE: encourage users to set chat thread titles (#26617) 2024-04-29 17:20:01 +08:00