rafaelmardojai / forge-sparks

Get git forges notifications
MIT License
61 stars 7 forks source link

Too many notification fill up the whole screen at launch #34

Open rukshn opened 2 months ago

rukshn commented 2 months ago

When launching ForgeSparks, or when you computer gets connected to the internet, and if there are lot of pending new notifications it fills up your whole screen.

And you will have to close one notification at time or wait till they disappear if there is a disappear timeout.

I suggest if there are more than n number of new notifications, then instead of showing them all, provide one notification mentioning that the user has n number of new notifications.

I have attached the screenshot bellow.

image

rafaelmardojai commented 2 months ago

Interesting, GNOME limits apps to 3 notifications at a time, so I never thought about this.

But not sure if we should limit it in the app instead of letting the notification service handle it, I mean, some implementation could have grouping to handle this fine, or like GNOME, limit the number per app.

For now I could limit it to 3 notifications like GNOME I guess, that will be 3 notifications per minute, that works for you?

rukshn commented 2 months ago

@rafaelmardojai Yes it's possible to let the notification manager of the desktop environment handle it, I didn't look it from that POV.

I'm not sure if XFCE has such feature to aggregate notifications, I will have to check that.

image