fix: add missing os_listener toggle to notification CSS editor
Some checks failed
Lint & Test / test (push) Failing after 27s

The os_listener field existed in the backend model but was never
exposed in the UI. It defaulted to false, so OS notifications were
captured to history but never fired the visual effect. Now shows
a toggle at the top of the notification section, defaults to ON
for new sources.
This commit is contained in:
2026-03-24 22:01:53 +03:00
parent 347b252f06
commit ea5dc47641
6 changed files with 22 additions and 0 deletions

View File

@@ -1047,6 +1047,8 @@
"color_strip.type.notification": "Уведомления",
"color_strip.type.notification.desc": "Разовый эффект по вебхуку",
"color_strip.type.notification.hint": "Вспышка, пульс или волна при срабатывании через вебхук. Предназначен для использования как слой в композитном источнике.",
"color_strip.notification.os_listener": "Слушать системные уведомления:",
"color_strip.notification.os_listener.hint": "Когда включено, источник автоматически срабатывает при появлении уведомления рабочего стола (Windows toast / Linux D-Bus). Требует разрешения на доступ к уведомлениям.",
"color_strip.notification.effect": "Эффект:",
"color_strip.notification.effect.hint": "Визуальный эффект при уведомлении. Вспышка — линейное затухание, Пульс — плавная волна, Волна — заполнение и затухание.",
"color_strip.notification.effect.flash": "Вспышка",