From 3b522f406c477d37dbe9a5b3d0741a0a1832d4e6 Mon Sep 17 00:00:00 2001 From: matthias Date: Tue, 22 Aug 2023 09:28:16 +0200 Subject: [PATCH 1/2] Remove hardcoded stream-id (#1130) * Remove hardcoded stream-id * Move init to video-information * Fix websocket for popup chat --- web/template/popup-chat.gohtml | 2 +- web/template/watch.gohtml | 2 +- web/ts/api/chat-ws.ts | 2 +- web/ts/components/popup.ts | 11 +++++++++++ web/ts/components/video-information.ts | 4 +++- web/ts/components/video-interaction.ts | 1 + web/ts/entry/interactions.ts | 1 + 7 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 web/ts/components/popup.ts diff --git a/web/template/popup-chat.gohtml b/web/template/popup-chat.gohtml index a4814fd2b..fce4c6638 100644 --- a/web/template/popup-chat.gohtml +++ b/web/template/popup-chat.gohtml @@ -17,6 +17,6 @@ - + {{template "chat-component" .}} diff --git a/web/template/watch.gohtml b/web/template/watch.gohtml index 32f7dfefb..9330da3da 100644 --- a/web/template/watch.gohtml +++ b/web/template/watch.gohtml @@ -87,7 +87,7 @@
-
Date: Tue, 22 Aug 2023 10:11:43 +0200 Subject: [PATCH 2/2] Add my courses list to start page (#1128) --- web/template/home.gohtml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/web/template/home.gohtml b/web/template/home.gohtml index 13a5f0513..abddff374 100644 --- a/web/template/home.gohtml +++ b/web/template/home.gohtml @@ -697,6 +697,40 @@ + + +