diff --git a/interface/src/app/main/Customizations.tsx b/interface/src/app/main/Customizations.tsx index 87ac23822..2eb6f58f3 100644 --- a/interface/src/app/main/Customizations.tsx +++ b/interface/src/app/main/Customizations.tsx @@ -464,14 +464,7 @@ const Customizations = () => { )} {selectedDevice !== -1 && (rename ? ( - - + <> - + + ) : ( - + {!rename && ( + + + + )} )} {renderResetDialog()} diff --git a/interface/src/app/settings/Version.tsx b/interface/src/app/settings/Version.tsx index dc9432b88..c6aaa5827 100644 --- a/interface/src/app/settings/Version.tsx +++ b/interface/src/app/settings/Version.tsx @@ -11,9 +11,11 @@ import { DialogActions, DialogContent, DialogTitle, + Divider, Link, Typography } from '@mui/material'; +import Grid from '@mui/material/Grid2'; import * as SystemApi from 'api/system'; import { callAction } from 'api/app'; @@ -182,43 +184,55 @@ const Version = () => { return ( <> - - Firmware Version Check - - - - - {LL.VERSION() + ':'} {data.emsesp_version} - {data.build_flags && ( - -   ({data.build_flags}) + + + + + {LL.VERSION()} - )} - - - Platform: {getPlatform()} - + + Platform + + + Release + + + + + {data.emsesp_version} + {data.build_flags && ( + +   ({data.build_flags}) + + )} + + {getPlatform()} + + {isDev ? LL.DEVELOPMENT() : LL.STABLE()}  + + (changelog) + + + + - - Release:  - + + {!isDev && ( + - )} - + {LL.SWITCH_DEV()} + + )} @@ -231,6 +245,7 @@ const Version = () => { sx={{ ml: 2, textTransform: 'none' }} variant="outlined" color="primary" + size="small" onClick={() => showFirmwareDialog(false)} > {isDev diff --git a/interface/src/i18n/en/index.ts b/interface/src/i18n/en/index.ts index 3c06024df..0ad95342f 100644 --- a/interface/src/i18n/en/index.ts +++ b/interface/src/i18n/en/index.ts @@ -143,7 +143,7 @@ const en: Translation = { CUSTOMIZATIONS_RESTART: 'All customizations have been removed. Restarting...', CUSTOMIZATIONS_FULL: 'Selected entities exceeded limit. Please save in batches', CUSTOMIZATIONS_SAVED: 'Customizations saved', - CUSTOMIZATIONS_HELP_1: 'Select a device and customize the entities options or click to rename', + CUSTOMIZATIONS_HELP_1: 'Select a device and customize the entities options', CUSTOMIZATIONS_HELP_2: 'mark as favorite', CUSTOMIZATIONS_HELP_3: 'disable write action', CUSTOMIZATIONS_HELP_4: 'exclude from MQTT and API', diff --git a/mock-api/rest_server.ts b/mock-api/rest_server.ts index 1e04cf847..7d8e58197 100644 --- a/mock-api/rest_server.ts +++ b/mock-api/rest_server.ts @@ -202,8 +202,8 @@ function check_upgrade(version: string) { console.log('check upgrade from version', version); data = { emsesp_version: VERSION, - upgradeable: true - // upgradeable: false, + // upgradeable: true + upgradeable: false }; } else { console.log('requesting ems-esp version');