discourse/plugins/chat
Régis Hanol 8f8d88afac
PERF: Optimize query for finding users with unread chat messages (#29964)
Using CTEs and DISTINCT ON to:
- Pre-filter active users with correct preferences
- Get only first unread message per channel
- Eliminate redundant joins and message scanning

This reduces the query execution time by limiting message scanning and joins to only relevant users and messages.

Internal ref t/142836 & t/139517
2024-11-28 15:28:37 +01:00
..
admin/assets/javascripts DEV: Bump `@discourse/lint-configs` and autofix (#29847) 2024-11-20 14:15:04 +00:00
app FIX: serializes interaction for direct messages (#29844) 2024-11-20 11:26:12 +01:00
assets UI: hides channel with visible panel on narrow screen (#29541) 2024-11-28 11:58:36 +01:00
config Update translations (#29934) 2024-11-26 23:14:56 +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: Tweak the unread channel shortcut key behaviour (#29874) 2024-11-21 11:41:02 +11:00
test/javascripts DEV: Fix no-loose-assertions lint (#29965) 2024-11-28 11:22:27 +01:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00
plugin.rb FIX: simplify desktop notifications behavior (#29957) 2024-11-27 17:33:31 +01: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.