fix: Toast-Benachrichtigungen wiederhergestellt durch Einbindung von ToastContainer
- <ToastContainer /> in _app.tsx hinzugefügt - react-toastify funktioniert jetzt wie vorgesehen (z. B. Firmware-Update Feedback) - autoClose-Zeit für bessere Sichtbarkeit ggf. angepasst
This commit is contained in:
@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=false
|
NEXT_PUBLIC_EXPORT_STATIC=false
|
||||||
NEXT_PUBLIC_USE_CGI=false
|
NEXT_PUBLIC_USE_CGI=false
|
||||||
# App-Versionsnummer
|
# 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)
|
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||||
|
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
|
|||||||
NEXT_PUBLIC_EXPORT_STATIC=true
|
NEXT_PUBLIC_EXPORT_STATIC=true
|
||||||
NEXT_PUBLIC_USE_CGI=true
|
NEXT_PUBLIC_USE_CGI=true
|
||||||
# App-Versionsnummer
|
# App-Versionsnummer
|
||||||
NEXT_PUBLIC_APP_VERSION=1.6.522
|
NEXT_PUBLIC_APP_VERSION=1.6.523
|
||||||
NEXT_PUBLIC_CPL_MODE=production
|
NEXT_PUBLIC_CPL_MODE=production
|
||||||
10
CHANGELOG.md
10
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
|
## [1.6.522] – 2025-07-02
|
||||||
|
|
||||||
- feat: Auth-Status bei App-Start aus localStorage laden und in Redux speichern
|
- feat: Auth-Status bei App-Start aus localStorage laden und in Redux speichern
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.522",
|
"version": "1.6.523",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.522",
|
"version": "1.6.523",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.1.0",
|
"@fontsource/roboto": "^5.1.0",
|
||||||
"@iconify-icons/ri": "^1.2.10",
|
"@iconify-icons/ri": "^1.2.10",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.522",
|
"version": "1.6.523",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
@@ -25,6 +25,9 @@ import { getTDRChartDataByIdThunk } from "@/redux/thunks/getTDRChartDataByIdThun
|
|||||||
import { getLoopChartDataThunk } from "@/redux/thunks/getLoopChartDataThunk";
|
import { getLoopChartDataThunk } from "@/redux/thunks/getLoopChartDataThunk";
|
||||||
import { getAuthThunks } from "@/redux/thunks/getAuthThunks";
|
import { getAuthThunks } from "@/redux/thunks/getAuthThunks";
|
||||||
import Modal from "react-modal";
|
import Modal from "react-modal";
|
||||||
|
import { ToastContainer } from "react-toastify";
|
||||||
|
import "react-toastify/dist/ReactToastify.css";
|
||||||
|
|
||||||
if (typeof window !== "undefined") {
|
if (typeof window !== "undefined") {
|
||||||
Modal.setAppElement("#__next"); // oder "#root", je nach App-Struktur
|
Modal.setAppElement("#__next"); // oder "#root", je nach App-Struktur
|
||||||
}
|
}
|
||||||
@@ -113,6 +116,7 @@ function AppContent({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<Component {...pageProps} />
|
<Component {...pageProps} />
|
||||||
|
<ToastContainer position="top-right" autoClose={3000} />
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|||||||
Reference in New Issue
Block a user