From b28ca9bca2458f476114414ac430a5484d9f231b Mon Sep 17 00:00:00 2001 From: Gagan Suie Date: Wed, 13 Dec 2023 19:16:25 -0600 Subject: [PATCH 1/2] Fix: websocket reconnection and channel edit issues --- .../Channel/Chat/DrawerEditChannel.svelte | 2 +- .../Channel/Stream/StreamContainer.svelte | 8 +- .../Channel/Stream/StreamControls.svelte | 203 ++++++++---------- .../Channel/Stream/VideoItem.svelte | 56 +++-- src/lib/components/Global/DrawerMain.svelte | 4 +- src/lib/stores/streamStore.ts | 18 +- src/lib/stores/userStore.ts | 2 +- src/lib/websocket.ts | 1 + src/routes/+layout.svelte | 6 +- .../channel/[channelId]/+page.server.ts | 6 +- src/routes/channel/[channelId]/+page.svelte | 38 ++-- 11 files changed, 148 insertions(+), 196 deletions(-) diff --git a/src/lib/components/Channel/Chat/DrawerEditChannel.svelte b/src/lib/components/Channel/Chat/DrawerEditChannel.svelte index be68afb1..8366b0ee 100644 --- a/src/lib/components/Channel/Chat/DrawerEditChannel.svelte +++ b/src/lib/components/Channel/Chat/DrawerEditChannel.svelte @@ -1,6 +1,6 @@