discourse/plugins
Joffrey JAFFEUX 906caa63d7
FEATURE: implements drafts for threads (#24483)
This commit implements drafts for threads by adding a new `thread_id` column to `chat_drafts` table. This column is used to create draft keys on the frontend which are a compound key of the channel and the thread. If the draft is only for the channel, the key will be `c-${channelId}`, if for a thread: `c-${channelId}:t-${threadId}`.

This commit also moves the draft holder from the service to the channel or thread model. The current draft can now always be accessed by doing: `channel.draft` or `thread.draft`.

Other notable changes of this commit:
- moves ChatChannel to gjs
- moves ChatThread to gjs
2023-11-22 11:54:23 +01:00
..
chat FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
checklist FEATURE: Admin plugin list redesign (#24363) 2023-11-21 09:37:11 +10:00
discourse-details DEV: remove markdown-it-bundle and custom build code (#23859) 2023-11-06 16:59:49 +00:00
discourse-lazy-videos FIX: Add rel=0 to youtube lazy videos url (#24173) 2023-10-31 08:04:23 -03:00
discourse-local-dates DEV: Remove unnecessary fab! blocks (#24419) 2023-11-16 13:22:08 -05:00
discourse-narrative-bot DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
discourse-presence DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
footnote FEATURE: Admin plugin list redesign (#24363) 2023-11-21 09:37:11 +10:00
poll Update translations (#24485) 2023-11-21 14:36:16 +01:00
spoiler-alert FEATURE: Admin plugin list redesign (#24363) 2023-11-21 09:37:11 +10:00
styleguide FEATURE: Admin plugin list redesign (#24363) 2023-11-21 09:37:11 +10:00