porcupine icon indicating copy to clipboard operation
porcupine copied to clipboard

Update check on startup

Open Akuli opened this issue 2 years ago • 5 comments

It would be nice if Porcupine notified its users non-disruptively when a new version is out. For example, it could show a message in the status bar when it starts, or when the first tab is opened if no tabs open on startup (because of the user's settings or because they had no tabs opened when closing Porcupine).

Querying the latest version from GitHub's API is quite straight-forward:

>>> import requests
>>> requests.get('https://api.github.com/repos/Akuli/porcupine/releases/latest', headers={'Accept': 'application/vnd.github+json'}).json()['tag_name']
'v2022.07.31'

Akuli avatar Aug 13 '22 15:08 Akuli

It could also be on the welcome screen.

rdbende avatar Aug 20 '22 21:08 rdbende

One problem with using the welcome screen is that some people look at it very rarely: they use the setting to remember tabs when Porcupine is closed and opened again, and never close some tabs. So if we use the welcome screen, it would be good to also use automatically opened tabs.

Akuli avatar Aug 21 '22 10:08 Akuli

Why not just use the status bar?

Moosems avatar Sep 14 '22 12:09 Moosems

There is no status bar when you have no tabs open.

Akuli avatar Sep 14 '22 16:09 Akuli

Ahh. So then just use whichever one is open at start

Moosems avatar Sep 14 '22 16:09 Moosems

No tabs, there's the welcome page. Also, I'd love a global status bar for items related to the entire editor like reloading and so forth.

Moosems avatar Jun 29 '23 10:06 Moosems