Skip to content

feat(system-notifications): warn when system notifications have no recipient device#7

Merged
lucor merged 1 commit intomainfrom
feat/system-notif-visibility
Apr 27, 2026
Merged

feat(system-notifications): warn when system notifications have no recipient device#7
lucor merged 1 commit intomainfrom
feat/system-notif-visibility

Conversation

@lucor
Copy link
Copy Markdown
Owner

@lucor lucor commented Apr 27, 2026

Notifications were silently dropped when the admin had no paired device on the topic and TotalSent was zero without raising any error

The server now logs a warning when a system notification reaches zero devices so the misconfiguration is visible in logs

The admin UI also shows a warning when the configured recipient has no active device on the chosen topic so the issue is caught at setup time instead of through missing events later

Save remains enabled intentionally so admins can enable notifications now and pair a device right after without being blocked

…cipient device

Notifications were silently dropped when the admin had no paired device
on the topic and TotalSent was zero without raising any error

The server now logs a warning when a system notification reaches zero
devices so the misconfiguration is visible in logs

The admin UI also shows a warning when the configured recipient has no
active device on the chosen topic so the issue is caught at setup time
instead of through missing events later

Save remains enabled intentionally so admins can enable notifications
now and pair a device right after without being blocked
@lucor lucor merged commit feb1649 into main Apr 27, 2026
4 checks passed
@lucor lucor deleted the feat/system-notif-visibility branch April 27, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant