discourse/plugins
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
..
chat FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
discourse-details Update translations (#19340) 2022-12-06 16:22:23 +01:00
discourse-local-dates Update translations (#19340) 2022-12-06 16:22:23 +01:00
discourse-narrative-bot Update translations (#19340) 2022-12-06 16:22:23 +01:00
discourse-presence Update translations (#19340) 2022-12-06 16:22:23 +01:00
lazy-yt A11Y: add keyboard support to youtube embeds (#18710) 2022-10-21 16:32:53 -04:00
poll Update translations (#19340) 2022-12-06 16:22:23 +01:00
styleguide Update translations (#19340) 2022-12-06 16:22:23 +01:00