diff --git a/package.json b/package.json
index 5934f89f..74f15cd8 100644
--- a/package.json
+++ b/package.json
@@ -55,7 +55,7 @@
"i18next": "^21.10.0",
"i18next-browser-languagedetector": "^6.1.8",
"i18next-http-backend": "^1.4.4",
- "livekit-client": "1.12.0",
+ "livekit-client": "1.12.1",
"lodash": "^4.17.21",
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#b698217445318f453e0b1086364a33113eaa85d9",
"matrix-widget-api": "^1.3.1",
@@ -83,12 +83,12 @@
"@storybook/react": "^6.5.0-alpha.5",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
- "@types/node": "^18.13.0",
- "@types/request": "^2.48.8",
"@types/content-type": "^1.1.5",
"@types/dom-screen-wake-lock": "^1.0.1",
"@types/grecaptcha": "^3.0.4",
+ "@types/node": "^18.13.0",
"@types/react-router-dom": "^5.3.3",
+ "@types/request": "^2.48.8",
"@types/sdp-transform": "^2.4.5",
"@types/uuid": "9",
"@typescript-eslint/eslint-plugin": "^6.1.0",
diff --git a/public/locales/de/app.json b/public/locales/de/app.json
index 99866dc5..60d68ea1 100644
--- a/public/locales/de/app.json
+++ b/public/locales/de/app.json
@@ -116,5 +116,6 @@
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)2>": "Mit einem Klick auf „Anruf beitreten“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)2>",
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)2>": "Mit einem Klick auf „Los geht’s“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)2>",
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy2> and <6>Terms of Service6> apply.<9>9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)12>": "Diese Seite wird durch reCAPTCHA geschützt und es gelten Googles <2>Datenschutzerklärung2> und <6>Nutzungsbedingungen6>. <9>9>Mit einem Klick auf „Registrieren“ akzeptierst du unseren <2>Endbenutzer-Lizenzvertrag (EULA)2>",
- "Element Call is temporarily not end-to-end encrypted while we test scalability.": "Element Call ist temporär nicht Ende-zu-Ende-verschlüsselt, während wir die Skalierbarkeit testen."
+ "Element Call is temporarily not end-to-end encrypted while we test scalability.": "Element Call ist temporär nicht Ende-zu-Ende-verschlüsselt, während wir die Skalierbarkeit testen.",
+ "Connectivity to the server has been lost.": "Die Verbindung zum Server wurde getrennt."
}
diff --git a/public/locales/en-GB/app.json b/public/locales/en-GB/app.json
index d697a70d..34d84534 100644
--- a/public/locales/en-GB/app.json
+++ b/public/locales/en-GB/app.json
@@ -39,6 +39,7 @@
"Download debug logs": "Download debug logs",
"Element Call Home": "Element Call Home",
"Element Call is temporarily not end-to-end encrypted while we test scalability.": "Element Call is temporarily not end-to-end encrypted while we test scalability.",
+ "Enable end-to-end encryption (password protected calls)": "Enable end-to-end encryption (password protected calls)",
"Exit full screen": "Exit full screen",
"Expose developer settings in the settings window.": "Expose developer settings in the settings window.",
"Feedback": "Feedback",
@@ -73,13 +74,16 @@
"Not registered yet? <2>Create an account2>": "Not registered yet? <2>Create an account2>",
"Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}1>": "Other users are trying to join this call from incompatible versions. These users should ensure that they have refreshed their browsers:<1>{userLis}1>",
"Password": "Password",
+ "Password (if none, E2EE is disabled)": "Password (if none, E2EE is disabled)",
"Passwords must match": "Passwords must match",
"Profile": "Profile",
"Recaptcha dismissed": "Recaptcha dismissed",
"Recaptcha not loaded": "Recaptcha not loaded",
+ "Reconnect": "Reconnect",
"Register": "Register",
"Registering…": "Registering…",
"Remove": "Remove",
+ "Retry sending logs": "Retry sending logs",
"Return to home screen": "Return to home screen",
"Select an option": "Select an option",
"Send debug logs": "Send debug logs",
@@ -99,7 +103,7 @@
"Submitting…": "Submitting…",
"Take me Home": "Take me Home",
"Thanks, we received your feedback!": "Thanks, we received your feedback!",
- "Thanks! We'll get right on it.": "Thanks! We'll get right on it.",
+ "Thanks!": "Thanks!",
"This call already exists, would you like to join?": "This call already exists, would you like to join?",
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy2> and <6>Terms of Service6> apply.<9>9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)12>": "This site is protected by ReCAPTCHA and the Google <2>Privacy Policy2> and <6>Terms of Service6> apply.<9>9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)12>",
"Turn off camera": "Turn off camera",
@@ -116,6 +120,7 @@
"Walkie-talkie call name": "Walkie-talkie call name",
"WebRTC is not supported or is being blocked in this browser.": "WebRTC is not supported or is being blocked in this browser.",
"Yes, join call": "Yes, join call",
+ "You were disconnected from the call": "You were disconnected from the call",
"Your feedback": "Your feedback",
"Your recent calls": "Your recent calls"
}
diff --git a/public/locales/et/app.json b/public/locales/et/app.json
index d8659dbf..8d934ccc 100644
--- a/public/locales/et/app.json
+++ b/public/locales/et/app.json
@@ -116,5 +116,6 @@
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)2>": "Klõpsides „Jätka“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)2>",
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)2>": "Klõpsides „Liitu kõnega kohe“, nõustud sa meie <2>Lõppkasutaja litsentsilepinguga (EULA)2>",
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy2> and <6>Terms of Service6> apply.<9>9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)12>": "Selles saidis on kasutusel ReCAPTCHA ja kehtivad Google'i <2>Privaatsuspoliitika2> ning <6>Teenusetingimused6>.<9>9>Klõpsides „Registreeru“, sa nõustud meie <12>Lõppkasutaja litsentsilepingu (EULA) tingimustega12>",
- "Element Call is temporarily not end-to-end encrypted while we test scalability.": "Seni kuni me testime skaleeritavust, siis Element Call ajutiselt pole läbivalt krüptitud."
+ "Element Call is temporarily not end-to-end encrypted while we test scalability.": "Seni kuni me testime skaleeritavust, siis Element Call ajutiselt pole läbivalt krüptitud.",
+ "Connectivity to the server has been lost.": "Võrguühendus serveriga on katkenud."
}
diff --git a/public/locales/sk/app.json b/public/locales/sk/app.json
index 6f588a91..52668084 100644
--- a/public/locales/sk/app.json
+++ b/public/locales/sk/app.json
@@ -116,5 +116,6 @@
"By clicking \"Join call now\", you agree to our <2>End User Licensing Agreement (EULA)2>": "Kliknutím na \"Pripojiť sa k hovoru teraz\" súhlasíte s našou <2>Licenčnou zmluvou s koncovým používateľom (EULA)2>",
"By clicking \"Go\", you agree to our <2>End User Licensing Agreement (EULA)2>": "Kliknutím na tlačidlo \"Prejsť\" vyjadrujete súhlas s našou <2>Licenčnou zmluvou s koncovým používateľom (EULA)2>",
"This site is protected by ReCAPTCHA and the Google <2>Privacy Policy2> and <6>Terms of Service6> apply.<9>9>By clicking \"Register\", you agree to our <12>End User Licensing Agreement (EULA)12>": "Táto stránka je chránená systémom ReCAPTCHA a platia na ňu <2>Pravidlá ochrany osobných údajov spoločnosti Google2> a <6>Podmienky poskytovania služieb6>.<9>9>Kliknutím na tlačidlo \"Registrovať sa\" súhlasíte s našou <12>Licenčnou zmluvou s koncovým používateľom (EULA)12>",
- "Element Call is temporarily not end-to-end encrypted while we test scalability.": "Element Call nie je dočasne šifrovaný, kým testujeme škálovateľnosť."
+ "Element Call is temporarily not end-to-end encrypted while we test scalability.": "Element Call nie je dočasne šifrovaný, kým testujeme škálovateľnosť.",
+ "Connectivity to the server has been lost.": "Spojenie so serverom sa stratilo."
}
diff --git a/src/FullScreenView.tsx b/src/FullScreenView.tsx
index cdbc0297..4b9a1e2b 100644
--- a/src/FullScreenView.tsx
+++ b/src/FullScreenView.tsx
@@ -22,11 +22,10 @@ import * as Sentry from "@sentry/react";
import { Header, HeaderLogo, LeftNav, RightNav } from "./Header";
import { LinkButton, Button } from "./button";
-import { useSubmitRageshake } from "./settings/submit-rageshake";
-import { ErrorMessage } from "./input/Input";
import styles from "./FullScreenView.module.css";
-import { translatedError, TranslatedError } from "./TranslatedError";
+import { TranslatedError } from "./TranslatedError";
import { Config } from "./config/Config";
+import { RageshakeButton } from "./settings/RageshakeButton";
interface FullScreenViewProps {
className?: string;
@@ -99,37 +98,11 @@ export function ErrorView({ error }: ErrorViewProps) {
export function CrashView() {
const { t } = useTranslation();
- const { submitRageshake, sending, sent, error } = useSubmitRageshake();
-
- const sendDebugLogs = useCallback(() => {
- submitRageshake({
- description: "**Soft Crash**",
- sendLogs: true,
- });
- }, [submitRageshake]);
const onReload = useCallback(() => {
window.location.href = "/";
}, []);
- let logsComponent: JSX.Element | null = null;
- if (sent) {
- logsComponent =