Add the current app version in the about section
Problem to solve
- End user as no way to know which version of ProdManager actually running.
- The maintainer of the deployed ProdManager instance doesn't immediately know from the about page if he has deployed the latest version of ProdManager
Proposal
-
Add the current version of ProdManager in the about section
- The version should be a link to the documentation CHANGELOG. For example : https://prod-manager.tiwabbit.fr/CHANGELOG/#0190
- Is it worth it to display the commit hash ?
-
The app should display if the running version of ProdManager if the latest.
- Use a badge style to display the latest version
- The basge should contain a link to the documentation CHANGELOG. For example : https://prod-manager.tiwabbit.fr/CHANGELOG/#0190
- Query the GitLab API to know the latest version
- GitLab documentation : https://docs.gitlab.com/ee/api/releases/
- The query should be async on application startup
- The query should not block the application runtime
- In case of issue for querying the version :
- Display a warning in the logs
- Don't display the badge on the web UI
- Use a badge style to display the latest version
Examples
Examples of what GitLab display to it's users
Edited by Guillaume MARTINEZ