discourse/plugins/chat/test/javascripts/unit/services
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
..
chat-channel-info-route-origin-manager-test.js
chat-drafts-manager-test.js FIX: improves draft for channels (#21724) 2023-05-24 15:36:46 +02:00
chat-drawer-size-test.js FEATURE: resizeable chat drawer (#20160) 2023-02-03 15:11:12 +01:00
chat-emoji-picker-manager-test.js DEV: Refactoring chat message actions for ChatMessage component usage in thread panel (#20756) 2023-04-06 15:19:52 +02:00
chat-guardian-test.js DEV: various improvements to devex on chat (#21612) 2023-05-17 17:49:52 +02:00
chat-state-manager-test.js FIX: Improve chat route cleanup (#20557) 2023-04-26 18:18:23 +02:00