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/spec
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
..
components FEATURE: Automatically create chat threads in background (#20206) 2023-02-08 10:22:07 +10:00
fabricators DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00
integration DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
jobs DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
lib REFACTOR: Separate post-send warnings logic. 2023-02-15 08:37:47 -03:00
mailers DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
models FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
queries DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
requests FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
serializer SECURITY: Limit chat drafts length and preloaded count (#19987) 2023-01-25 13:50:10 +02:00
services DEV: Refactor UpdateUserLastRead a little 2023-02-13 17:03:41 +01:00
support DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00
system REFACTOR: Separate post-send warnings logic. 2023-02-15 08:37:47 -03:00
validators DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
plugin_helper.rb FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
plugin_spec.rb DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00