Commit 860a9f8
committed
[v3.1.1] (Aug 17 2022) (#272)
Features:
* Add channel handlers to the open channel settings
* Add an open channel handler into the OpenChannelSettings component
* Use operators property to render operator list on the OpenChannelSetting
instead of fetching operators
* Export handlers through `@sendbird/uikit-react/handlers`, this is a workaround
to fix an issue where inhertiance chains break custom handler implementation
* ConnectionHandler -> `@sendbird/uikit-react/handlers/ConnectionHandler`
* GroupChannelHandler -> `@sendbird/uikit-react/handlers/GroupChannelHandler`
* OpenChannelHandler -> `@sendbird/uikit-react/handlers/OpenChannelHandler`
* UserEventHandler -> `@sendbird/uikit-react/handlers/UserEventHandler`
* Example: https://codesandbox.io/s/test-3-1-1-rc-5-f94w7i
Fixes:
* Update SendableMessage to UserMessage and FileMessage
* Change the type of MessageHandler.onFailed to FailedMessageHandler
* Add missing type defns into scripts/index_d_ts
* Typo in creating channelHandlerId on the ChannelList1 parent 029fb2a commit 860a9f8
3 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
3 | 24 | | |
4 | 25 | | |
5 | 26 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments