PHPCI icon indicating copy to clipboard operation
PHPCI copied to clipboard

Use Web Notifications API in front-end to notify active users of build changes

Open tobiastom opened this issue 11 years ago • 5 comments

This would be nice for build notifications, just like the IRC plugin. Some documentation is available at developer.apple.com.

As all projects seems to smooth down a little bit I would be interested into created the pull request myself. If someone else wants to take it, or has already implemented: even better.

Right now I think we just need to configure the message and the icon (success, failure). Any other ideas?

tobiastom avatar Jan 25 '14 12:01 tobiastom

Nice idea indeed. I'll struggle to get to it very soon myself, but happy for it to be included as a new plugin. :)

dancryer avatar Jan 28 '14 21:01 dancryer

This is very good idea, something i have missed in other CIs.

Maybe a wrapper like this https://github.com/alexgibson/notify.js would make it easier to build this? That will make it work for other browsers, such as Chrome, Safari & Firefox.

Problem I can see is that this is a frontend plugin more or less. which can be hard to make work if the users is not active on the website. Is it any way to make that work?

confact avatar Apr 17 '14 07:04 confact

Any traction on this yet - I'd really like to see this in PHPCI, and would be something I could look at if no-one's started already?

leewillis77 avatar Feb 04 '15 21:02 leewillis77

Hey @leewillis77 - Feel free to take this on, nobody is working on it. :)

dancryer avatar Feb 23 '15 15:02 dancryer

Would it be possible to update the Docker related files?

Meanwhile, I noticed this might need a Push Notification server, which is conveniently possible through frameworks for WebSockets with ZeroMQ. I'd also advise using CoffeeScript to make things easier in the JS. All of which, needs to be included in the Dockerfile, if you guys allow it.

prezire avatar Feb 07 '18 06:02 prezire