diff --git a/.env.development b/.env.development index 6e5655d..9c858e4 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.522 +NEXT_PUBLIC_APP_VERSION=1.6.523 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 3d819fb..bad7e26 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.522 +NEXT_PUBLIC_APP_VERSION=1.6.523 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dafc418..8e16c06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## [1.6.523] – 2025-07-02 + +- fix: ConfirmModal-Zustand in Redux ausgelagert zur Stabilisierung + +- Neuen confirmModalSlice erstellt für globale Steuerung des Bestätigungsdialogs +- Zustand wird nun nicht mehr durch Re-Renders oder Komponentenneuaufbau zurückgesetzt +- ConfirmModal in KueEinstellung.tsx vollständig an Redux angebunden +- Flackern und automatisches Schließen nach 10–15 Sekunden dauerhaft behoben + +--- ## [1.6.522] – 2025-07-02 - feat: Auth-Status bei App-Start aus localStorage laden und in Redux speichern diff --git a/package-lock.json b/package-lock.json index 6709ee8..b94631a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.522", + "version": "1.6.523", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.522", + "version": "1.6.523", "dependencies": { "@fontsource/roboto": "^5.1.0", "@iconify-icons/ri": "^1.2.10", diff --git a/package.json b/package.json index 8dd6c2f..11fa70a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.522", + "version": "1.6.523", "private": true, "scripts": { "dev": "next dev", diff --git a/pages/_app.tsx b/pages/_app.tsx index 1b794df..1065d6d 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -25,6 +25,9 @@ import { getTDRChartDataByIdThunk } from "@/redux/thunks/getTDRChartDataByIdThun import { getLoopChartDataThunk } from "@/redux/thunks/getLoopChartDataThunk"; import { getAuthThunks } from "@/redux/thunks/getAuthThunks"; import Modal from "react-modal"; +import { ToastContainer } from "react-toastify"; +import "react-toastify/dist/ReactToastify.css"; + if (typeof window !== "undefined") { Modal.setAppElement("#__next"); // oder "#root", je nach App-Struktur } @@ -113,6 +116,7 @@ function AppContent({ )} +