discourse/plugins/chat/spec/system/list_channels
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
..
drawer_spec.rb FIX: improve chat channel sorting for DMs (#30124) 2024-12-05 13:33:55 +04:00
mobile_spec.rb
no_sidebar_spec.rb FIX: Display new DM button when public channels are disabled (#28306) 2024-08-12 08:44:51 -05:00
sidebar_spec.rb UX: sort chat channels by activity in desktop drawer (#28822) 2024-09-13 10:14:37 +04:00