Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser notifications of change in printer status #477

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MisterGlass
Copy link

This uses native browser notifications to alert the user to any printer status changes.

There is probably a better place in the code to do this but it works on my machine ;)

@ddx32
Copy link
Collaborator

ddx32 commented Feb 2, 2024

Hi, thanks for the contribution!

I like the idea of using native notifications as long as the web interface runs in the background. However instead of generating the notifications ad-hoc, we could build some sort of system-wide solution, perhaps a listener for CustomEvents somewhere that would be able to handle the low-level new Notification() logic and trigger any kind of notification just by firing an event anywhere on the page? What do you think, @Lowentwickler ?

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.

2 participants