Open MisterGlass opened 5 months ago
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 ?
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 ;)