From 25b3b0415b4826003926654ac96ed5cdef13b5f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Sch=C3=B6nberger?= <82521952+JosefSchoenberger@users.noreply.github.com> Date: Mon, 8 Jan 2024 18:02:08 +0100 Subject: [PATCH 01/15] Fix popup chat button with URL parameters (#1294) --- web/ts/components/chat-prompt.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/ts/components/chat-prompt.ts b/web/ts/components/chat-prompt.ts index 9ed6fbda6..e4c7ccabf 100644 --- a/web/ts/components/chat-prompt.ts +++ b/web/ts/components/chat-prompt.ts @@ -120,8 +120,9 @@ export function chatPromptContext(streamId: number): AlpineComponent { openPopOut() { const height = window.innerHeight * 0.8; + const location = window.location; window.open( - `${window.location.href}/chat/popup`, + `${location.origin}${location.pathname}/chat/popup${location.search}${location.hash}`, "tumlive-popout", `popup=yes,width=420,innerWidth=420,height=${height},innerHeight=${height}`, ); From d6012c7cc00f4f2d9cb5953c1d9685733dca77b2 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 10 Jan 2024 15:44:49 +0100 Subject: [PATCH 02/15] Fixed bug with long course titles (#1304) --- web/template/home.gohtml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/web/template/home.gohtml b/web/template/home.gohtml index 114b6fd55..395aa4f2c 100644 --- a/web/template/home.gohtml +++ b/web/template/home.gohtml @@ -476,11 +476,14 @@
-
+
From 7a7cfabfcdff8b30ef168e1e969eae32e62831f5 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 10 Jan 2024 16:17:42 +0100 Subject: [PATCH 03/15] Added skip silence hotkey (#1303) Added hotkey for skipping silence --- web/ts/hotkeys.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/ts/hotkeys.ts b/web/ts/hotkeys.ts index 66cf06e36..71ba5f82b 100644 --- a/web/ts/hotkeys.ts +++ b/web/ts/hotkeys.ts @@ -170,6 +170,10 @@ export const defaultOptions = { match: ["End"], handle: handleSeekTo(1), }, + skipSilence: { + match: ["s", "S"], + handle: handleWithClick("SkipSilenceToggle"), + }, } as Hotkeys, }; From f7fe0dca0691fe40ef1bdd16352f5f53310e9b99 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 11 Jan 2024 00:28:25 +0100 Subject: [PATCH 04/15] 1182 more replayplayback speed options (#1282) * Minor changes in user-settings, still some errors in removing parts * Added custom setting to add custom speeds for playback and implemented these into video player * Minor changes in user-settings, still some errors in removing parts * Added custom setting to add custom speeds for playback and implemented these into video player * Added hard maximum of 3 custom speeds * Lint fix * Golangci lint fix * Added comment --- web/template/user-settings.gohtml | 8 +++++--- web/ts/user-settings.ts | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/template/user-settings.gohtml b/web/template/user-settings.gohtml index 7a528301e..7a2de0242 100644 --- a/web/template/user-settings.gohtml +++ b/web/template/user-settings.gohtml @@ -90,7 +90,7 @@
-

Custom Speeds

+

Custom Speeds (up to 3)