sematic icon indicating copy to clipboard operation
sematic copied to clipboard

Show the server version on the UI

Open augray opened this issue 2 years ago • 3 comments

When people upgrade regularly, it can be helpful to know what version of the server is running. We should display this information discreetly on the UI

augray avatar Sep 17 '22 01:09 augray

is this issue available to work on?

Nike682631 avatar Oct 03 '22 22:10 Nike682631

Hi @Nike682631 – you are welcome to work on this.

The idea is to show the current version in the UI. The version can be found in the versions.py module, name the CURRENT_VERSION_STR constant. You can simply display this version string in small characters below the fox logo in the side bar, or all the way at the bottom, as you wish.

neutralino1 avatar Oct 03 '22 22:10 neutralino1

I just remembered it's already available via API call as well, at /api/v1/meta/versions. The response is a json object. You want to display the version under the server field. It comes as three digits, so you'll want to join them with periods [0, 14, 0] -> "0.14.0"

augray avatar Oct 03 '22 23:10 augray