discourse/plugins/chat/test/javascripts/unit
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
..
helpers DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
lib FIX: incorrect chat message reaction text (#23260) 2023-08-25 15:20:56 +02:00
models DEV: removes the notion of staged thread (#23612) 2023-09-15 18:09:45 +02:00
services FIX: improves draft for channels (#21724) 2023-05-24 15:36:46 +02:00
utility FEATURE: thread pagination (#22624) 2023-07-27 09:57:03 +02:00