From e44695484410c24ce266ea5ccdca33234f291a70 Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 18 Mar 2026 20:45:36 +0100 Subject: [PATCH] #2971 --- interface/src/app/main/Dashboard.tsx | 12 +++++++++++- interface/src/app/main/Devices.tsx | 14 ++++++++++++-- interface/src/i18n/cz/index.ts | 3 ++- interface/src/i18n/de/index.ts | 3 ++- interface/src/i18n/en/index.ts | 3 ++- interface/src/i18n/fr/index.ts | 3 ++- interface/src/i18n/it/index.ts | 3 ++- interface/src/i18n/nl/index.ts | 3 ++- interface/src/i18n/no/index.ts | 3 ++- interface/src/i18n/pl/index.ts | 3 ++- interface/src/i18n/sk/index.ts | 3 ++- interface/src/i18n/sv/index.ts | 3 ++- interface/src/i18n/tr/index.ts | 3 ++- mock-api/restServer.ts | 28 ++++++++++++++-------------- src/emsesp_version.h | 2 +- 15 files changed, 60 insertions(+), 29 deletions(-) diff --git a/interface/src/app/main/Dashboard.tsx b/interface/src/app/main/Dashboard.tsx index b02be0545..a98105623 100644 --- a/interface/src/app/main/Dashboard.tsx +++ b/interface/src/app/main/Dashboard.tsx @@ -263,7 +263,17 @@ const Dashboard = memo(() => { return ( <> {!data.connected && ( - + +  ( + + {LL.ONLINE_HELP()} + + ) + )} {data.connected && data.nodes.length > 0 && !hasFavEntities && ( diff --git a/interface/src/app/main/Devices.tsx b/interface/src/app/main/Devices.tsx index f96adfb89..7e8802bb3 100644 --- a/interface/src/app/main/Devices.tsx +++ b/interface/src/app/main/Devices.tsx @@ -8,7 +8,7 @@ import { useState } from 'react'; import { IconContext } from 'react-icons'; -import { useNavigate } from 'react-router'; +import { Link, useNavigate } from 'react-router'; import { toast } from 'react-toastify'; import CommentsDisabledOutlinedIcon from '@mui/icons-material/CommentsDisabledOutlined'; @@ -534,7 +534,17 @@ const Devices = memo(() => { const renderCoreData = () => ( <> {!coreData.connected ? ( - + +  ( + + {LL.ONLINE_HELP()} + + ) + ) : ( a.t - b.t); // append emsesp_coredata to sorted_devices so Custom is always at the end of the list sorted_devices.push(emsesp_coredata_custom); - // sorted_devices = []; // uncomment if simulating no devices... + // return { connected: false, devices: [] }; // uncomment if simulating no devices... return { connected: true, devices: sorted_devices }; }) .get(EMSESP_SENSOR_DATA_ENDPOINT, () => { diff --git a/src/emsesp_version.h b/src/emsesp_version.h index 711bf91b2..ed8918369 100644 --- a/src/emsesp_version.h +++ b/src/emsesp_version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "3.8.2-dev.C10" +#define EMSESP_APP_VERSION "3.8.2-dev.C11"