hackchat-client icon indicating copy to clipboard operation
hackchat-client copied to clipboard

Event notifications

Open marzavec opened this issue 4 years ago • 2 comments

Notifications need to be added. I was thinking of using react-web-notification for compatibility reasons and it's built-in service worker handling.

Notifications should be built to check if the window has focus, as well as what channel currently has focus, allowing mentions in other background channels to be displayed.

marzavec avatar Dec 14 '20 17:12 marzavec

sounds should play a big role in the notification part, concluding from my past experience using hack.chat. some sort of clearer reminder, at least. but as stated in react-web-notification:

Notification.sound Notification.sound is not supported in any browser. You can emulate it with onShow callback. see example.

there might be issues with sound... can this be solved?—I am personally not quite familiar with this notification thingy.

KnowsCount avatar May 28 '21 13:05 KnowsCount

can this be solved?

Yep, should be easy enough, compatibility will be the biggest hurdle though.

marzavec avatar Jun 01 '21 15:06 marzavec