This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/test/javascripts/acceptance
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-browse-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-channel-info-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-channel-slug-test.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channels-list-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-composer-test.js FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
chat-flagging-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-keyboard-shortcuts-test.js DEV: glimmerify chat-channel-row (#19287) 2022-12-02 16:57:35 +01:00
chat-live-pane-collapse-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-live-pane-mobile-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-live-pane-silenced-user-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-live-pane-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-message-bookmarking-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-message-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-move-message-to-channel-test.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-preferences-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-quoting-test.js REFACTOR: naming and state refactor (#19187) 2022-11-25 14:15:38 +01:00
chat-sidebar-user-status-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-status-test.js DEV: glimmerify chat-channel-row (#19287) 2022-12-02 16:57:35 +01:00
chat-test.js FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
chat-transcript-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat-user-menu-notifications-test.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
composer-hashtag-autocomplete-test.js DEV: skip breaking tests (#19226) 2022-11-28 20:33:49 +01:00
core-sidebar-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
create-channel-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
delete-chat-channel-modal-test.js FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
mobile-chat-test.js DEV: glimmerify chat-channel-row (#19287) 2022-12-02 16:57:35 +01:00
user-card-chat-test.js DEV: glimmerify chat-channel-row (#19287) 2022-12-02 16:57:35 +01:00