How does Elk serve browser based notifications ?
1.1 has that, right?
I just got some notifications in browser.
It's not exactly a push notification, it's a desktop notification, and on top of that, it's using an API that is basically deprecated, so it's already old.
On the bright side, sine the feature exists it should be "easy" to replace it with a more modern implementation (provided the "standard" will not change entirely before we get the new one..).
Which API is in use ?
http://www.html5rocks.com/en/tutorials/notifications/quick/
And using the plugin:
https://github.com/ttsvetko/HTML5-Desktop-Notifications
No plans to try something like Pusher.com ?
Check this : http://www.webdistortion.com/2012/02/02/real-time-push/
From me personally, not in the short term (I have other things in my todo list, sorry).
I added the html5 desktopnotifications because it seemed easy. If the current/future W3 webpush or whatever-they-want-to-call-it notifications will not be a pain I'll explore the option and try to use them, otherwise I'll just drop it from final and make an addon or something.
I wouldn't say that it's a must have :) In fact I turn anything like that off.
I am just trying to have a chat about it :)
A few good reads
https://wiki.mozilla.org/Firefox/Push_Notifications
https://people.mozilla.org/~ewong2/push-notification-test/
https://developer.mozilla.org/en/docs/Web/API/Push_API
Seems its already deprecated :P ..
One working demo at https://jsfiddle.net/yoshi6jp/Umc9A/
I see this could even be a theme option..as various notifications are available in the theme, like new PM's, new approvals etc. it could probably be implemented that way. Maybe the popup would list everything "new" in a compact text, multiple popups might be stretching it lol.
Although..as it meant to show at any-time to pull users back to the site, it would probably be better as a core function.
Yeah... in fact it's not really a standard yet, so it's easy to deprecate... :-\
I guess I'll keep it like that for the time being, hopefully one day they will define a real standard. xD
Likely duplicate of http://www.elkarte.net/community/index.php?topic=2234.0
Not really a duplicate if one is for Android/iOS and the other for web browsers. They are two different things, I think.
Indeed. Push notifications would be nice. They should happen with browser closed and screen off. ;)