feat: add chase and gradient flash notification effects with priority queue
Some checks failed
Lint & Test / test (push) Failing after 28s

New notification effects:
- Chase: light bounces across strip with Gaussian glow tail
- Gradient flash: bright center fades to edges with exponential decay

Queue priority: notifications with color_override get high priority and
interrupt the current effect.

Also fixes transient preview for notification sources — adds WebSocket
"fire" command so inline preview works without a saved source, plus
auto-fires on preview open so the effect is visible immediately.
This commit is contained in:
2026-03-24 00:00:49 +03:00
parent 9b80076b5b
commit 2c3f08344c
6 changed files with 120 additions and 9 deletions

View File

@@ -1067,6 +1067,10 @@
"color_strip.notification.effect.pulse.desc": "Smooth bell-curve glow",
"color_strip.notification.effect.sweep": "Sweep",
"color_strip.notification.effect.sweep.desc": "Fills left-to-right then fades",
"color_strip.notification.effect.chase": "Chase",
"color_strip.notification.effect.chase.desc": "Light travels across strip and bounces back",
"color_strip.notification.effect.gradient_flash": "Gradient Flash",
"color_strip.notification.effect.gradient_flash.desc": "Bright center fades to edges, then all fades out",
"color_strip.notification.duration": "Duration (ms):",
"color_strip.notification.duration.hint": "How long the notification effect plays, in milliseconds.",
"color_strip.notification.default_color": "Default Color:",