discourse/plugins/chat/test/javascripts/unit
Joffrey JAFFEUX 4de1d3952b
FIX: improves draft for channels (#21724)
This commit attempts to correctly change draft when the channel changes. It moves responsibility to the composer instead of the channel.

A new service `chatDraftsManager` is being introduced here to allow finer control and pave the way for future thread draft support.

These changes also now allow an editing message to be stored as a draft.
2023-05-24 15:36:46 +02:00
..
helpers DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
lib DEV: Remove defunct TODOs (#19825) 2023-01-12 09:41:39 +10:00
services FIX: improves draft for channels (#21724) 2023-05-24 15:36:46 +02:00