discourse/plugins/chat/assets/javascripts/discourse/services
David Battersby b3c94839ed
FIX: improve chat channel sorting for DMs (#30124)
This change sorts unread channels in descending order based on last message date, so channels with the latest activity will always appear at the top. It also adds some improvements for sorting channels with unread threads, now when multiple channels have unread threads, they will be sorted by last thread reply date to ensure more active channels rise to the top.

For DM channels, the order is now:

- Urgent (green badge) - unread messages, mentions and unread watched threads (most recent activity at top)
- Unread (blue badge) - unread tracked threads (most recent thread reply at top)
- Everything else (most recent message at top)
2024-12-05 13:33:55 +04:00
..
chat-admin-api.js FEATURE: Export chat messages to CSV file (#22113) 2023-06-21 16:13:36 +04:00
chat-api.js DEV: adds blocks support to chat messages (#29782) 2024-11-19 07:07:58 +01:00
chat-audio-manager.js DEV: Bump eslint, lint-configs, and move to flat config (#29661) 2024-11-12 12:33:17 +00:00
chat-channel-composer.js FEATURE: allows browse page in chat drawer (#27919) 2024-07-16 12:34:37 +02:00
chat-channel-emoji-picker-manager.js DEV: Refactoring chat message actions for ChatMessage component usage in thread panel (#20756) 2023-04-06 15:19:52 +02:00
chat-channel-info-route-origin-manager.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-channel-notices-manager.js FIX: correctly handle subscriptions (#24270) 2023-11-07 16:37:42 +01:00
chat-channel-pane.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
chat-channel-scroll-positions.js FIX: correctly save scroll position in channel (#25345) 2024-01-19 22:49:14 +01:00
chat-channels-manager.js FIX: improve chat channel sorting for DMs (#30124) 2024-12-05 13:33:55 +04:00
chat-composer-warnings-tracker.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
chat-drafts-manager.js DEV: Bump @discourse/lint-configs and autofix (#29847) 2024-11-20 14:15:04 +00:00
chat-drawer-router.js DEV: adds chat-drawer-before-content plugin outlet (#28284) 2024-08-08 22:46:55 +02:00
chat-drawer-size.js FEATURE: resizeable chat drawer (#20160) 2023-02-03 15:11:12 +01:00
chat-emoji-picker-manager.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
chat-emoji-reaction-store.js DEV: Add a missing service injection (#28890) 2024-09-12 23:20:33 +02:00
chat-guardian.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
chat-history.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-notification-manager.js FIX: simplify desktop notifications behavior (#29957) 2024-11-27 17:33:31 +01:00
chat-state-manager.js FIX: Don't override other sidebar panels when opening/closing the chat drawer (#29144) 2024-10-09 20:29:19 -03:00
chat-subscriptions-manager.js DEV: Consolidate i18n import paths (#29804) 2024-11-19 20:45:18 +00:00
chat-thread-composer.js FIX: correctly rename scroller everywhere (#26783) 2024-04-29 08:45:37 +02:00
chat-thread-list-pane.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
chat-thread-pane.js FIX: ensures thread panel closes on escape (#29651) 2024-11-08 09:19:24 +09:00
chat-tracking-state-manager.js FIX: show urgent badge for mentions in DM threads (#29821) 2024-11-29 12:52:55 +04:00
chat.js FIX: simplify desktop notifications behavior (#29957) 2024-11-27 17:33:31 +01:00
emoji-picker-scroll-observer.js DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00