discourse/plugins/chat/spec
Jan Cernik ac9e804dbe
FEATURE: Add threads support to chat archives (#24325)
This PR introduces thread support for channel archives. Now, threaded messages are rendered inside a `details` HTML tag in posts.

The transcript markdown rules now support two new attributes: `threadId` and `threadTitle`.

- If `threadId` is present, all nested `chat` tags are rendered inside the first one.
- `threadTitle` (optional) defines the summary content.

```
[chat threadId=19 ... ]
thread OM

  [chat ... ]
  thread reply
  [/chat]

[/chat]
```

If threads are split across multiple posts when archiving, the range of messages in each part will be displayed alongside the thread title. For example: `(message 1 to 16 of 20)` and `(message 17 to 20 of 20)`.
2023-11-27 15:47:35 +01:00
..
components/chat FEATURE: add grace period for chat edits (#23800) 2023-10-23 16:40:30 +08:00
fabricators DEV: uses alphanumeric to avoid flakey specs (#24344) 2023-11-13 14:54:26 +01:00
integration DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
jobs DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
lib FEATURE: Add threads support to chat archives (#24325) 2023-11-27 15:47:35 +01:00
mailers FIX: correctly uses private_email site setting in chat (#24528) 2023-11-23 15:54:22 +01:00
models DEV: Modernise highlightjs loading (#24197) 2023-11-10 20:39:48 +00:00
policies/chat/channel DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
queries/chat DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
requests FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
serializer DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
services FIX: nullifies target message id when not readable (#24540) 2023-11-24 11:46:00 +01:00
support FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
system FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
plugin_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00