Skip to main content
Topic: Push Notification (Read 6608 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Push Notification

How does Elk serve browser based notifications ?

Re: Push Notification

Reply #1

1.1 has that, right?

Re: Push Notification

Reply #2

I just got some notifications in browser.

Re: Push Notification

Reply #3

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..).
Bugs creator.
Features destroyer.
Template killer.

Re: Push Notification

Reply #4

Which API is in use ?



Re: Push Notification

Reply #7

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.
Bugs creator.
Features destroyer.
Template killer.

Re: Push Notification

Reply #8

I wouldn't say that it's a must have :) In fact I turn anything like that off.

Re: Push Notification

Reply #9

Quote from: emanuele – 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 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

Re: Push Notification

Reply #10

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.

Re: Push Notification

Reply #11

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
Bugs creator.
Features destroyer.
Template killer.


Re: Push Notification

Reply #13

Not really a duplicate if one is for Android/iOS and the other for web browsers. They are two different things, I think.

Re: Push Notification

Reply #14

Indeed.  Push notifications would be nice.  They should happen with browser closed and screen off.   ;)