From d7d7bee68542854aaec5717b37fbc7dcc2d5b2f7 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 22 Dec 2022 12:16:05 +0000 Subject: [PATCH 01/16] Remove the overflow menu button in fullscreen mode It didn't work and fixing it is a bit of a project: see comment https://github.com/vector-im/element-call/issues/807 --- src/room/InCallView.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index e773b454..85d99206 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -377,14 +377,16 @@ export function InCallView({ onPress={toggleScreensharing} /> )} - + {!maximisedParticipant && ( + + )} ); From de0f2e65a51642268d4ff0008da5e5428f802edc Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 22 Dec 2022 14:12:49 +0000 Subject: [PATCH 02/16] Don't show option to submit bug reports if no endpoint configured --- src/FullScreenView.tsx | 7 +++++-- src/room/OverflowMenu.tsx | 11 +++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/FullScreenView.tsx b/src/FullScreenView.tsx index 4d4739c4..11c5e2a3 100644 --- a/src/FullScreenView.tsx +++ b/src/FullScreenView.tsx @@ -9,6 +9,7 @@ import { useSubmitRageshake } from "./settings/submit-rageshake"; import { ErrorMessage } from "./input/Input"; import styles from "./FullScreenView.module.css"; import { translatedError, TranslatedError } from "./TranslatedError"; +import { Config } from "./config/Config"; interface FullScreenViewProps { className?: string; @@ -98,7 +99,7 @@ export function CrashView() { logsComponent =
{t("Thanks! We'll get right on it.")}
; } else if (sending) { logsComponent =
{t("Sending…")}
; - } else { + } else if (Config.get().rageshake?.submit_url) { logsComponent = (