feat(frontend): show UI build version on system info page
Inject the frontend package.json version at build time via Vite and render it as a dedicated "UI Version" row in System Info, alongside the existing app (backend) version returned by /system/info. When the two versions differ a warning tag is shown so users can tell at a glance that their weknora-ui image is out of sync with weknora-app (e.g. missing config fields for newer providers like SearXNG). Rename the existing version row label from "System Version" to "App Version" to distinguish it from the new UI version row in all four locales (zh-CN, en-US, ko-KR, ru-RU).
This commit is contained in:
@@ -2405,8 +2405,11 @@ export default {
|
||||
sectionDescription: 'View system version information and user account configuration',
|
||||
loadingInfo: 'Loading information...',
|
||||
retry: 'Retry',
|
||||
versionLabel: 'System Version',
|
||||
versionDescription: 'Current version number of the system',
|
||||
versionLabel: 'App Version',
|
||||
versionDescription: 'Version of the application service (weknora-app)',
|
||||
frontendVersionLabel: 'UI Version',
|
||||
frontendVersionDescription: 'Build version of the UI (weknora-ui)',
|
||||
versionMismatch: 'Mismatch with app version',
|
||||
buildTimeLabel: 'Build Time',
|
||||
buildTimeDescription: 'Time when the system was built',
|
||||
goVersionLabel: 'Go Version',
|
||||
|
||||
Reference in New Issue
Block a user