From 937e7b67e9d51429d53d5d06e69b4bd80ffe9251 Mon Sep 17 00:00:00 2001 From: Ismail Ali Date: Wed, 2 Jul 2025 22:01:47 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Firmware-Update=20l=C3=A4uft=20nun=20exa?= =?UTF-8?q?kt=205=20Minuten=20bis=20100=E2=80=AF%=20Fortschritt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fehler behoben, bei dem das Firmware-Update nach wenigen Sekunden vorzeitig beendet wurde - Fortschrittsanzeige über Redux-Slice `firmwareProgressSlice` korrekt umgesetzt - Thunk `startFirmwareUpdateThunk` korrekt eingebunden und verwendet - UI zeigt stabile 5-minütige Progressbar wie erwartet --- .env.development | 2 +- .env.production | 2 +- CHANGELOG.md | 10 ++++++++++ .../kue705FO/modals/KueEinstellung.tsx | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.env.development b/.env.development index 718ab40..e4a1d66 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.525 +NEXT_PUBLIC_APP_VERSION=1.6.526 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 aa54173..e587716 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.525 +NEXT_PUBLIC_APP_VERSION=1.6.526 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index aa65015..2fbcdbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [1.6.526] – 2025-07-02 + +- fix: Firmware-Update läuft nun exakt 5 Minuten bis 100 % Fortschritt + +- Fehler behoben, bei dem das Firmware-Update nach wenigen Sekunden vorzeitig beendet wurde +- Fortschrittsanzeige über Redux-Slice `firmwareProgressSlice` korrekt umgesetzt +- Thunk `startFirmwareUpdateThunk` korrekt eingebunden und verwendet +- UI zeigt stabile 5-minütige Progressbar wie erwartet + +--- ## [1.6.525] – 2025-07-02 - fix: Toast-Benachrichtigungen wiederhergestellt durch Einbindung von ToastContainer diff --git a/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx b/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx index 32c8ea9..5701a59 100644 --- a/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx +++ b/components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx @@ -2,7 +2,7 @@ // components/main/kabelueberwachung/kue705FO/modals/KueEinstellung.tsx import { useState } from "react"; import { useDispatch, useSelector } from "react-redux"; -import type { RootState } from "../../../../../redux/store"; +import type { RootState, AppDispatch } from "../../../../../redux/store"; import handleSave from "../handlers/handleSave"; import handleDisplayEinschalten from "../handlers/handleDisplayEinschalten"; import firmwareUpdate from "../handlers/firmwareUpdate"; @@ -39,7 +39,7 @@ export default function KueEinstellung({ onClose = () => {}, onModulNameChange, }: Props) { - const dispatch = useDispatch(); + const dispatch = useDispatch(); const { kueID, kueName, diff --git a/package-lock.json b/package-lock.json index 10747a9..d2752fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.525", + "version": "1.6.526", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.525", + "version": "1.6.526", "dependencies": { "@fontsource/roboto": "^5.1.0", "@iconify-icons/ri": "^1.2.10", diff --git a/package.json b/package.json index 915c0c9..292b6b7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.525", + "version": "1.6.526", "private": true, "scripts": { "dev": "next dev",