Custom notifications suspend duration UI (#23286)

* Add custom notification suspension dialog

* Improve on the dialog, fix some bugs

* Review changes

* Make Dropdown look like Select

* Review changes

* Remove accidential changes

* Fix file mode

* Update web/src/components/config-form/sectionExtras/NotificationsSettingsExtras.tsx

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* fix llm findings

* fix another llm finding

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Dmytro Marchuk
2026-11-06 08:45:37 -06:00
committed by GitHub
co-authored by Claude Opus 5.5 greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
parent 4eb60af5a7
commit 52c6175255
6 changed files with 294 additions and 30 deletions
+1
View File
@@ -21,6 +21,7 @@
"1hour": "1 hour",
"12hours": "12 hours",
"24hours": "24 hours",
"custom": "Custom...",
"pm": "pm",
"am": "am",
"yr": "{{time}}yr",
@@ -1254,8 +1254,15 @@
"1hour": "Suspend for 1 hour",
"12hours": "Suspend for 12 hours",
"24hours": "Suspend for 24 hours",
"custom": "Suspend until...",
"untilRestart": "Suspend until restart"
},
"customSuspension": {
"title": "Custom suspension time",
"description": "Suspend notifications for this camera until the selected time.",
"untilLabel": "Suspend until",
"invalidTime": "Pick a time in the future."
},
"cancelSuspension": "Cancel Suspension",
"toast": {
"success": {