discourse/plugins/chat/test/javascripts/unit/services
Osama Sayegh a9008966f0
FIX: Respect title_count_mode preference in chat (#36930)
Follow-up to https://github.com/discourse/discourse/pull/36652

The linked PR adds logic to show a counter in the document title when
chat messages arrive to a channel that's left open in a background tab.
This behavior is consistent with the topic page where the document title
also shows a counter when posts are made. We do have an existing user
preference (Preferences > Interface > Background page title displays
count of:) to disable the document title counter for topics, however,
chat currently shows counter in the document title regardless of that
user preference. This PR makes chat respect the user preference.
2025-12-31 19:27:37 +03:00
..
chat-channel-info-route-origin-manager-test.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
chat-channels-manager-test.js UX: Update sort order for starred channels on drawer/mobile (#36921) 2025-12-30 13:27:16 -08:00
chat-drafts-manager-test.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
chat-drawer-size-test.js DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
chat-guardian-test.js DEV: Fix no-loose-assertions lint (#29965) 2024-11-28 11:22:27 +01:00
chat-state-manager-test.js FIX: default to starred channels only in mobile/drawer modes (#36569) 2025-12-09 19:44:25 +01:00
chat-test.js FIX: Respect title_count_mode preference in chat (#36930) 2025-12-31 19:27:37 +03:00