chia-blockchain-gui icon indicating copy to clipboard operation
chia-blockchain-gui copied to clipboard

GUI: Warn user if backend version is different

Open paninaro opened this issue 2 years ago • 1 comments

We can use the get_version daemon command to determine if the backend version is different from the GUI version. If there's a mismatch, we should warn that the GUI may not behave properly. Or we could just not support it and force the app to quit.

paninaro avatar Sep 27 '22 00:09 paninaro

'This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.'

github-actions[bot] avatar Oct 11 '22 11:10 github-actions[bot]

Let's see if we can add a check for dev mode: process.env.NODE_ENV === 'development' to suppress the alert if it would normally display.

paninaro avatar Oct 28 '22 16:10 paninaro

PR: https://github.com/Chia-Network/chia-blockchain-gui/pull/1205

paninaro avatar Nov 22 '22 23:11 paninaro

Image

paninaro avatar Nov 30 '22 22:11 paninaro

For any builds produced by CI, it's expected that installing/upgrading will keep the backend version and frontend version in lockstep. If installing from source, using our instructions to run install.sh and install-gui.sh should also keep the versions in sync. The GUI version comes from chia-blockchain-gui/packages/gui/package.json in the version field.

paninaro avatar Nov 30 '22 22:11 paninaro