-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you add a notification function? #119
Comments
This functionality does exist ( https://github.com/hack-chat/main/blob/master/client/client.js#L167 ). If you do not get a request to allow notifications from your browser; we will have to narrow down why. First up, what are you running the client on? Any errors listed in the browser console? Can you test using https://www.bennish.net/web-notifications.html so we can narrow down if it's a environmental cause vs our client? |
@EmersonYoung Any updates on this? |
Hi @marzavec Sorry for the delay. I just try hennish.net on Mac and Win7. Here's the result Mac OS 10.15.7 Safari and chrome , test on Bennish.net hack.chat Win 7 , Chrome Bennish.net hack.chat I had turn on the notification setting make sure all allowed. BUT "(Click user to invite) " function's sound and notification both work on Mac chrome(not safari) and Win 7 Chrome. |
BTW: Can you make the the setting bar not auto hide? I had use hack.chat 3days, but never know it had a setting bar. |
Sure, there is a check box at the top that'll stop it from hiding. I've had time to test the issue in the same environments that you are using and can confirm the same behavior exists. I'll try to set aside some time to fix it or maybe @Roslot (the one who added the code) would have time? Worse case scenario is that this will have to wait until the feature is added to the new client. . . |
@EmersonYoung Unfortunately I cannot test notifications on Safari, any code I add in hackchat to support it would be done blind without tests, which doesn't seem like a good idea. If you're interested in adding support, we can set up a time to communicate on the chat and I can guide you through the process of cloning and setting up the project on your machine, and you can try to make changes to see if it works. @marzavec I do think it makes more sense to hold off on making too many changes until the new client is online. From what I understand, there is a new branch version-2-dev that is now available, is this the upcoming new client? I would be interested in seeing, when that's ready, if @EmersonYoung would want to switch over. |
*Thread hijacking noises* @Roslot Sort of. At the moment, it's just the modified server code, which supports the new engine, which the new client uses. The client itself is just one issue away from being beta ready, but after that there is going to be a large amount of feature addition & bug fixes before it's put into the main repo. Once the beta client is ready with notifications I'll leave an update on this issue so we can test it. |
you don't get sound notifications when you change your name |
Hi
I just found hack.chat, I love it's minimal and easy to use.
But I can have notification when the message arrived, I have to use another app to notify my friend to watch the message.
Thank you
The text was updated successfully, but these errors were encountered: