fix: call digitalOutputs from _app.tsx to show immediately without delay
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.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)
|
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.560
|
NEXT_PUBLIC_APP_VERSION=1.6.561
|
||||||
NEXT_PUBLIC_CPL_MODE=production
|
NEXT_PUBLIC_CPL_MODE=production
|
||||||
@@ -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
|
## [1.6.560] – 2025-07-08
|
||||||
|
|
||||||
- feat: Verwende fetch statt window.location.href für Digitalausgang-Schalteraktionen
|
- feat: Verwende fetch statt window.location.href für Digitalausgang-Schalteraktionen
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.560",
|
"version": "1.6.561",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.560",
|
"version": "1.6.561",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/roboto": "^5.1.0",
|
"@fontsource/roboto": "^5.1.0",
|
||||||
"@headlessui/react": "^2.2.4",
|
"@headlessui/react": "^2.2.4",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cpl-v4",
|
"name": "cpl-v4",
|
||||||
"version": "1.6.560",
|
"version": "1.6.561",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import Footer from "@/components/footer/Footer";
|
|||||||
// Thunks importieren
|
// Thunks importieren
|
||||||
import { getKueDataThunk } from "@/redux/thunks/getKueDataThunk";
|
import { getKueDataThunk } from "@/redux/thunks/getKueDataThunk";
|
||||||
import { getAnalogInputsThunk } from "@/redux/thunks/getAnalogInputsThunk";
|
import { getAnalogInputsThunk } from "@/redux/thunks/getAnalogInputsThunk";
|
||||||
|
import { getDigitalOutputsThunk } from "@/redux/thunks/getDigitalOutputsThunk";
|
||||||
import { getAnalogInputsHistoryThunk } from "@/redux/thunks/getAnalogInputsHistoryThunk";
|
import { getAnalogInputsHistoryThunk } from "@/redux/thunks/getAnalogInputsHistoryThunk";
|
||||||
import { getLast20MessagesThunk } from "@/redux/thunks/getLast20MessagesThunk";
|
import { getLast20MessagesThunk } from "@/redux/thunks/getLast20MessagesThunk";
|
||||||
import { getOpcUaSettingsThunk } from "@/redux/thunks/getOpcUaSettingsThunk";
|
import { getOpcUaSettingsThunk } from "@/redux/thunks/getOpcUaSettingsThunk";
|
||||||
@@ -83,6 +84,8 @@ function AppContent({
|
|||||||
dispatch(getKueDataThunk());
|
dispatch(getKueDataThunk());
|
||||||
} else if (pathname.includes("analogInputs")) {
|
} else if (pathname.includes("analogInputs")) {
|
||||||
dispatch(getAnalogInputsThunk());
|
dispatch(getAnalogInputsThunk());
|
||||||
|
} else if (pathname.includes("digitalOutputs")) {
|
||||||
|
dispatch(getDigitalOutputsThunk());
|
||||||
} else if (pathname.includes("analogHistory")) {
|
} else if (pathname.includes("analogHistory")) {
|
||||||
dispatch(getAnalogInputsHistoryThunk());
|
dispatch(getAnalogInputsHistoryThunk());
|
||||||
} else if (pathname.includes("dashboard")) {
|
} else if (pathname.includes("dashboard")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user