Elegant-Notification icon indicating copy to clipboard operation
Elegant-Notification copied to clipboard

Stack mode?

Open mennovanhout opened this issue 1 year ago • 7 comments

Feature request: Multiple notifications

It would be nice if they stack underneath eachother.

mennovanhout avatar Jan 09 '24 18:01 mennovanhout

Thanks @mennovanhout for this amazing proposition I'll work on it to have it in the next versions

koukibadr avatar Jan 09 '24 21:01 koukibadr

Thanks @mennovanhout for this amazing proposition I'll work on it to have it in the next versions

I am sure to buy you a coffee if you succeed ! Literally the only thing I miss in your awesome package. Will ship it in my next update of https://hdashboards.app

mennovanhout avatar Jan 09 '24 21:01 mennovanhout

I like the idea of this feature. But how would it work on mobile? There is a similar open issue with this image as an example: Add support for adding a gap when pushing multiple notifications #82 image

But would this type of stacking make sense for notifications inside an app? More than one notification would start covering the screen.

In the current state of the package it literally stacks each new notification on top of the other. So maybe we could make it so the timer for each notification does not start until it is on the top of the stack. That way the user does not miss a notification that can't be seen.

And to comunicate that there are more than one notification we can offset them by a small margin. IMG_51417EE0A219-1

So a stack but without scrolling.

marioki avatar Feb 15 '24 22:02 marioki

@marioki In my opinion your screenshots don't make sense. That only works for notifications without countdown auto close timer. As this package is mainly used to automatically close notifications aswell, I would expect it to work like: image

image

mennovanhout avatar Feb 16 '24 08:02 mennovanhout

I agree with the examples you are posting. But i think that kind of stacking works well only on big screens like Desktops or Web apps.

My concern and the point of my first comment is that kind of stacking would make for a bad expirience on mobile. As it would start covering more and more screen space. And I think that we should discuss how this feature would work on the different platforms supported by the package.

marioki avatar Feb 16 '24 18:02 marioki

can i use it right now?

Trung15010802 avatar Mar 20 '24 04:03 Trung15010802

@Trung15010802 still not published it will be published this week

koukibadr avatar Mar 20 '24 11:03 koukibadr