ModernFlyouts-Community / ModernFlyouts

A modern Fluent Design replacement for the old Metro themed flyouts present in Windows.
https://modernflyouts-community.github.io
MIT License
3.6k stars 198 forks source link

Feature Request: Toast Notification support #218

Open Samuel12321 opened 3 years ago

Samuel12321 commented 3 years ago

Add support for ModernFlyouts to use Toast notifications (such as displaying if an update is available).

ShankarBUS commented 3 years ago

What would be the usecase of it?

Showing a notification for an update being available will be annoying to users.

They can simply check the MS Store!

If they install the package from GitHub, there's no way to fetch if a new update is available or not from GitHub easily. (This will result in 2 methods to check for updates one for Store and other for Github. Also there are no API to check if the MSIX is distributed through Store or other means. Even if there's one I don't want to do this).

Are there any other usecase?

Should we ask our users for suggestions?

Samuel12321 commented 3 years ago

Have been noticing a significant number of issues being reported from old versions of ModernFlyouts. Furthermore MS Store shows that out of 27,500 active users only 12,130 are actually on the latest release (0.8.1.0), nearly 7,000 are still on 0.6.0.0. I think this is due to ModernFlyouts relying on the user's MS Store Settings to be set to automatically check for and install app updates. I am currently looking into getting ModernFlyouts to request the Store check if an update is available and download it. However depending on the users settings ModernFlyouts may still have to get the users permission to actually install the update. This is what the toast notification would be for. https://docs.microsoft.com/en-us/windows/msix/store-developer-package-update https://docs.microsoft.com/en-us/uwp/api/windows.services.store.storecontext.trysilentdownloadandinstallstorepackageupdatesasync?view=winrt-19041 https://github.com/MicrosoftDocs/windows-uwp.pt-br/blob/live/windows-apps-src/packaging/self-install-package-updates.md https://docs.microsoft.com/en-us/windows/uwp/packaging/self-install-package-updates

ShankarBUS commented 3 years ago

Ok cool!

prakharb5 commented 3 years ago

We can add a tag to the about page beside the app version saying "Update available".

jeengbe commented 3 years ago

I believe, @Samuel12321 means standard Windows toast notifications.

+1, I'd really love a design overhaul of those, in the way ModernFlyouts does it to other Windows popups.

Notification Example