cruffenach / CRToast

A modern iOS toast view that can fit your notification needs
MIT License
4.17k stars 462 forks source link

Stackable notifications #29

Open phillipthelen opened 10 years ago

phillipthelen commented 10 years ago

I think it would be cool to have an option, to make a toast "stackable". Meaning, that it doesn't prevent other toasts from being displayed.

p.e. when posting something (so an action that requires internet and may take some time) and displaying a toast in the statusbar as an indicator, this could be stackable, so that other notification toasts can still be displayed on top of it.

In case you like the idea, I would give it a try and implement it. (although it probably only makes sense to start the work on this, after the refactored CRToastManager API is there, right?)

Jeehut commented 10 years ago

I like the idea as well. I just needed that and hoped that CRToast would act that way by default. But it's not even there as an option, that's very sad. I'ld like to tell my users something like "X was done successfully" and when a user does it again while the toast is present there should just be a toast in front of the old one – the old one disappears before the new one does, so the user always sees the toast for at least two seconds (or so) after the last time he did whatever he liked to do.

In the current implementation the user still sees notifications appearing 20 seconds after the last action when he had done an action 10 times. This is not what I wish and I think it's not that difficult to add that as an option for toasts.

So, I would greatly appreciate if you could do this vliRuS. Otherwise I may fork it and do it on my own.

phillipthelen commented 10 years ago

I wanted to wait with this until @cruffenach finished refactoring the manager. As this should be the case now, i'll do this in the next few days.

Jeehut commented 10 years ago

Great to hear, looking forward to it! :) :+1:

kharmabum commented 10 years ago

:+1: :)