elementary / granite

Library that extends GTK with common widgets and utilities
https://elementary.io
GNU Lesser General Public License v3.0
286 stars 60 forks source link

Redesign idea for Widgets.Toast #378

Open alainm23 opened 4 years ago

alainm23 commented 4 years ago

Hi, I've been working on a little quick notification widget for Planner. It's based on Widgets.Toast, I'd like to know what you do think?

image Simple notification: I decided to hide the close button (and make it visible when the cursor hovers over the notification) since this notification only lasts a few seconds (2500 ms) and it is very likely that the user will not have the time to go there, read the notification and close it. I also added an image to give a general idea of the objective of the notification.

image Notification with action: Same design as above but removing the image so that the notification label is visible at first glance.

cassidyjames commented 4 years ago

We would probably want the close button to be more similar to the notifications one, but yeah, I could be fine with doing it up on the corner like that.

hanaral commented 3 years ago

@alainm23 I think your idea is pretty great, are you still able to open a PR with your work?