discourse/plugins/chat
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
..
app FIX: nullifies target message id when not readable (#24540) 2023-11-24 11:46:00 +01:00
assets FEATURE: Add threads support to chat archives (#24325) 2023-11-27 15:47:35 +01:00
config FEATURE: Add threads support to chat archives (#24325) 2023-11-27 15:47:35 +01:00
db FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00
lib FEATURE: Add threads support to chat archives (#24325) 2023-11-27 15:47:35 +01:00
public
spec FEATURE: Add threads support to chat archives (#24325) 2023-11-27 15:47:35 +01:00
test/javascripts DEV: Consistently use kebab-case in service lookups (#24552) 2023-11-25 18:10:10 +01:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00
plugin.rb FEATURE: implements drafts for threads (#24483) 2023-11-22 11:54:23 +01:00

README.md

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.