diff --git a/.env.development b/.env.development index e611154..e6bfda3 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.583 +NEXT_PUBLIC_APP_VERSION=1.6.584 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 f0cf527..894b05a 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.583 +NEXT_PUBLIC_APP_VERSION=1.6.584 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0994668..0b23476 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [1.6.584] – 2025-07-10 + +- feat: DetailModal um Min/Max/Durchschnitt ergänzt + +- Chart zeigt jetzt zusätzlich zu Messwert auch Minimal-, Maximal- und Durchschnittswerte an +- Datenstruktur an Redux angepasst (i, a, g) +- Darstellung entspricht jetzt LoopMeasurementChart + +--- ## [1.6.583] – 2025-07-10 - eslintrc.json : "@typescript-eslint/no-unused-vars": "warn" diff --git a/components/main/system/DetailModal.tsx b/components/main/system/DetailModal.tsx index 57a0399..6d41f6d 100644 --- a/components/main/system/DetailModal.tsx +++ b/components/main/system/DetailModal.tsx @@ -6,6 +6,12 @@ import { useSelector, useDispatch } from "react-redux"; import { RootState } from "@/redux/store"; import { Listbox } from "@headlessui/react"; import { setFullScreen } from "@/redux/slices/kabelueberwachungChartSlice"; +type ReduxDataEntry = { + t: string; + i: number; + a?: number; // Maximalwert + g?: number; // Durchschnittswert +}; import { Chart as ChartJS, @@ -133,8 +139,6 @@ type Props = { setZeitraum: (typ: "DIA0" | "DIA1" | "DIA2") => void; }; -type ReduxDataEntry = { t: string; i: number }; - export const DetailModal = ({ isOpen, selectedKey, diff --git a/package-lock.json b/package-lock.json index ab952e7..8d3dc3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.583", + "version": "1.6.584", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.583", + "version": "1.6.584", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index f2d7692..e86e093 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.583", + "version": "1.6.584", "private": true, "scripts": { "dev": "next dev",