Add in-app notifications #29

Open
opened 2025-12-03 22:23:21 +00:00 by luca0N · 1 comment
Owner

Add support for displaying notifications when a host is detected. The Notifications API should be used for this, and an optional sound should be played on host detection.

This should either be an opt-in or opt-out feature, as some users could be annoyed by it.

Add support for displaying notifications when a host is detected. ~The Notifications API should be used for this~, and an optional sound should be played on host detection. This should either be an opt-in or opt-out feature, as some users could be annoyed by it.
luca0N self-assigned this 2025-12-03 22:23:21 +00:00
luca0N added this to the v1.0.0 project 2025-12-09 23:48:32 +00:00
Author
Owner

The Notifications API is quite limited, as it requires HTTPS and not all major browsers support it1. What I actually meant when creating this issue was to implement some kind of in-app notification system (as opposed to device notifications). This way, if a user has the page tab/window unfocused, the web app would update its title to append the number of unread in-app notifications (e.g., Lanbassador (2)). Focusing on the page would clear all unread notifications.

The Notifications API is quite limited, as it requires HTTPS and not all major browsers support it[^1]. What I actually meant when creating this issue was to implement some kind of in-app notification system (as opposed to device notifications). This way, if a user has the page tab/window unfocused, the web app would update its title to append the number of unread in-app notifications (e.g., **Lanbassador (2)**). Focusing on the page would clear all unread notifications. [^1]: https://developer.mozilla.org/en-US/docs/Web/API/Notification
luca0N changed title from Add notifications to Add in-app notifications 2025-12-22 23:25:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
luca0N/lanbassador#29
No description provided.