From 528773128db4b6c13875cd1f055c90ac3b7189cc Mon Sep 17 00:00:00 2001 From: ISA Date: Mon, 21 Jul 2025 08:58:24 +0200 Subject: [PATCH] Nach Betriebsferien einmal sichern --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 5 +++ package-lock.json | 4 +- package.json | 2 +- src/components/AnalogInputsChart.tsx | 55 ---------------------------- 6 files changed, 10 insertions(+), 60 deletions(-) delete mode 100644 src/components/AnalogInputsChart.tsx diff --git a/.env.development b/.env.development index 330c95f..f8acdd2 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.604 +NEXT_PUBLIC_APP_VERSION=1.6.605 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 329de0d..159cd8d 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.604 +NEXT_PUBLIC_APP_VERSION=1.6.605 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 661db78..564b2dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.605] – 2025-07-21 + +- Nach Betriebsferien einmal sichern + +--- ## [1.6.604] – 2025-07-21 - feat(analogInputs): automatisches Laden der Chart-Daten bei Tabellenklick via Redux diff --git a/package-lock.json b/package-lock.json index 4f79271..8894ffe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.604", + "version": "1.6.605", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.604", + "version": "1.6.605", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index b9f990b..fb0d142 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.604", + "version": "1.6.605", "private": true, "scripts": { "dev": "next dev", diff --git a/src/components/AnalogInputsChart.tsx b/src/components/AnalogInputsChart.tsx deleted file mode 100644 index 55bc476..0000000 --- a/src/components/AnalogInputsChart.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import React, { useState, useEffect } from "react"; -import { Chart } from "some-chart-library"; // Replace with actual chart library import - -const AnalogInputsChart = () => { - const [startDate, setStartDate] = useState("2025-06-27"); - const [endDate, setEndDate] = useState("2025-07-01"); - const [chartData, setChartData] = useState([]); - - const fetchData = async () => { - // Replace with actual API call or data fetching logic - const response = await fetch(`/api/data?start=${startDate}&end=${endDate}`); - const data = await response.json(); - setChartData(data); - }; - - useEffect(() => { - fetchData(); // Fetch data initially - }, []); - - const handleLoadData = () => { - fetchData(); // Fetch data when button is clicked - }; - - return ( -
-
- - setStartDate(e.target.value)} - /> - - setEndDate(e.target.value)} - /> - -
- -
- ); -}; - -export default AnalogInputsChart;