Announce yes-no choice labels while navigating confirmations

This commit is contained in:
Jage9
2026-02-28 20:15:15 -05:00
parent 83b7e1f9ce
commit 04eb5b26ef
2 changed files with 3 additions and 1 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.03.01 R321";
window.CHGRID_WEB_VERSION = "2026.03.01 R322";
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
window.CHGRID_TIME_ZONE = "America/Detroit";

View File

@@ -2988,6 +2988,7 @@ function handleConfirmYesNoModeInput(code: string, key: string): void {
const control = handleYesNoMenuInput(code, key, itemManagementConfirmIndex);
if (control.type === 'move') {
itemManagementConfirmIndex = control.index;
updateStatus(YES_NO_OPTIONS[itemManagementConfirmIndex].label);
audio.sfxUiBlip();
return;
}
@@ -3302,6 +3303,7 @@ function handleAdminUserDeleteConfirmModeInput(code: string, key: string): void
const control = handleYesNoMenuInput(code, key, adminDeleteConfirmIndex);
if (control.type === 'move') {
adminDeleteConfirmIndex = control.index;
updateStatus(YES_NO_OPTIONS[adminDeleteConfirmIndex].label);
audio.sfxUiBlip();
return;
}