From 4af7836a546e1236100460f13505d3296a1d6b6d Mon Sep 17 00:00:00 2001 From: ISA Date: Fri, 25 Jul 2025 11:47:38 +0200 Subject: [PATCH] feat(Kue705FO): replace switch buttons with direct chart access buttons - Remove Schleife/TDR switch buttons and separate Messkurve button - Add "TDR Messkurve" and "Schleife Messkurve" buttons for direct chart access - Each button opens the corresponding chart type directly - Improve user experience by reducing clicks needed to access specific charts - Clean up unused imports (handleButtonClick, tdrLocation, tdrActive) --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 ++ .../kabelueberwachung/kue705FO/Kue705FO.tsx | 62 ++++++++----------- package-lock.json | 4 +- package.json | 2 +- 6 files changed, 36 insertions(+), 41 deletions(-) diff --git a/.env.development b/.env.development index 2ad9eee..87d11e8 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.648 +NEXT_PUBLIC_APP_VERSION=1.6.649 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 4b37b67..bbef8bc 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.648 +NEXT_PUBLIC_APP_VERSION=1.6.649 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 65ea08b..fa75871 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.649] – 2025-07-25 + +- TDR und Schleife Button in KÜs wieder für die Funktionen + +--- ## [1.6.648] – 2025-07-24 - TDR und Schleife Button in KÜs wieder für die Funktionen diff --git a/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx b/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx index 745bde9..1f8f80d 100644 --- a/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx +++ b/components/main/kabelueberwachung/kue705FO/Kue705FO.tsx @@ -405,31 +405,8 @@ const Kue705FO: React.FC = ({ > Messkurve -
- + {/* TDR Messkurve und Schleife Messkurve Buttons */} +
+
diff --git a/package-lock.json b/package-lock.json index 5588dfd..6782cbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.648", + "version": "1.6.649", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.648", + "version": "1.6.649", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 4ca15c3..75cbe66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.648", + "version": "1.6.649", "private": true, "scripts": { "dev": "next dev",