discourse/plugins/chat/spec
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
..
components/chat DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
fabricators DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
integration DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
jobs DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
lib DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
mailers 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/chat/channel DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
queries/chat DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
requests DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
serializer DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
services DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
support DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
system DEV: Redesign chat mentions (#24752) 2024-01-17 15:24:01 +04:00
validators COPY: secure media -> secure uploads (#24643) 2023-11-30 14:58:55 +10:00
plugin_helper.rb FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
plugin_spec.rb COPY: secure media -> secure uploads (#24643) 2023-11-30 14:58:55 +10:00