discourse/plugins/chat/assets/javascripts/discourse
Roman Rizzi 9c8043a4d2
FEATURE: Enforce mention limits for chat messages (#19034)
* FEATURE: Enforce mention limits for chat messages

The first part of these changes adds a new setting called `max_mentions_per_chat_message`, which skips notifications when the message contains too many mentions. It also respects the `max_users_notified_per_group_mention` setting
and skips notifications if expanding a group mention would exceed it.

We also include a new component to display JIT warning for these limits to the user while composing a message.

* Simplify ignoring/muting filter in chat_notifier

* Post-send warnings for unsent warnings

* Improve pluralization

* Address review feedback

* Fix test

* Address second feedback round

* Third round of feedback

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2022-12-06 14:54:04 -03:00
..
adapters
components FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
connectors REFACTOR: naming and state refactor (#19187) 2022-11-25 14:15:38 +01:00
controllers FIX: ensures chat sidebar is present when core sidebar is disabled (#19197) 2022-11-25 19:28:10 +01:00
helpers DEV: Remove user options from current user serializer (#19089) 2022-12-05 18:25:30 +02:00
initializers DEV: Remove user options from current user serializer (#19089) 2022-12-05 18:25:30 +02:00
lib FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
models DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
modifiers/chat
pre-initializers
routes FIX: nullify active channel only when not on a chat channel (#19319) 2022-12-05 22:42:35 +01:00
services FIX: uses CDN when available for chat mp3 sounds (#19341) 2022-12-06 16:27:59 +01:00
templates DEV: Colocate all chat component templates (#19266) 2022-11-30 17:55:07 +00:00
widgets UX: alters chat icon behavior on drawer and mobile (#19192) 2022-11-25 15:12:32 +01:00
admin-chat-route-map.js
chat-route-map.js
preferences-chat-route-map.js