From ba0cb732d90a1eecbd248fb9d4f788df71710147 Mon Sep 17 00:00:00 2001 From: ISA Date: Wed, 13 Aug 2025 08:54:34 +0200 Subject: [PATCH] =?UTF-8?q?npm=20run=20dev=20und=20build=20ohne=20fehler?= =?UTF-8?q?=20durchgef=C3=BChrt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 2 +- .github/workflows/playwright.yml | 27 -------------------------- CHANGELOG.md | 5 +++++ components/main/system/DetailModal.tsx | 4 +++- package-lock.json | 4 ++-- package.json | 2 +- 7 files changed, 13 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/playwright.yml diff --git a/.env.development b/.env.development index df5802f..194721b 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.702 +NEXT_PUBLIC_APP_VERSION=1.6.703 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 c48b02d..f7d20ab 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.702 +NEXT_PUBLIC_APP_VERSION=1.6.703 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml deleted file mode 100644 index 185aa86..0000000 --- a/.github/workflows/playwright.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Playwright Tests -on: - push: - branches: [main, master] - pull_request: - branches: [main, master] -jobs: - test: - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npm run test:e2e - - uses: actions/upload-artifact@v4 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f9cccc..81b690e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.703] – 2025-08-13 + +- OPC-Clients in settings + +--- ## [1.6.702] – 2025-08-12 - fix: Meldungen werden wieder angezeigt in KÜ Charts diff --git a/components/main/system/DetailModal.tsx b/components/main/system/DetailModal.tsx index 9c3bd58..75bac0f 100644 --- a/components/main/system/DetailModal.tsx +++ b/components/main/system/DetailModal.tsx @@ -142,6 +142,8 @@ export const DetailModal = ({ zeitraum, setZeitraum, }: Props) => { + // Stable empty reference to avoid React-Redux dev warning about selector returning new [] each call + const EMPTY_REDUX_DATA: ReadonlyArray = Object.freeze([]); const chartRef = useRef(null); const [chartData, setChartData] = useState({ datasets: [], @@ -165,7 +167,7 @@ export const DetailModal = ({ case "CPU Temp": return state.temperaturProzessor[zeitraum]; default: - return []; + return EMPTY_REDUX_DATA; } }) as ReduxDataEntry[]; diff --git a/package-lock.json b/package-lock.json index d4f55e7..ce92dc5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.702", + "version": "1.6.703", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.702", + "version": "1.6.703", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 2fc37b5..779a971 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.702", + "version": "1.6.703", "private": true, "scripts": { "dev": "next dev",