bkaankose / Wino-Mail

Built-in Mail & Calendars app clone for Windows.
https://www.winomail.app/
GNU General Public License v3.0
729 stars 35 forks source link

[suggestion] when reading email/clicking "mark as read" from inside the application, remove the relevant notification from action center #91

Open Ulinsky opened 10 months ago

Ulinsky commented 10 months ago

Basically, when you get a notification, you can press "mark as read" action directly from the notification, and the email is marked as such + the notification goes away.

However, if you go to the application and read the email as normal/use the mark as read line action, the notification remains in the action center.

image

Many android apps have this behaviour (for example android outlook mail), and I think it would be neat here too. I think this might be the relevant api? https://learn.microsoft.com/en-us/uwp/api/windows.ui.notifications.toastnotificationhistory.remove?view=winrt-22621

bkaankose commented 10 months ago

That is a good suggestion thanks. I'll have it implemented for the next version.