wavded/humane-js

"Stacking" notifications.

aawwawa opened this issue · 6 comments

This is adapted from the email I sent to @wavded, as I figured that this would be an all-around better forum for the issue than either twitter or email, especially since you indicated in a tweet that you'd been thinking of this for the next version, anyhow.


I'm working on a site and humane.js is going a long way to making one of its central features /possible/, so many thanks and kudos to you for your fabulous work on it. However, one showstopper that I've realized is that I'm not able to "stack" the notifications concurrently and that there can only be one concurrently visible notification on the screen at a time, while any others that get logged before it times out get a slot in a backlog queue. So I guess I'm looking to hack on humane. But I'm not the best JS dev in the world, so I suppose I'm in need of some minor guidance. Which are the relevant sections of code? Would you be able to tell me what needs to happen in either English or pseudocode? If you could, I'm sure I could implement the patch with no problems.

Here are some examples of what I'm trying to achieve:
webkit <-- webkit already has this, coming up from the bottom.

growl? <-- though I've never used it and so can't say for sure, this appears to be growl and is more or less exactly what I'm looking for.

Thanks again,

@adlwalrus

Thanks for for the report @adlwalrus, this is by far the most requested feature for humane and I plan on taking a look on implementing it (and you are welcome to do so as well and we can discuss). My gut is more to rely on CSS than JS for this behavior so we can animate using CSS transitions between the different 'levels' of stacking, which will allow for users to invent creative ways of stacking.

Any status update on this?

@durango I actually found this in the meantime, which seems to be relatively elegant, and meets my needs quite well. If I find someone who knows what they're doing I might get them to touch up the stylesheet a bit, but the linked script is what I'm planning to use for my site, once I port it to the lighter-weight bonzo DOM utility. Don't know if a jquery dependency is a dealkiller for you or not though, so make of it what you will.

Works for me, thanks :) +1

@durango If you do any hacking on the stylesheet or otherwise, please do share it!

this unfortunately will not be in the humane.js future unless someone wants to take up the mantle, i don't have the time or interest to add it, maybe it will be rekindled in the future but i know there other great notification libraries that to provide that and it hasn't been a need yet for my workflow, sorry, closing for now