Editing ~/.hyper.js
with Save on Change produces an endless stream of notifications and bell sounds. There should be an option to completely disable notifications, not just the sound. bell: false,
does nothing.
Hi there, thanks for reporting an issue!
Unfortunately, we need the information that was listed out in template when you created the issue to really help solve your problem. For now, we'll close your issue and wait for you to comment/re-open the issue with the template information filled out from https://github.com/zeit/hyper/issues/new
@chabou
After your comment I doubt the guy would use your app again :-)
Have you tried it on mac?
Were you able to disable notifications?
Well, we weren't.
Still need more info from your template?
Here you are:
And now, don't be a ** and fix the notifications :-)
Ok so now we know:
So, I see a couple of options:
Save on change is not a good idea with hyper config as we parse it and do a couple things with the config every time we detect a change, which could lead to performance issues and other racey conditions. So personally I think it's best just to tell the author and similar here not to use save on change with hyper 馃憤
Thoughts? 馃檪
A config option to disable notifications would be nice.
Actually I don't mind notifications when they are useful (e.g. when a command exited with status !== 0).
But there's one showing up when I even open the settings file (in ST3).
So I think it would be better, instead of true
| false
, to have sth. like a log-level: INFO
, WARNING
, ERROR
and NONE
.
Where the first one would notify on everything, whereas the last one on nothing.
If we go with log level, there should be NONE
as an option to completely disable notifications.
thanks @bootstraponline, updated my comment :-)
Does this mean that there is currently no way to stop or silence Hyper notifications?
Does this mean that there is currently no way to stop or silence Hyper notifications?
Right
Why is this still an issue? It is clear that the config option "bell: false"
has no effect whatsoever and needs fixing.
With that out of the way, why use system notifications in the first place? It's not like that there is not enough room in the hyper UI for a small icon in one of the corners, with a little pop-up, that could be used for notifications and error messages.
notifications: none|system|application
notificationsLocation: topLeft|topRight|bottomLeft|bottomRight
This way everybody is satisfied, people who like the "old" way with system notifications, people who like in app notifications and people who don't want notifications at all.
PR welcome @BrainInBlack 馃槉
So...does someone have an update on this? Doesn't look like this had any resolution, and I'm kind of surprised a simple updateNotifications: false
flag still doesn't exist...
The issue is tagged as awaiting response
. A boolean flag that disables all notifications will resolve the issue. It sounds like someone will have to submit a PR.
This is clearly a much needed feature. It seems to have a multitude of implications, like with my Window Manager in Linux - which does not run a Notification Daemon Service - which is needed to display notifications.
Without the Notification Daemon Service you will encounter a lot of lockup and freezes with Hyper.
For now, I'll just disable the notifications entirely.
https://github.com/zeit/hyper/blob/canary/app/notify.js#L8-L11
:laughing:
https://electronjs.org/docs/api/notification#notificationissupported
Yes, Electron has it's own Notifications. Maybe use that instead of this "hack"?
https://github.com/zeit/hyper/blob/canary/app/notify.js#L33-L45
For those who want to remove it, just disable this / comment out / replace, whatever.
I was about to try out Hyper on macos but everytime i saved my config file I got a notification. Hyper looks really cool but this isn't a great first impression.
Perhaps I can contribute a flag if someone can point me in the right direction?
@Stanzilla Why is this issue closed?
@proteriax Are you having this problem? or Do you solve it?
because I set bell: false
and it still doing the "Beem" sound
Most helpful comment
@chabou
After your comment I doubt the guy would use your app again :-)
Have you tried it on mac?
Were you able to disable notifications?
Well, we weren't.
Still need more info from your template?
Here you are:
And now, don't be a ** and fix the notifications :-)