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
..
2023-11-09 16:47:59 -06:00
2023-11-20 17:22:14 +01:00
2023-11-06 15:45:30 +01:00
2023-10-09 07:24:10 +08:00
2023-11-17 18:05:38 +01:00
2023-11-07 11:34:35 +01:00
2023-07-27 09:57:03 +02:00
2023-08-31 11:21:23 +02:00
2023-11-15 10:14:47 +00:00
2023-10-11 12:19:30 +02:00
2023-08-31 11:21:23 +02:00
2023-11-10 11:29:28 +01:00
2023-11-09 16:47:59 -06:00
2023-11-06 15:45:30 +01:00
2023-06-07 09:26:58 +08:00
2023-07-13 10:00:25 +02:00
2023-11-10 11:29:28 +01:00
2023-07-24 11:13:57 +02:00
2023-11-13 10:46:15 -05:00
2023-08-21 16:31:58 +02:00
2023-11-07 11:34:35 +01:00
2023-11-22 11:54:23 +01:00
2023-08-28 12:59:22 +08:00
2023-11-13 22:03:47 +01:00
2023-06-07 09:26:58 +08:00
2023-11-20 17:22:14 +01:00
2023-06-07 09:26:58 +08:00
2023-07-26 12:46:23 +02:00
2023-07-27 09:57:03 +02:00
2023-11-06 15:45:30 +01:00
2023-11-07 11:34:35 +01:00
2023-06-07 09:26:58 +08:00
2023-11-10 11:29:28 +01:00
2023-11-06 15:45:30 +01:00
2023-10-04 16:14:37 +02:00
2023-11-09 16:47:59 -06:00
2023-10-24 18:51:33 +02:00
2023-06-07 09:26:58 +08:00
2023-08-22 15:54:35 -05:00
2023-11-06 15:45:30 +01:00
2023-11-06 15:45:30 +01:00
2023-11-06 15:45:30 +01:00
2023-11-07 11:34:35 +01:00
2023-06-07 09:26:58 +08:00
2023-07-10 13:43:33 +02:00
2023-11-09 16:47:59 -06:00
2023-09-26 13:39:52 +02:00
2023-06-07 09:26:58 +08:00
2023-07-14 08:26:18 +02:00
2023-10-04 16:14:37 +02:00
2023-06-07 09:26:58 +08:00
2023-07-06 21:42:19 +02:00
2023-08-24 18:21:28 +02:00
2023-07-11 09:40:37 +08:00
2023-11-09 16:47:59 -06:00
2023-06-07 09:26:58 +08:00
2023-08-31 11:21:23 +02:00
2023-11-07 11:34:35 +01:00
2023-11-09 16:47:59 -06:00
2023-08-21 16:31:58 +02:00
2023-06-07 09:26:58 +08:00
2023-11-02 19:22:59 +08:00
2023-07-10 14:04:26 +02:00
2023-08-23 13:06:29 +02:00
2023-07-05 21:01:23 +02:00
2023-11-09 16:47:59 -06:00