Open wahapo opened 3 years ago
Since there was a need for this functionality, we are proposing two types of modifications. we are suggesting two options, but in practice, we recommend the first.
Push notification from the browser when the status of the pipeline screen is changed to success, error, and fixed.
Push notification from API using ServiceWorker
Push notifications are intended to be used in casual pipelines, such as testing and behavior checks, where it is not necessary to add configuration to yaml. Since notifications are already implemented in Slack, etc., I have decided that it is not a feature that would put too much load on the DB or anything like that.
These days, some browsers may unload the inactive (background) page. So, the first option's disadvantages might not have a workaround.
(edit: maybe not severe, but no workaround. and this applies to all two disadvantages)
After checking, it may be possible to work around it in Chrome with settings such as Calculate window occlusion on Windows.
However, it is undesirable to force users to accept a browser-wide performance degradation.
Also, other browsers do not have the same workaround.
Proposal 1 seems to be deprecated because it is incompatible with current browsers.
@tanoda The team decided to recommend idea 1. Idea 2 would duplicate the role of other functions such as Slack and email, and it is not enough of a feature to make changes to the DB as a need for Push notifications. Idea 1 was determined to avoid the problem through user operation, although there is a burden on the user in the case of multiple displays, such as placing the sub-display on the edge of the display.
Alright, no problem at all. I was just letting you know that the workaround is not very good these days. It's good that you decided on it with updated pros/cons.
What happened: It would be nice to have a desktop notification when all event builds are complete.
What you expected to happen: This can be implemented by using https://pushjs.org/ , for example.
How to reproduce it: