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
Roman Rizzi b7c24e1d69
REFACTOR: Separate post-send warnings logic.
After #19666, we send notifications asynchronously. However, this has dramatically delayed the different post-send warnings we send.

This change moves all the post-send warnings logic from `Chat::ChatNotifier` into a separate service, allowing us to run this part synchronously, displaying the warnings almost instantly without doing all the heavy lifting for sending notifications. It also simplifies the notifier, making another refactor we planned simpler.

Finally, this removes the need to run jobs on the system specs that test the post-warning logic, hopefully making them faster.
2023-02-15 08:37:47 -03:00
..
app REFACTOR: Move post-send warnings into their own component. 2023-02-15 08:37:36 -03:00
assets REFACTOR: Move post-send warnings into their own component. 2023-02-15 08:37:36 -03:00
config REFACTOR: Move post-send warnings into their own component. 2023-02-15 08:37:36 -03:00
db DEV: Add ChatThread model and DB table, and ChatMessage reference (#20106) 2023-02-01 13:50:38 +10:00
lib REFACTOR: Separate post-send warnings logic. 2023-02-15 08:37:47 -03:00
public DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
spec REFACTOR: Separate post-send warnings logic. 2023-02-15 08:37:47 -03:00
test/javascripts DEV: Remove chat_channel_id from chat-live-pane details (#20302) 2023-02-15 08:27:09 +01:00
plugin.rb REFACTOR: Separate post-send warnings logic. 2023-02-15 08:37:47 -03:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.