thoth-org / Thoth.Elmish.Toast

https://thoth-org.gitbook.io/thoth-elmish-toast/
MIT License
6 stars 4 forks source link

[Toast] Group notifications together #11

Open MangelMaxime opened 5 years ago

MangelMaxime commented 5 years ago

Issue by xdaDaveShaw Monday Jan 07, 2019 at 21:31 GMT Originally opened as https://github.com/MangelMaxime/Thoth/issues/108


As per this REPL issue: https://github.com/fable-compiler/repl/issues/46

@MangelMaxime suggested:

The feature I have in mind is to allow user attach a "group" to a Toast and say. I only want one Toast of this group displayed at a time. If there is already a toast of the same group in the stack then it will be removed and the new one is added. This feature also needs to add transition/animation support so people can see the old toast being removed when the new one is added.

MangelMaxime commented 5 years ago

Comment by xdaDaveShaw Monday Jan 07, 2019 at 21:32 GMT


I'm happy to have a go at the F# changes for this - doesn't look too complicated... but I'd be stuck on the CSS changes needed to make the transition effects.

MangelMaxime commented 5 years ago

Comment by MangelMaxime Monday Jan 07, 2019 at 21:58 GMT


You can skip the CSS part as it is secondary for this feature.

When the feature is complete I can either work with you on the CSS side or implement it myself :)