This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/assets/javascripts/discourse
Joffrey JAFFEUX 727100d1e2
DEV: adds a addChatDrawerStateCallback API (#20640)
Usage:

```javascript
api.addChatDrawerStateCallback(({ isDrawerActive, isDrawerExpanded }) => {
  // do something
});
```

Note this commit also uses this new API to add a css class (chat-drawer-active) on the body when the drawer is active.
2023-03-10 18:49:59 +01:00
..
adapters FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00
components FIX: ensures edited message is correctly re-decorated (#20637) 2023-03-10 17:06:13 +01:00
connectors UX: update user chat preference link for new nav (#20518) 2023-03-03 06:50:47 +08:00
controllers DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
helpers DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
initializers DEV: adds a addChatDrawerStateCallback API (#20640) 2023-03-10 18:49:59 +01:00
lib DEV: rework the chat-live-pane (#20519) 2023-03-03 13:09:25 +01:00
models FIX: ensures edited message is correctly re-decorated (#20637) 2023-03-10 17:06:13 +01:00
modifiers/chat FIX: improves unread state precision (#20615) 2023-03-09 19:06:33 +01:00
pre-initializers DEV: adds a addChatDrawerStateCallback API (#20640) 2023-03-10 18:49:59 +01:00
routes PERF: various perf improvements of chat-live-pane (#20563) 2023-03-07 18:55:05 +01:00
services DEV: adds a addChatDrawerStateCallback API (#20640) 2023-03-10 18:49:59 +01:00
templates PERF: various perf improvements of chat-live-pane (#20563) 2023-03-07 18:55:05 +01:00
widgets DEV: Pass messageId as a dynamic segment instead of a query param (#20013) 2023-02-01 12:39:23 -03:00
admin-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-route-map.js FEATURE: Chat side panel with threads initial skeleton (#20209) 2023-02-14 11:38:41 +10:00
preferences-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00