discourse/plugins/chat
Joffrey JAFFEUX b9282faa02 dev: d-multi-select and chat-channel-multi-select
Implement a new component called `d-multi-select` which allows to select multiple items.

It has the following features:
- accepts a `loadFn` to load data
- yield result to customise results
- yield selection to customise selection

Usage:

```gjs
 <DMultiSelect
  @loadFn={{this.loadData}}
  @onChange={{this.onChange}}
  @selection={{this.selection}}
>
  <:selection as |item|>{{item.name}}</:selection>
  <:result as |result|>{{result.name}}</:result>
</DMultiSelect>

```gjs
<ChatChannelMultiSelect
  @onChange={{fn (mut this.selectedChannels)}}
  @initialIds={{array 2}}
  @selection={{this.selectedChannels}}
>
    <:selection as |item|>{{item.name}}</:selection>
    <:result as |result|>{{result.name}}</:result>
</ChatChannelMultiSelect>
2025-05-17 22:53:43 +02:00
..
admin/assets/javascripts DEV: [gjs-codemod] apply codemod 2025-04-02 13:44:15 +01:00
app dev: d-multi-select and chat-channel-multi-select 2025-05-17 22:53:43 +02:00
assets dev: d-multi-select and chat-channel-multi-select 2025-05-17 22:53:43 +02:00
config Update translations (#32703) 2025-05-14 14:34:07 +02:00
db FEATURE: One-click chat reaction settings (#32150) 2025-04-04 09:15:13 +02:00
lib dev: d-multi-select and chat-channel-multi-select 2025-05-17 22:53:43 +02:00
public
spec dev: d-multi-select and chat-channel-multi-select 2025-05-17 22:53:43 +02:00
test/javascripts dev: d-multi-select and chat-channel-multi-select 2025-05-17 22:53:43 +02:00
plugin.rb FEATURE: One-click chat reaction settings (#32150) 2025-04-04 09:15:13 +02:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

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.