Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🐛(frontend) show join errors instead of silently waiting in the lobby

briquet6f1b9ddba7a9
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 75a0add8..a0b21f4e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -30,6 +30,7 @@ and this project adheres to
- 🐛(frontend) show a page when the connection ends unexpectedly
- 🐛(frontend) show the transcript mic hint when every mic is muted
+- 🐛(frontend) show join errors instead of silently waiting in the lobby
- 🐛(frontend) send users who cannot enter directly back to the lobby
## [1.37.0] - 2026-11-01
diff --git a/src/frontend/src/features/rooms/components/Lobby.tsx b/src/frontend/src/features/rooms/components/Lobby.tsx
index c844f1d8..676ba021 100644
--- a/src/frontend/src/features/rooms/components/Lobby.tsx
+++ b/src/frontend/src/features/rooms/components/Lobby.tsx
@@ -96,6 +96,7 @@ export const Lobby = ({
const isRoomDeleted = isError && error?.statusCode == 410
const lobbyStatus = isRoomDeleted ? ApiLobbyStatus.DELETED : status
+ const hasJoinFailed = isError && !isRoomDeleted && error?.statusCode != 404
const handleSubmit = () => {
join(
@@ -111,12 +112,6 @@ export const Lobby = ({
}
startWaiting()
},
- onError: ({ statusCode }) => {
- // 404 enters the room and creates it
- // 410 shows the deleted room screen
- // Any other error falls back to the lobby
- if (statusCode != 404 && statusCode != 410) startWaiting()
- },
}
)
}
@@ -176,6 +171,11 @@ export const Lobby = ({
maxLength={50}
/>
)}
+ {hasJoinFailed && (
+ <Text variant="warning" role="alert" margin={false} centered>
+ {t('errors.joinFailed')}
+ </Text>
+ )}
</VStack>
</Form>
)
diff --git a/src/frontend/src/locales/de/rooms.json b/src/frontend/src/locales/de/rooms.json
index e4bb74c2..02aca702 100644
--- a/src/frontend/src/locales/de/rooms.json
+++ b/src/frontend/src/locales/de/rooms.json
@@ -70,6 +70,7 @@
"usernameHint": "Wird anderen Teilnehmenden angezeigt",
"usernameLabel": "Dein Name",
"errors": {
+ "joinFailed": "Beitritt zum Meeting nicht möglich. Bitte versuche es erneut.",
"usernameEmpty": "Dein Name darf nicht leer sein"
},
"cameraDisabled": "Kamera ist deaktiviert.",
diff --git a/src/frontend/src/locales/en/rooms.json b/src/frontend/src/locales/en/rooms.json
index 48a72dbd..44d06011 100644
--- a/src/frontend/src/locales/en/rooms.json
+++ b/src/frontend/src/locales/en/rooms.json
@@ -70,6 +70,7 @@
"usernameHint": "Shown to other participants",
"usernameLabel": "Your name",
"errors": {
+ "joinFailed": "Unable to join the meeting. Please try again.",
"usernameEmpty": "Your name cannot be empty"
},
"cameraDisabled": "Camera is disabled.",
diff --git a/src/frontend/src/locales/es/rooms.json b/src/frontend/src/locales/es/rooms.json
index 4c2bcadb..f6394ea3 100644
--- a/src/frontend/src/locales/es/rooms.json
+++ b/src/frontend/src/locales/es/rooms.json
@@ -70,6 +70,7 @@
"usernameHint": "Se muestra a los demás participantes",
"usernameLabel": "Tu nombre",
"errors": {
+ "joinFailed": "No se ha podido acceder a la reunión. Inténtalo de nuevo.",
"usernameEmpty": "Tu nombre no puede estar vacío"
},
"cameraDisabled": "La cámara está desactivada.",
diff --git a/src/frontend/src/locales/fr/rooms.json b/src/frontend/src/locales/fr/rooms.json
index 807aff2f..e6ddb238 100644
--- a/src/frontend/src/locales/fr/rooms.json
+++ b/src/frontend/src/locales/fr/rooms.json
@@ -70,6 +70,7 @@
"usernameHint": "Affiché aux autres participants",
"usernameLabel": "Votre nom",
"errors": {
+ "joinFailed": "Impossible de rejoindre la réunion. Veuillez réessayer.",
"usernameEmpty": "Votre nom ne peut pas être vide"
},
"cameraDisabled": "La caméra est désactivée.",
diff --git a/src/frontend/src/locales/nl/rooms.json b/src/frontend/src/locales/nl/rooms.json
index 2fca2d20..9991d532 100644
--- a/src/frontend/src/locales/nl/rooms.json
+++ b/src/frontend/src/locales/nl/rooms.json
@@ -70,6 +70,7 @@
"usernameHint": "Getoond aan andere deelnemers",
"usernameLabel": "Uw naam",
"errors": {
+ "joinFailed": "Deelnemen aan de vergadering is niet gelukt. Probeer het opnieuw.",
"usernameEmpty": "Uw naam kan niet leeg zijn"
},
"cameraDisabled": "Camera is uitgeschakeld.",