Live data from Hacker News

HumaneJS - Simple, modern, browser notification system.

wavded.github.com

11–15 of 15 posts

Re: HumaneJS - Simple, modern, browser notification system.

#12

I don't like this style, mostly because they don't "stack". Here's an example: * User clicks on the good button, notification pops up. * User clicks on the bad button. Notification still there. * User clicks clicks clicks. Alert finally shows, but 5 times in a row.

I was thinking about that as well, I'm game for adding stacking or having the option for the timeout to not finish before showing the next message. This is controllable somewhat by setting the timeout to something less.

e.g. humane.timeout = 500;

Re: HumaneJS - Simple, modern, browser notification system.

#13

Why would I use this rather than the notifications api? To support IE? Any other reason?

Good question. I feel the notification APIs are not mature enough, plus lacking in say Firefox and IE. Plus you have more customization over notifications by not using the native API. Hopefully someday this will improve and be better supported and we can use that instead.

Re: HumaneJS - Simple, modern, browser notification system.

#14

This looks cool. I'm a fan of notifications in general and I like thinking of how notifications can be improved and such. I will say that this is a departure from notifications I usually see on the web with the sliding block that has an 'x'. Comparing it to humanmsg, the messages themselves are similar although it would be better if it had (not sure if it does and was disabled) the message log.

Thought about this too. IMO this can be handled better so many different ways by different apps and I wanted to keep the main part simple. Perhaps an add on?

Re: HumaneJS - Simple, modern, browser notification system.

#15
post #12

I don't like this style, mostly because they don't "stack". Here's an example: * User clicks on the good button, notification pops up. * User clicks on the bad button. Notification still there. * User clicks clicks clicks. Alert finally shows, but 5 times in a row.

I was thinking about that as well, I'm game for adding stacking or having the option for the timeout to not finish before showing the next message. This is controllable somewhat by setting the timeout to something less. e.g. humane.timeout = 500;

added forceNew option to make new message replace old immediately
Post reply on HN