diff --git a/.env.development b/.env.development index 2ffd293cd..374563d86 100644 --- a/.env.development +++ b/.env.development @@ -7,7 +7,7 @@ DB_NAME=talas_v5 DB_PORT=3306 # Public Settings (Client braucht IP/Domain) , Variablen mit dem Präfix "NEXT_PUBLIC" ist in Browser sichtbar -NEXT_PUBLIC_DEBUG_LOG=false +NEXT_PUBLIC_DEBUG_LOG=true @@ -25,4 +25,4 @@ NEXT_PUBLIC_USE_MOCKS=true NEXT_PUBLIC_BASE_PATH=/talas5 # Oder leer lassen für direkten Zugriff -> NEXT_PUBLIC_BASE_PATH= # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.1.288 +NEXT_PUBLIC_APP_VERSION=1.1.289 diff --git a/.env.production b/.env.production index 189dc1eaf..097c26520 100644 --- a/.env.production +++ b/.env.production @@ -26,4 +26,4 @@ NEXT_PUBLIC_BASE_PATH=/talas5 # Oder leer lassen für direkten Zugriff -> NEXT_PUBLIC_BASE_PATH= # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.1.288 \ No newline at end of file +NEXT_PUBLIC_APP_VERSION=1.1.289 \ No newline at end of file diff --git a/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.js b/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.js index 97d420ff4..cd4de84e0 100644 --- a/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.js +++ b/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.js @@ -144,7 +144,8 @@ function MapLayersControlPanel() { //------------------------------ useEffect(() => { if (process.env.NEXT_PUBLIC_DEBUG_LOG === "true") { - console.log("🔍 GisStationsStaticDistrict Inhalt:", GisStationsStaticDistrict); + window.__debug = window.__debug || {}; + window.__debug.gisStations = GisStationsStaticDistrict; } if (!GisStationsStaticDistrict) { @@ -191,6 +192,7 @@ function MapLayersControlPanel() { ); } }, [GisStationsStaticDistrict]); + //--------------------------- //--------------------------- return ( diff --git a/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md b/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md index 3acf17416..44ec03652 100644 --- a/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md +++ b/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md @@ -9,6 +9,8 @@ Bearbeitungsmodus und Stationsauswahl. --- +## 🧩 UI-Struktur + ![Map layers controll panel](../../../screenshots/MapLayersControlPanel.png) --- @@ -78,25 +80,10 @@ Das `MapLayersControlPanel` ermöglicht Nutzern: --- -## 🧩 UI-Struktur - -```plaintext -[Dropdown: Station wählen] -[🟩 EditModeToggle] [🔍 Expand-Icon] - -[ ] GIS-System 1 -[ ] GIS-System 2 - └─ [ ] Kabelstrecken (falls "TALAS") - -[ ] POIs -``` - ---- - ## 🐞 Debug-Hinweise - Debug-Logs: - `console.log("🔍 GisStationsStaticDistrict Inhalt:", ...)` + `__debug.gisStations` werden ausgegeben, um sicherzustellen, dass Daten korrekt geladen wurden - Warnungen: @@ -114,6 +101,7 @@ Das `MapLayersControlPanel` ermöglicht Nutzern: ## 📄 Verwendete Komponenten +- `MapLayersControlPanel` - `EditModeToggle` – Schaltfläche für Umschalten des Bearbeitungsmodus --- diff --git a/package-lock.json b/package-lock.json index e600908d3..b82f79a0a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nodemap", - "version": "1.1.288", + "version": "1.1.289", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nodemap", - "version": "1.1.288", + "version": "1.1.289", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", diff --git a/package.json b/package.json index fbdf6071c..655fe884e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodemap", - "version": "1.1.288", + "version": "1.1.289", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0",