kando-menu / kando

🥧 The Cross-Platform Pie Menu.
https://ko-fi.com/post/Kando-1-0-0-released-G2G5Z1DOS
Other
1.17k stars 25 forks source link

Show a notification if a newer version of Kando is available #501

Closed Schneegans closed 3 days ago

Schneegans commented 4 days ago

This will resolve #409. While it does not bring all the features requested in #409, it's a good starting point. For now, it works the following way:

When you open a menu, Kando will check GitHub for a new release. If a new version is found, a notification will be shown and no further tests are made for this session. If no new version is found or the connection failed, Kando will try again when a menu is opened next time, but not earlier than an hour later.

The notification could look like this:

Screenshot from 2024-06-27 19-32-55

In addition to the notification, there's also a shiny button in the sidebar ✨

https://github.com/kando-menu/kando/assets/829942/b10eafd9-ebfc-4853-acb5-41385c40cd1b

So I think this is a quite unobtrusive approach. Once we have a general settings UI, we can add a checkbox to disable version checks.

Schneegans commented 4 days ago

I also added a enableVersionCheck in the application settings which can be used to disable this feature.