discourse/plugins/chat/app
Andrei Prigorshnev 62f423da15
DEV: Redesign chat mentions (#24752)
At the moment, when someone is mentioning a group, or using here or 
all mention, we create a chat_mention record per user. What we want 
instead is to have special kinds of mentions, so we can create only one 
chat_mention record in such cases. This PR implements that.

Note, that such mentions will still have N related notifications, one 
notification per a user. We don't expect we'll have performance 
problems on the notifications side, but if at some point we do, we 
should be able to solve them on the side of notifications 
(notifications are handled in jobs, also some little delays with 
the notifications are acceptable, so we can make sure notifications 
are properly queued, and that processing of every notification is 
fast enough to make delays small enough).

The preparation work for this PR was done in fbd24fa, where we make 
it possible for one mention to have several related notifications.

A pretty tricky part of this PR is schema and data migration, I've explained 
related details inline on the migration files.
2024-01-17 15:24:01 +04:00
..
controllers/chat FEATURE: Mobile Chat Footer Redesign (#25161) 2024-01-16 14:29:33 +08:00
helpers/chat FEATURE: Mark all chat channels read with a shortcut (#20629) 2023-03-22 13:24:07 +10:00
jobs DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
models DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
policies DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
queries/chat DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
serializers/chat DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
services DEV: uses in: {} with lambda to work with eager_load (#25039) 2023-12-29 12:45:07 +08:00
validators/chat DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
views FIX: correctly uses private_email site setting in chat (#24528) 2023-11-23 15:54:22 +01:00