feat(dashboard): Notifications & sound settings panel (fa/en/ar)
CI/CD / CI · API (dotnet build + test) (push) Successful in 1m5s
CI/CD / CI · Admin API (dotnet build) (push) Successful in 30s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m9s
CI/CD / CI · Admin Web (tsc) (push) Successful in 39s
CI/CD / CI · Website (tsc) (push) Successful in 46s
CI/CD / CI · Koja (tsc) (push) Successful in 50s
CI/CD / Deploy · all services (push) Successful in 3m46s

New Settings → "Notifications & sound" leaf to make the alert channels
changeable: toggle sound (+ picker with live preview + volume slider),
enable desktop notifications (permission flow + test button), toggle the
tab unread badge and in-app toasts. Strings added for fa/en/ar.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-21 05:08:39 +03:30
parent 149a4d88cd
commit 170a9aa7ac
6 changed files with 337 additions and 0 deletions
+34
View File
@@ -1272,6 +1272,7 @@
"shop": "Shop & café",
"shopGeneral": "Profile & integrations",
"shopAppearance": "Appearance & colors",
"shopNotifications": "Notifications & sound",
"printer": "Printer",
"printerSettings": "Printer settings",
"printTest": "Print test page",
@@ -1279,6 +1280,39 @@
"team": "Team & Staff",
"customRoles": "Custom Roles"
},
"notifPrefs": {
"soundSection": "Sound",
"soundEnabled": "Play a sound for new notifications",
"soundEnabledHint": "Chimes when a new order, waiter call, or alert arrives.",
"soundChoice": "Notification sound",
"preview": "Preview",
"volume": "Volume",
"soundClassic": "Classic",
"soundDing": "Ding",
"soundBell": "Bell",
"soundChime": "Chime",
"soundMarimba": "Marimba",
"soundAlert": "Alert",
"desktopSection": "Desktop notifications",
"desktopHint": "Show a Windows/desktop popup even when the dashboard is in another tab or minimized.",
"enableDesktop": "Enable desktop notifications",
"desktopEnabled": "Desktop popups",
"desktopEnabledHint": "Pop up only when this tab is not focused.",
"desktopGranted": "Desktop notifications enabled",
"desktopDenied": "Permission denied by the browser",
"desktopBlocked": "Notifications are blocked for this site. Allow them in your browser's site settings, then reload.",
"desktopUnsupported": "This browser does not support desktop notifications.",
"desktopFocusNote": "A test popup only appears if you switch to another window first.",
"sendTest": "Send a test notification",
"testTitle": "Meezi",
"testBody": "This is a test notification.",
"testToast": "Test sent",
"inAppSection": "In-app",
"tabBadge": "Unread count on the browser tab",
"tabBadgeHint": "Shows the number of unread notifications in the tab title and favicon.",
"toast": "In-app toast",
"toastHint": "Show a small banner inside the dashboard for new notifications."
},
"customRoles": {
"title": "Custom Roles",
"subtitle": "Define roles with tailored permissions for your staff",