Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

[feature]: The frontend should show the current version of the frontend and the backend #61

Open
Aisuko opened this issue Apr 21, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request vue

Comments

@Aisuko
Copy link
Member

Aisuko commented Apr 21, 2024

I believe this feature is necessary. It will be easy for us deal with the specific issues which were happened in the specific version of code.

Frontend version

  • We should follow the latest release version

Backend version

  • We need to discuss if we need a new API to do this.
@Aisuko Aisuko changed the title [feature]: support input dataset name [feature]: The frontend should show the current version of the frontend and the backend Jun 10, 2024
@Aisuko Aisuko added enhancement New feature or request vue labels Jun 10, 2024
@cbh778899
Copy link
Collaborator

Perhaps there're some api to directly query from github, I need to have a look, will update in the future.

@Aisuko
Copy link
Member Author

Aisuko commented Jun 26, 2024

For the frontend, I think we should follow the release version. For the backend, we need to have a backend API to return the version of the backend.

@cbh778899
Copy link
Collaborator

I feels like split it would be kind of meaningless if we want to update dynamically, github do has APIs to query latest version, which needs an auth key for each end, so that one function passes the auth key (in deployment env variable) can do the work for both ends instead of call different functions, that might make the code less tidy.

@Aisuko
Copy link
Member Author

Aisuko commented Jun 27, 2024

Hi @cbh778899. We want to add version as a constant value inside the frontend and the backend. So, we can get these numbers easier. We don't get these versions from GitHub. Here is a scenario, after we deployed these containers. We open the frontend. And it will show the version of current deployed code.

@cbh778899
Copy link
Collaborator

Hi @cbh778899. We want to add version as a constant value inside the frontend and the backend. So, we can get these numbers easier. We don't get these versions from GitHub. Here is a scenario, after we deployed these containers. We open the frontend. And it will show the version of current deployed code.

good idea, simple & easy

@Aisuko Aisuko moved this to Todo in APIs-aggregator Jun 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request vue
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants