discourse/plugins/chat
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
..
admin/assets/javascripts DEV: Correctly lint bundled plugins admin directory (#29999) 2024-12-02 16:31:21 +00:00
app DEV: Apply new Rubocop linting on services 2024-12-02 17:31:36 +01:00
assets FIX: improve chat channel sorting for DMs (#30124) 2024-12-05 13:33:55 +04:00
config Update translations (#30062) 2024-12-04 11:59:28 +01:00
db DEV: Make sure chat migration is in plugin directory (#29867) 2024-11-20 14:50:15 -07:00
lib PERF: Optimize query for finding users with unread chat messages (#29964) 2024-11-28 15:28:37 +01:00
public
spec FIX: improve chat channel sorting for DMs (#30124) 2024-12-05 13:33:55 +04:00
test/javascripts DEV: Use qunit-dom's hasValue wherever possible (#30018) 2024-12-01 20:37:24 +01:00
plugin.rb DEV: update more deprecated font awesome icon names (#30123) 2024-12-05 15:20:02 +08:00
README.md

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.