diff --git a/.env.development b/.env.development index 87ffeeb..f89ca60 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.560 +NEXT_PUBLIC_APP_VERSION=1.6.561 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 6bb692d..36cb1e9 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.560 +NEXT_PUBLIC_APP_VERSION=1.6.561 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0751140..55d447a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [1.6.561] – 2025-07-08 + +- fix: sofortige visuelle Aktivierung der Navigationsbuttons beim Klick + +- activeLink direkt beim Klick auf Link setzen, statt auf usePathname zu warten +- verbessert visuelles Feedback bei Navigation +- behebt kurze Verzögerung beim Wechsel der aktiven Navigation + +--- ## [1.6.560] – 2025-07-08 - feat: Verwende fetch statt window.location.href für Digitalausgang-Schalteraktionen diff --git a/package-lock.json b/package-lock.json index ada991b..db983a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.560", + "version": "1.6.561", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.560", + "version": "1.6.561", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 5eddb24..0e863d4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.560", + "version": "1.6.561", "private": true, "scripts": { "dev": "next dev", diff --git a/pages/_app.tsx b/pages/_app.tsx index 3d273c3..3a230e9 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -15,6 +15,7 @@ import Footer from "@/components/footer/Footer"; // Thunks importieren import { getKueDataThunk } from "@/redux/thunks/getKueDataThunk"; import { getAnalogInputsThunk } from "@/redux/thunks/getAnalogInputsThunk"; +import { getDigitalOutputsThunk } from "@/redux/thunks/getDigitalOutputsThunk"; import { getAnalogInputsHistoryThunk } from "@/redux/thunks/getAnalogInputsHistoryThunk"; import { getLast20MessagesThunk } from "@/redux/thunks/getLast20MessagesThunk"; import { getOpcUaSettingsThunk } from "@/redux/thunks/getOpcUaSettingsThunk"; @@ -83,6 +84,8 @@ function AppContent({ dispatch(getKueDataThunk()); } else if (pathname.includes("analogInputs")) { dispatch(getAnalogInputsThunk()); + } else if (pathname.includes("digitalOutputs")) { + dispatch(getDigitalOutputsThunk()); } else if (pathname.includes("analogHistory")) { dispatch(getAnalogInputsHistoryThunk()); } else if (pathname.includes("dashboard")) {