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/initializers
Krzysztof Kotlarek 3d5753c42b
FIX: Allow sidebar links to register didInsert actions (#19010)
Previously `this.chatService.appEvents.on(
"chat:user-tracking-state-changed"...)` was registered on constructor and disabled on `willDestroy`. Constructor is evaluated only once, so when the section was collapsed and collapsed then the events were not observed anymore.

didInsert allows evaluating code each time a component is rendered.
2022-11-14 10:36:46 +01:00
..
chat-audio.js FIX: reimplements chat audio into a service (#18983) 2022-11-11 13:11:41 +01:00
chat-decorators.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-keyboard-shortcuts.js REFACTOR: handles every chat resource as an URL (#18961) 2022-11-11 06:39:15 +01:00
chat-plugin-decorators.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-setup.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-sidebar.js FIX: Allow sidebar links to register didInsert actions (#19010) 2022-11-14 10:36:46 +01:00
chat-user-menu.js FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
chat-user-options.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00