discourse/plugins/chat/spec/requests
Joffrey JAFFEUX c8fff19b99
DEV: removes the notion of staged thread (#23612)
While very fast and powerful staged threads forces a lot of gymnastic and edge cases. This patch adds a new service `Chat::CreateThread` and uses it to create a thread unconditionally when a user replies to a message in a threading enabled channel. If the user actually doesn’t send a message we will have a thread with no messages which has no important impact and could even be periodically cleaned if necessary.

Note that this commit also moves message actions to .gjs as it was the original goal of this PR to correctly check for staged thread to show the menu or not.
2023-09-15 18:09:45 +02:00
..
admin FEATURE: Export chat messages to CSV file (#22113) 2023-06-21 16:13:36 +04:00
chat DEV: removes the notion of staged thread (#23612) 2023-09-15 18:09:45 +02:00
core_ext FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00
chat_controller_spec.rb DEV: Migrate Chat::MessageCreator to a service (#22390) 2023-09-07 08:57:29 +02:00
direct_messages_controller_spec.rb DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
emojis_controller_spec.rb