discourse/plugins/chat/test/javascripts
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
..
acceptance FIX: Don't modify FloatKitInstances arrays unless needed (#27462) 2024-06-13 12:44:38 +02:00
components UX: chat drawer increase unread channel visibility (#28731) 2024-09-05 13:36:50 +04:00
helpers FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
integration/components/user-menu DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
unit FEATURE: only play chat sound when chat badge icon is shown (#28387) 2024-09-06 18:25:25 +04:00
chat-fixtures.js DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00