leclercb / taskunifier-app

TaskUnifier - Task Management Application
https://www.taskunifier.app
Other
27 stars 7 forks source link

Display current version somewhere in application #45

Closed szpak closed 4 years ago

szpak commented 5 years ago

Feature description

The application version should be visible in the application itself.

Detailed information

Reporting features/bugs it might be useful for a maintainer to know which version it is related. Currently it is not easy to find that version having the application running (at least I had a problem finding it :) ).

It could be put in the task bar (next to the application name) and/or in some "about" dialog displayed in settings or via the Help -> About menu item.

Version and system information

develop on Fedora 30.

leclercb commented 5 years ago

Hello,

I would require me to change the version number each time I commit something.

In the desktop version, you know the version as you download it. Concerning the cloud version, it's displayed in the user menu.

I understand your question is more about the "develop" branch, where there is no "official" release. I think the easiest would be simply to add the commit number in the ticket.

For example: https://github.com/leclercb/taskunifier-app/commit/914cf629e6c6b7663d855c6cc355c9d33c460379

Or just the number: 914cf629e6c6b7663d855c6cc355c9d33c460379

You can get it using "git lg" for example.

What do you think ?

szpak commented 5 years ago

In the desktop version, you know the version as you download it. Let's wait for larger number of bugs to verify that assumption :).

In general you could make it a part of the release process. In the Gradle-based development it is quite popular to tight an application version with Git (e.g. Axion). In the build process the version is dynamically fetched from the current Git status - e.g. 0.5.2 on release (based on tags) or 0.5.3-SNAPSHOT/0.5.3-devel-914cf63 for devel builds. For sure there is something similar for Yarn based development (that?).

To sum it app if you are able to automatically put the Git commit somewhere in the application (as I understood is in the cloud version) it would be useful - if not I can always get it from Git manually, so it's not a blocker for me. The concrete version for official releases would be probably beneficial for you in the future :).

leclercb commented 4 years ago

Thanks for the suggestion !

Done, the version and the git hash are now displayed. Cloud: in the user menu and at the bottom left of the settings window. App: at the bottom left of the settings window.

That will be helpful for me too :)