mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
REFACTOR: naming and state refactor (#19187)
- better handling of drawer state using chat state manager - removes various float and topic occurrences to use drawer - ensures user can chat before doing a lot of chat setup - fixes a bug which was creating presence errors in tests - removes dead code
This commit is contained in:
@ -32,7 +32,7 @@ module("Discourse Chat | Component | sidebar-channels", function (hooks) {
|
||||
template: hbs`{{sidebar-channels}}`,
|
||||
|
||||
beforeEach() {
|
||||
setupChatStub(this, { fullScreenChatOpen: true });
|
||||
setupChatStub(this, {});
|
||||
},
|
||||
|
||||
afterEach() {
|
||||
@ -48,7 +48,7 @@ module("Discourse Chat | Component | sidebar-channels", function (hooks) {
|
||||
template: hbs`{{sidebar-channels}}`,
|
||||
|
||||
beforeEach() {
|
||||
setupChatStub(this, { userCanChat: false, fullScreenChatOpen: false });
|
||||
setupChatStub(this, { userCanChat: false });
|
||||
},
|
||||
|
||||
afterEach() {
|
||||
|
Reference in New Issue
Block a user