Update welcome copy and mute invalid-login error beep

This commit is contained in:
Jage9
2026-02-24 23:49:07 -05:00
parent f1a7cbf468
commit 946f7c44c7
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
// Maintainer-controlled web client version.
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
window.CHGRID_WEB_VERSION = "2026.02.25 R253";
window.CHGRID_WEB_VERSION = "2026.02.25 R254";
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
window.CHGRID_TIME_ZONE = "America/Detroit";

View File

@@ -1459,7 +1459,9 @@ async function handleAuthResult(message: Extract<IncomingMessage, { type: 'auth_
settings.saveAuthSessionToken('');
}
setConnectionStatus(message.message);
if (message.message.trim().toLowerCase() !== 'invalid username or password.') {
audio.sfxUiCancel();
}
mediaSession.setConnecting(false);
updateConnectAvailability();
signaling.disconnect();
@@ -2681,5 +2683,5 @@ updateDeviceSummary();
setConnectionStatus(
isVersionReloadedSession()
? 'Client updated, please reconnect.'
: 'Welcome to the Chat Grid. Log in or register, configure audio if needed, then Connect to join the grid.',
: 'Welcome to the Chat Grid, your immersive audio playground. Configure your audio, then Log in or register to join the grid.',
);