discourse/plugins/chat/test/javascripts/unit/lib
David Battersby 2a5e1aa8e6
FEATURE: only play chat sound when chat badge icon is shown (#28387)
Every time a desktop chat sound plays, there should be some visual cue as to why the sound was played in the first place.

This change follows the chat indicator preference:

- All New Messages - a blue dot is shown for all messages, so we attempt to play a sound every time
- Direct Messages, Mentions and Watched Threads - a green dot is shown for all urgent messages, so we attempt to play a sound for urgent chat notifications
- Only Mentions - only play chat sounds when user is mentioned
- Never - we never play chat sounds, as user wouldn’t know why the sound was played
2024-09-06 18:25:25 +04:00
..
chat-audio-test.js FEATURE: only play chat sound when chat badge icon is shown (#28387) 2024-09-06 18:25:25 +04:00
chat-composer-buttons-test.js
chat-emoji-reaction-store-test.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
get-reaction-text-test.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
slugify-channel-test.js FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00