diff --git a/.env.development b/.env.development index be7000ea2..52a11fef2 100644 --- a/.env.development +++ b/.env.development @@ -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.284 +NEXT_PUBLIC_APP_VERSION=1.1.285 diff --git a/.env.production b/.env.production index e8633d676..2f656f136 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.284 \ No newline at end of file +NEXT_PUBLIC_APP_VERSION=1.1.285 \ No newline at end of file diff --git a/_index.md b/_index.md new file mode 100644 index 000000000..ad4da64e5 --- /dev/null +++ b/_index.md @@ -0,0 +1,55 @@ +# 🧭 NodeMap Dokumentationsübersicht + +- [docs](docs/README.md) +- [architecture](docs/architecture/README.md) +- [components](docs/components/README.md) +- [contextmenu](docs/components/contextmenu/README.md) +- [gisPolylines](docs/components/gisPolylines/README.md) +- [icons](docs/components/gisPolylines/icons/README.md) +- [overlapping](docs/components/icons/devices/overlapping/README.md) +- [mainComponent](docs/components/mainComponent/README.md) +- [hooks](docs/components/mainComponent/hooks/README.md) +- [pois](docs/components/pois/README.md) +- [uiWidgets](docs/components/uiWidgets/README.md) +- [mapLayersControlPanel](docs/components/uiWidgets/mapLayersControlPanel/README.md) +- [config](docs/config/README.md) +- [guide](docs/guide/README.md) +- [hooks](docs/hooks/README.md) +- [layers](docs/hooks/layers/README.md) +- [pages](docs/pages/README.md) +- [api](docs/pages/api/README.md) +- [talas_v5_DB](docs/pages/api/talas_v5_DB/README.md) +- [area](docs/pages/api/talas_v5_DB/area/README.md) +- [device](docs/pages/api/talas_v5_DB/device/README.md) +- [gisLines](docs/pages/api/talas_v5_DB/gisLines/README.md) +- [locationDevice](docs/pages/api/talas_v5_DB/locationDevice/README.md) +- [poiTyp](docs/pages/api/talas_v5_DB/poiTyp/README.md) +- [pois](docs/pages/api/talas_v5_DB/pois/README.md) +- [station](docs/pages/api/talas_v5_DB/station/README.md) +- [redux](docs/redux/README.md) +- [slices](docs/redux/slices/README.md) +- [database](docs/redux/slices/database/README.md) +- [area](docs/redux/slices/database/area/README.md) +- [locationDevice](docs/redux/slices/database/locationDevice/README.md) +- [pois](docs/redux/slices/database/pois/README.md) +- [polylines](docs/redux/slices/database/polylines/README.md) +- [mapLayers](docs/redux/slices/mapLayers/README.md) +- [webService](docs/redux/slices/webService/README.md) +- [database](docs/redux/thunks/database/README.md) +- [area](docs/redux/thunks/database/area/README.md) +- [locationDevice](docs/redux/thunks/database/locationDevice/README.md) +- [pois](docs/redux/thunks/database/pois/README.md) +- [polylines](docs/redux/thunks/database/polylines/README.md) +- [webservice](docs/redux/thunks/webservice/README.md) +- [database](docs/services/database/README.md) +- [area](docs/services/database/area/README.md) +- [locationDevice](docs/services/database/locationDevice/README.md) +- [pois](docs/services/database/pois/README.md) +- [polylines](docs/services/database/polylines/README.md) +- [utils](docs/services/utils/README.md) +- [webservice](docs/services/webservice/README.md) +- [standards](docs/standards/README.md) +- [troubleshooting](docs/troubleshooting/README.md) +- [utils](docs/utils/README.md) +- [devices](docs/utils/devices/README.md) +- [polylines](docs/utils/polylines/README.md) \ No newline at end of file diff --git a/add-footer.ps1 b/add-footer.ps1 new file mode 100644 index 000000000..751d94c13 --- /dev/null +++ b/add-footer.ps1 @@ -0,0 +1,27 @@ +# Pfad zum docs-Ordner anpassen +$root = "C:\Users\isa.LTW\Desktop\24.06.2025\NodeMap\24.06.2025 NodeMap\docs" + +# Alle .md-Dateien rekursiv holen, außer README.md +$mdFiles = Get-ChildItem -Path $root -Recurse -Filter *.md | Where-Object { $_.Name -ne "README.md" } + +foreach ($file in $mdFiles) { + $content = Get-Content $file.FullName -Raw + + if ($content -notmatch "\[Zurück zur Übersicht\]") { + # Pfad relativ zum Root-Ordner + $relativePath = $file.DirectoryName.Substring($root.Length).TrimStart('\') + $depth = if ($relativePath) { $relativePath.Split('\').Count } else { 0 } + + # Rücksprungpfad berechnen + $backPath = ("../" * $depth) + "README.md" + + # Footer-Text (ohne Emojis!) + $footer = "`n---`n`n[Zurück zur Übersicht]($backPath)`n`n" + + # Footer anhängen + Add-Content -Path $file.FullName -Value $footer + Write-Host "✅ Footer hinzugefügt: $($file.FullName)" + } else { + Write-Host "🔄 Footer bereits vorhanden: $($file.FullName)" + } +} diff --git a/docs/DynamischeMarkerErklaerung.md b/docs/DynamischeMarkerErklaerung.md index f1680956b..d4467f6ba 100644 --- a/docs/DynamischeMarkerErklaerung.md +++ b/docs/DynamischeMarkerErklaerung.md @@ -1,6 +1,7 @@ # 🗺️ Dynamische Marker-Verwaltung in MapComponent.js (NodeMap) -Dieses Dokument erklärt, wie Marker dynamisch erstellt, verwaltet und in `MapComponent.js` verwendet werden – inklusive Datenfluss und OverlappingMarkerSpiderfier-Integration. +Dieses Dokument erklärt, wie Marker dynamisch erstellt, verwaltet und in `MapComponent.js` verwendet +werden – inklusive Datenfluss und OverlappingMarkerSpiderfier-Integration. --- @@ -17,7 +18,13 @@ useLayerVisibility(map, talasMarkers, mapLayersVisibility, "TALAS", oms); Jetzt (dynamisch): ```js -const { markerStates, layerRefs } = useDynamicDeviceLayers(map, GisSystemStatic, mapLayersVisibility, priorityConfig, oms); +const { markerStates, layerRefs } = useDynamicDeviceLayers( + map, + GisSystemStatic, + mapLayersVisibility, + priorityConfig, + oms +); ``` --- @@ -96,3 +103,7 @@ flowchart TD --- Letztes Update: automatisch generiert mit ChatGPT (OpenAI) + +--- + +[Zurück zur Übersicht](README.md) diff --git a/docs/README.md b/docs/README.md index c83d780c4..a0a1534fe 100644 --- a/docs/README.md +++ b/docs/README.md @@ -158,8 +158,3 @@ Zudem gibt es eine Begriffsliste zur Orientierung: Wenn du neu im Projekt bist, beginne mit dem Kapitel **Projektstruktur & Setup** und folge dann über die Webservices bis zu den Komponenten. - ---- - -Möchtest du eine `.md`-Datei exportiert zum Einfügen in dein Projektverzeichnis? Ich kann dir sofort -eine Download-Version erstellen. Sag einfach: „Ja, bitte als Datei“. diff --git a/docs/architecture.md b/docs/architecture.md index 77041ac2a..d3fceb17d 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -301,3 +301,7 @@ sequenceDiagram --- > Letzte Änderung: `{{heutiges Datum}}` von Ismail Ali + +--- + +[Zurück zur Übersicht](README.md) diff --git a/docs/architecture/README.md b/docs/architecture/README.md new file mode 100644 index 000000000..7f11f3609 --- /dev/null +++ b/docs/architecture/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/architecture + +- [device-layer-connection](device-layer-connection.md) \ No newline at end of file diff --git a/docs/architecture/device-layer-connection.md b/docs/architecture/device-layer-connection.md index 0037559d4..15839ea1a 100644 --- a/docs/architecture/device-layer-connection.md +++ b/docs/architecture/device-layer-connection.md @@ -1,6 +1,7 @@ # 📡 Architektur: Verbindung GIS-System & GIS-Station -Dieses Diagramm zeigt den Ablauf, wie Geräte (Marker) auf der Karte über die ID (System gegen IdSystem) korrekt geladen und sichtbar gemacht werden. +Dieses Diagramm zeigt den Ablauf, wie Geräte (Marker) auf der Karte über die ID (System gegen +IdSystem) korrekt geladen und sichtbar gemacht werden. ```mermaid flowchart TD @@ -16,3 +17,7 @@ flowchart TD end I -->|Sichtbarkeit steuert Anzeige| E ``` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/build-and-deploy.md b/docs/build-and-deploy.md index 8ce4da561..bdc37a9b5 100644 --- a/docs/build-and-deploy.md +++ b/docs/build-and-deploy.md @@ -2,7 +2,8 @@ # 🛠 Deployment & Build-Verhalten (Next.js) -Diese Datei beschreibt, welche Projektdateien in den Build (`.next/`) aufgenommen werden und welche nicht. +Diese Datei beschreibt, welche Projektdateien in den Build (`.next/`) aufgenommen werden und welche +nicht. Ziel: Klarheit für Onboarding, Deployment-ZIP-Erstellung oder CI/CD. --- @@ -44,3 +45,7 @@ package.json package-lock.json .env.local ``` + +--- + +[Zurück zur Übersicht](README.md) diff --git a/docs/checklist.md b/docs/checklist.md index 62133ddbe..bb15efd8c 100644 --- a/docs/checklist.md +++ b/docs/checklist.md @@ -40,3 +40,7 @@ Bevor du einen Feature-, Refactor- oder Bugfix-Commit abschließt, geh diese Lis --- Du kannst diese Checkliste in jedem Projekt beibehalten und auf deine Arbeitsweise anpassen. + +--- + +[Zurück zur Übersicht](README.md) diff --git a/docs/components/TestScript.md b/docs/components/TestScript.md index c8184a986..a88ad8f85 100644 --- a/docs/components/TestScript.md +++ b/docs/components/TestScript.md @@ -6,7 +6,8 @@ Ein einfaches React-Testskript zur Laufzeitüberprüfung von Codefragmenten in ` ## Zweck -Dieses Skript durchsucht die geladene `setupPolylines.js`-Datei (per `raw-loader`) nach bestimmten Kontextmenüeinträgen: +Dieses Skript durchsucht die geladene `setupPolylines.js`-Datei (per `raw-loader`) nach bestimmten +Kontextmenüeinträgen: - „Stützpunkt entfernen“ - „Stützpunkt hinzufügen“ @@ -19,11 +20,11 @@ Dieses Skript durchsucht die geladene `setupPolylines.js`-Datei (per `raw-loader ## Ausgaben -| Zustand | Beschreibung | -|-------------|-----------------------------------------------------| -| ✅ Test bestanden | Der gesuchte Text wurde gefunden | -| ❌ Test fehlgeschlagen | Der gesuchte Text fehlt in der Datei | -| ℹ️ Info | Neutrale Zusatzinformationen in der Konsole | +| Zustand | Beschreibung | +| ---------------------- | ------------------------------------------- | +| ✅ Test bestanden | Der gesuchte Text wurde gefunden | +| ❌ Test fehlgeschlagen | Der gesuchte Text fehlt in der Datei | +| ℹ️ Info | Neutrale Zusatzinformationen in der Konsole | ## Besonderheiten @@ -42,3 +43,6 @@ Dieses Skript durchsucht die geladene `setupPolylines.js`-Datei (per `raw-loader - Wird automatisch beim Mount (via `useEffect`) ausgeführt - `return null` → keine sichtbare Ausgabe +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/components/contextmenu/useMapContextMenu.md b/docs/components/contextmenu/useMapContextMenu.md index 4c88560ee..d22bb1b9c 100644 --- a/docs/components/contextmenu/useMapContextMenu.md +++ b/docs/components/contextmenu/useMapContextMenu.md @@ -18,7 +18,15 @@ Wird typischerweise in `initializeMap()` oder `MapComponent` verwendet. ## Parameter ```js -addItemsToMapContextMenu(map, menuItemAdded, setMenuItemAdded, setShowCoordinatesModal, setShowPoiModal, setPopupCoordinates, openPopupWithCoordinates); +addItemsToMapContextMenu( + map, + menuItemAdded, + setMenuItemAdded, + setShowCoordinatesModal, + setShowPoiModal, + setPopupCoordinates, + openPopupWithCoordinates +); ``` ## Besonderheiten @@ -28,3 +36,7 @@ addItemsToMapContextMenu(map, menuItemAdded, setMenuItemAdded, setShowCoordinate - Modularer Aufbau: `openPopupWithCoordinates` wird extern übergeben 🔙 [Zurück zu contextmenu ](./README.md) + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/components/gisPolylines/PolylineContextMenu.md b/docs/components/gisPolylines/PolylineContextMenu.md index 32ab16ae0..af3e16d91 100644 --- a/docs/components/gisPolylines/PolylineContextMenu.md +++ b/docs/components/gisPolylines/PolylineContextMenu.md @@ -16,12 +16,12 @@ Wird dynamisch positioniert anhand der Klickkoordinaten (`position.x`, `position ## Props -| Prop | Typ | Beschreibung | -|---------------|-----------|----------------------------------------------------| -| `position` | `{x, y}` | Position in Pixelkoordinaten (z. B. von Mausereignis) | -| `onAddPoint` | `function`| Handler für „Stützpunkt hinzufügen“ | -| `onRemovePoint` | `function` | Handler für „Stützpunkt entfernen“ | -| `onClose` | `function`| Handler zum Schließen des Menüs | +| Prop | Typ | Beschreibung | +| --------------- | ---------- | ----------------------------------------------------- | +| `position` | `{x, y}` | Position in Pixelkoordinaten (z. B. von Mausereignis) | +| `onAddPoint` | `function` | Handler für „Stützpunkt hinzufügen“ | +| `onRemovePoint` | `function` | Handler für „Stützpunkt entfernen“ | +| `onClose` | `function` | Handler zum Schließen des Menüs | ## Styling @@ -31,4 +31,9 @@ Wird dynamisch positioniert anhand der Klickkoordinaten (`position.x`, `position ## Verwendung -Eingebettet z. B. in `setupPolylines.js` oder `PolylineLayerManager`, um rechte Mausklicks auf Linien zu behandeln. +Eingebettet z. B. in `setupPolylines.js` oder `PolylineLayerManager`, um rechte Mausklicks auf +Linien zu behandeln. + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/components/gisPolylines/README.md b/docs/components/gisPolylines/README.md new file mode 100644 index 000000000..490cee9dc --- /dev/null +++ b/docs/components/gisPolylines/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/components/gisPolylines + +- [PolylineContextMenu](PolylineContextMenu.md) \ No newline at end of file diff --git a/docs/components/gisPolylines/icons/CircleIcon.md b/docs/components/gisPolylines/icons/CircleIcon.md index 6b063073c..f53cf3533 100644 --- a/docs/components/gisPolylines/icons/CircleIcon.md +++ b/docs/components/gisPolylines/icons/CircleIcon.md @@ -14,3 +14,6 @@ Ein einfacher, grauer runder Marker als Stützpunkt in einer Polyline. Wird in Polylinien als Zwischenpunkt gesetzt. Inaktiv, aber sichtbar. +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/components/gisPolylines/icons/EndIcon.md b/docs/components/gisPolylines/icons/EndIcon.md index 28189bd5a..e3209407a 100644 --- a/docs/components/gisPolylines/icons/EndIcon.md +++ b/docs/components/gisPolylines/icons/EndIcon.md @@ -13,3 +13,7 @@ Ein Viereck zur Markierung des Endpunkts einer Polyline. ## Verwendung Wird am letzten Punkt einer Linie gesetzt, z. B. `lineData.coordinates[line.length - 1]` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/components/gisPolylines/icons/README.md b/docs/components/gisPolylines/icons/README.md new file mode 100644 index 000000000..b3d27b647 --- /dev/null +++ b/docs/components/gisPolylines/icons/README.md @@ -0,0 +1,6 @@ +# 📄 Übersicht: docs/components/gisPolylines/icons + +- [CircleIcon](CircleIcon.md) +- [EndIcon](EndIcon.md) +- [StartIcon](StartIcon.md) +- [SupportPointIcons](SupportPointIcons.md) \ No newline at end of file diff --git a/docs/components/gisPolylines/icons/StartIcon.md b/docs/components/gisPolylines/icons/StartIcon.md index a09d2a3d9..4f8530169 100644 --- a/docs/components/gisPolylines/icons/StartIcon.md +++ b/docs/components/gisPolylines/icons/StartIcon.md @@ -13,3 +13,7 @@ Ein SVG-Dreieck zur Markierung des Startpunkts einer Polyline. ## Verwendung Wird am ersten Punkt einer Polyline platziert. + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/components/gisPolylines/icons/SupportPointIcons.md b/docs/components/gisPolylines/icons/SupportPointIcons.md index 1e0e102a6..ce93917fe 100644 --- a/docs/components/gisPolylines/icons/SupportPointIcons.md +++ b/docs/components/gisPolylines/icons/SupportPointIcons.md @@ -18,3 +18,7 @@ Definiert zwei Icons für interaktive Stützpunkte in einer Polyline: - Hinzufügen/Entfernen von Zwischenpunkten in der Bearbeitungsansicht (editMode) - Marker erscheinen z. B. bei Maus-Hover oder per Kontextmenü + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/components/icons/devices/overlapping/PlusRoundIcon.md b/docs/components/icons/devices/overlapping/PlusRoundIcon.md index 42d3b2569..130cfc3a8 100644 --- a/docs/components/icons/devices/overlapping/PlusRoundIcon.md +++ b/docs/components/icons/devices/overlapping/PlusRoundIcon.md @@ -7,12 +7,12 @@ Wird für zusätzliche UI-Markierungen auf Geräten oder überlappenden Icons ve ## Eigenschaften -| Attribut | Wert | -|--------------|--------------------| -| `iconUrl` | `/img/plus_round.png` | -| `iconSize` | `[22, 22]` | -| `iconAnchor` | `[25, 55]` | -| `className` | `absolute top-0 left-0 z-10` (Tailwind) +| Attribut | Wert | +| ------------ | --------------------------------------- | +| `iconUrl` | `/img/plus_round.png` | +| `iconSize` | `[22, 22]` | +| `iconAnchor` | `[25, 55]` | +| `className` | `absolute top-0 left-0 z-10` (Tailwind) | ## Verwendung @@ -24,3 +24,7 @@ Wird für zusätzliche UI-Markierungen auf Geräten oder überlappenden Icons ve - Die Bilddatei `/img/plus_round.png` muss vorhanden sein - Kann bei Bedarf dynamisch durch ein anderes Icon ersetzt werden + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/components/icons/devices/overlapping/README.md b/docs/components/icons/devices/overlapping/README.md new file mode 100644 index 000000000..c935e7879 --- /dev/null +++ b/docs/components/icons/devices/overlapping/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/components/icons/devices/overlapping + +- [PlusRoundIcon](PlusRoundIcon.md) \ No newline at end of file diff --git a/docs/components/mainComponent/MapComponent.md b/docs/components/mainComponent/MapComponent.md index 7099b50c9..39a515ee1 100644 --- a/docs/components/mainComponent/MapComponent.md +++ b/docs/components/mainComponent/MapComponent.md @@ -69,3 +69,7 @@ Verwendet umfangreiche Redux-Slices zur Steuerung von: --- 📄 Pfad: `/components/mainComponent/MapComponent.js` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/components/mainComponent/README.md b/docs/components/mainComponent/README.md new file mode 100644 index 000000000..cc16f859c --- /dev/null +++ b/docs/components/mainComponent/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/components/mainComponent + +- [MapComponent](MapComponent.md) \ No newline at end of file diff --git a/docs/components/mainComponent/hooks/README.md b/docs/components/mainComponent/hooks/README.md new file mode 100644 index 000000000..feb65033a --- /dev/null +++ b/docs/components/mainComponent/hooks/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/components/mainComponent/hooks + +- [useInitializeMap](useInitializeMap.md) \ No newline at end of file diff --git a/docs/components/mainComponent/hooks/useInitializeMap.md b/docs/components/mainComponent/hooks/useInitializeMap.md index 05b5acfa9..74c55cba9 100644 --- a/docs/components/mainComponent/hooks/useInitializeMap.md +++ b/docs/components/mainComponent/hooks/useInitializeMap.md @@ -3,7 +3,8 @@ # 🪄 useInitializeMap.js Custom React-Hook zur Initialisierung der Leaflet-Karte. -Ermöglicht die einfache Übergabe aller nötigen Parameter und abstrahiert die `initializeMap(...)`-Logik. +Ermöglicht die einfache Übergabe aller nötigen Parameter und abstrahiert die +`initializeMap(...)`-Logik. --- @@ -16,16 +17,16 @@ Ermöglicht die einfache Übergabe aller nötigen Parameter und abstrahiert die ## 🔧 Parameter -| Name | Typ | Beschreibung | -|--------------------------|------------|---------------------------------------------------| -| `map` | `LeafletMap` (Zustand) | Wird initialisiert, wenn `null` | -| `mapRef` | `ref` | Referenz auf `
` | -| `setMap` | `function` | Callback zum Setzen der Karteninstanz | -| `setOms` | `function` | Callback für OverlappingMarkerSpiderfier | -| `setMenuItemAdded` | `function` | Wird genutzt, um mehrfaches Menü-Setup zu verhindern | -| `addItemsToMapContextMenu` | `function` | Logik zum Hinzufügen von Kontextmenüeinträgen | -| `hasRights` | `boolean` | Steuerung, ob POI-Menüs angezeigt werden dürfen | -| `setPolylineEventsDisabled` | `function` | Aktiviert/Deaktiviert Polyline-Events global | +| Name | Typ | Beschreibung | +| --------------------------- | ---------------------- | ---------------------------------------------------- | +| `map` | `LeafletMap` (Zustand) | Wird initialisiert, wenn `null` | +| `mapRef` | `ref` | Referenz auf `
` | +| `setMap` | `function` | Callback zum Setzen der Karteninstanz | +| `setOms` | `function` | Callback für OverlappingMarkerSpiderfier | +| `setMenuItemAdded` | `function` | Wird genutzt, um mehrfaches Menü-Setup zu verhindern | +| `addItemsToMapContextMenu` | `function` | Logik zum Hinzufügen von Kontextmenüeinträgen | +| `hasRights` | `boolean` | Steuerung, ob POI-Menüs angezeigt werden dürfen | +| `setPolylineEventsDisabled` | `function` | Aktiviert/Deaktiviert Polyline-Events global | --- @@ -42,7 +43,7 @@ useInitializeMap( setMenuItemAdded, addItemsToMapContextMenu, hasRights, - (value) => dispatch(setDisabled(value)) + value => dispatch(setDisabled(value)) ); ``` @@ -51,3 +52,7 @@ useInitializeMap( ## 📁 Quelle Wrappt `initializeMap()` aus `/utils/initializeMap.js` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/components/pois/AddPOIModal.md b/docs/components/pois/AddPOIModal.md index 0a3017925..f82d376db 100644 --- a/docs/components/pois/AddPOIModal.md +++ b/docs/components/pois/AddPOIModal.md @@ -15,14 +15,17 @@ Die Koordinaten (`latlng`) werden automatisch übernommen. ## Props -| Prop | Typ | Beschreibung | -|----------|-----------|--------------------------------------------------| -| `onClose` | `function` | Schließt das Modal | -| `map` | `Leaflet` | (optional) zum Schließen evtl. offener Popups | -| `latlng` | `object` | Koordinaten für den neuen POI | +| Prop | Typ | Beschreibung | +| --------- | ---------- | --------------------------------------------- | +| `onClose` | `function` | Schließt das Modal | +| `map` | `Leaflet` | (optional) zum Schließen evtl. offener Popups | +| `latlng` | `object` | Koordinaten für den neuen POI | ## Redux - `fetchPoiTypThunk`, `fetchPoiIconsDataThunk` - `addPoiThunk`, `resetAddPoiStatus` +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/components/pois/PoiUpdateModal.md b/docs/components/pois/PoiUpdateModal.md index df17e5ec7..49d47afd1 100644 --- a/docs/components/pois/PoiUpdateModal.md +++ b/docs/components/pois/PoiUpdateModal.md @@ -13,10 +13,10 @@ Ein Dialog zur Aktualisierung oder Löschung bestehender POIs. ## Props -| Prop | Typ | Beschreibung | -|------------|-----------|---------------------------------------| -| `onClose` | `function`| Schließt das Modal | -| `poiData` | `object` | Bestehende POI-Daten zur Bearbeitung | +| Prop | Typ | Beschreibung | +| --------- | ---------- | ------------------------------------ | +| `onClose` | `function` | Schließt das Modal | +| `poiData` | `object` | Bestehende POI-Daten zur Bearbeitung | ## Redux @@ -27,3 +27,7 @@ Ein Dialog zur Aktualisierung oder Löschung bestehender POIs. - Dynamische Gerätegruppenfilterung basierend auf `mapLayersVisibility` - Formfelder mit `react-select` für bessere UX + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/components/pois/README.md b/docs/components/pois/README.md new file mode 100644 index 000000000..2eb8b2f37 --- /dev/null +++ b/docs/components/pois/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/components/pois + +- [AddPOIModal](AddPOIModal.md) +- [PoiUpdateModal](PoiUpdateModal.md) \ No newline at end of file diff --git a/docs/components/uiWidgets/CoordinateInput.md b/docs/components/uiWidgets/CoordinateInput.md index ebbb81513..ddf1f2ea2 100644 --- a/docs/components/uiWidgets/CoordinateInput.md +++ b/docs/components/uiWidgets/CoordinateInput.md @@ -2,8 +2,10 @@ # 📍 CoordinateInput.js -Die Komponente `CoordinateInput` stellt ein einfaches Eingabefeld für geografische Koordinaten (Latitude, Longitude) bereit. -Sie dient typischerweise dazu, einen bestimmten Punkt auf der Karte zu fokussieren bzw. zu markieren. +Die Komponente `CoordinateInput` stellt ein einfaches Eingabefeld für geografische Koordinaten +(Latitude, Longitude) bereit. +Sie dient typischerweise dazu, einen bestimmten Punkt auf der Karte zu fokussieren bzw. zu +markieren. --- @@ -85,7 +87,7 @@ Beispiel in einer Map-Komponente: ```jsx { + onCoordinatesSubmit={coords => { const [lat, lng] = coords.split(",").map(Number); map.setView([lat, lng], 16); // Leaflet }} @@ -99,3 +101,7 @@ Beispiel in einer Map-Komponente: - `MapComponent.js` – kann die übergebenen Koordinaten zur Zentrierung oder Marker-Erstellung nutzen --- + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/components/uiWidgets/README.md b/docs/components/uiWidgets/README.md new file mode 100644 index 000000000..79488b31f --- /dev/null +++ b/docs/components/uiWidgets/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/components/uiWidgets + +- [CoordinateInput](CoordinateInput.md) +- [VersionInfoModal](VersionInfoModal.md) \ No newline at end of file diff --git a/docs/components/uiWidgets/VersionInfoModal.md b/docs/components/uiWidgets/VersionInfoModal.md index e211afb8e..8e40b13f2 100644 --- a/docs/components/uiWidgets/VersionInfoModal.md +++ b/docs/components/uiWidgets/VersionInfoModal.md @@ -2,7 +2,8 @@ # 🪪 VersionInfoModal.js -Das `VersionInfoModal` ist ein modales Fenster zur Anzeige von Unternehmensinformationen und der aktuellen App-Version. +Das `VersionInfoModal` ist ein modales Fenster zur Anzeige von Unternehmensinformationen und der +aktuellen App-Version. Es wird meist im Footer oder als Info-Schaltfläche in der Benutzeroberfläche eingeblendet. --- @@ -38,8 +39,10 @@ Die Komponente informiert Nutzer über: ## 💡 Verhalten -- Wird `showVersionInfoModal` auf `true` gesetzt, erscheint das Modal zentriert über einem halbtransparenten Overlay -- Klick auf den Hintergrund (schwarzes Overlay) oder auf „Schließen“ führt `closeVersionInfoModal()` aus +- Wird `showVersionInfoModal` auf `true` gesetzt, erscheint das Modal zentriert über einem + halbtransparenten Overlay +- Klick auf den Hintergrund (schwarzes Overlay) oder auf „Schließen“ führt `closeVersionInfoModal()` + aus --- @@ -90,3 +93,7 @@ Die Komponente informiert Nutzer über: - Automatischer Import von Version via `process.env.NEXT_PUBLIC_APP_VERSION` --- + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/components/uiWidgets/mapLayersControlPanel/EditModeToggle.md b/docs/components/uiWidgets/mapLayersControlPanel/EditModeToggle.md index 237bf2d8c..16d1cb0e9 100644 --- a/docs/components/uiWidgets/mapLayersControlPanel/EditModeToggle.md +++ b/docs/components/uiWidgets/mapLayersControlPanel/EditModeToggle.md @@ -2,8 +2,10 @@ # ✏️ EditModeToggle.js -Die Komponente `EditModeToggle` stellt einen interaktiven Umschalter für den Bearbeitungsmodus bereit. -Sie ermöglicht das Ein- und Ausschalten des Modus, in dem POIs, Polylines (Strecken) und Bereiche bearbeitet werden können. +Die Komponente `EditModeToggle` stellt einen interaktiven Umschalter für den Bearbeitungsmodus +bereit. +Sie ermöglicht das Ein- und Ausschalten des Modus, in dem POIs, Polylines (Strecken) und Bereiche +bearbeitet werden können. --- @@ -79,7 +81,12 @@ const [editMode, setEditMode] = useState(() => localStorage.getItem("editMode") ## 📄 Verwandte Komponenten -- `MapLayersControlPanel.js`: liest `localStorage.editMode` und deaktiviert Layer-Checkboxen im aktiven Modus +- `MapLayersControlPanel.js`: liest `localStorage.editMode` und deaktiviert Layer-Checkboxen im + aktiven Modus - `PoiUpdateModal`, `AddPOIModal`: nutzen den Bearbeitungsmodus für UI-Freigabe --- + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md b/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md index 8f47f7b7e..118edfac4 100644 --- a/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md +++ b/docs/components/uiWidgets/mapLayersControlPanel/MapLayersControlPanel.md @@ -2,8 +2,10 @@ # 🧭 MapLayersControlPanel.js -Dieses UI-Widget zeigt eine interaktive Steuereinheit für Layer, POIs und Stationsbereiche auf der rechten Seite der Karte. -Es ist vollständig an den Redux-Store angebunden und reagiert auf Änderungen der Layer-Sichtbarkeit, Bearbeitungsmodus und Stationsauswahl. +Dieses UI-Widget zeigt eine interaktive Steuereinheit für Layer, POIs und Stationsbereiche auf der +rechten Seite der Karte. +Es ist vollständig an den Redux-Store angebunden und reagiert auf Änderungen der Layer-Sichtbarkeit, +Bearbeitungsmodus und Stationsauswahl. --- @@ -52,7 +54,8 @@ Das `MapLayersControlPanel` ermöglicht Nutzern: Sonderfall: `TALAS` erhält ein Untermenü für „Kabelstrecken“ - **Lokale Speicherung:** - Sichtbarkeiten, Bearbeitungsmodus und POI-Zustand werden in `localStorage` geschrieben und bei Initialisierung geladen + Sichtbarkeiten, Bearbeitungsmodus und POI-Zustand werden in `localStorage` geschrieben und bei + Initialisierung geladen - **Bearbeitungsmodus:** Wenn aktiv (`editMode === true`), sind Layer-Checkboxen deaktiviert @@ -148,3 +151,7 @@ Das `MapLayersControlPanel` ermöglicht Nutzern: - `redux/slices/database/pois/poiLayerVisibleSlice.js` --- + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/components/uiWidgets/mapLayersControlPanel/README.md b/docs/components/uiWidgets/mapLayersControlPanel/README.md new file mode 100644 index 000000000..e3ad2e35c --- /dev/null +++ b/docs/components/uiWidgets/mapLayersControlPanel/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/components/uiWidgets/mapLayersControlPanel + +- [EditModeToggle](EditModeToggle.md) +- [MapLayersControlPanel](MapLayersControlPanel.md) \ No newline at end of file diff --git a/docs/config/appVersion.md b/docs/config/appVersion.md index 092947d6f..97cde7218 100644 --- a/docs/config/appVersion.md +++ b/docs/config/appVersion.md @@ -2,7 +2,8 @@ # 📦 appVersion.js -Diese Datei exportiert die aktuelle App-Version, die an mehreren Stellen in der UI angezeigt werden kann – z. B. im `VersionInfoModal`. +Diese Datei exportiert die aktuelle App-Version, die an mehreren Stellen in der UI angezeigt werden +kann – z. B. im `VersionInfoModal`. ## Inhalt @@ -14,3 +15,7 @@ export const APP_VERSION = "1.1.193"; - Im Footer oder Info-Fenster - Vergleich von Client- vs. Serverversion + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/config/config.md b/docs/config/config.md index ca279618f..7c74cb5d6 100644 --- a/docs/config/config.md +++ b/docs/config/config.md @@ -31,7 +31,10 @@ Die Konfiguration entscheidet anhand des Modus: ```js const mode = process.env.NEXT_PUBLIC_API_PORT_MODE; -const serverURL = mode === "dev" ? `${window.location.protocol}//${window.location.hostname}:80` : `${window.location.origin}`; +const serverURL = + mode === "dev" + ? `${window.location.protocol}//${window.location.hostname}:80` + : `${window.location.origin}`; ``` → Dadurch funktioniert der Code ohne Anpassung bei IP-/Server-Wechseln oder Portunterschieden. @@ -58,3 +61,7 @@ const serverURL = mode === "dev" ? `${window.location.protocol}//${window.locati --- 📄 Pfad: `/docs/frontend/config/config.md` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/config/layers.md b/docs/config/layers.md index dca2328a3..79d0daee8 100644 --- a/docs/config/layers.md +++ b/docs/config/layers.md @@ -3,7 +3,8 @@ # 🗺️ layers.js Diese Datei definiert alle verfügbaren Leaflet-Layergruppen im Projekt. -Sie werden global als `MAP_LAYERS` exportiert und enthalten alle Systemtypen (TALAS, GMA, OTDR etc.). +Sie werden global als `MAP_LAYERS` exportiert und enthalten alle Systemtypen (TALAS, GMA, OTDR +etc.). ## Struktur @@ -19,3 +20,7 @@ export const MAP_LAYERS = { - Initialisierung der Leaflet-Karte - Zuweisung von Markern und Linien + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/config/paths.md b/docs/config/paths.md index 39dfd3ba7..678dc3c68 100644 --- a/docs/config/paths.md +++ b/docs/config/paths.md @@ -17,3 +17,7 @@ export const BASE_URL = BASE_PATH ? `/${BASE_PATH}` : ""; ## Nutzung - Für konsistente Pfadangaben im gesamten Projekt + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/config/urls.md b/docs/config/urls.md index ec94784eb..dc1505e09 100644 --- a/docs/config/urls.md +++ b/docs/config/urls.md @@ -16,3 +16,7 @@ Alle Endpunkte (API, Tiles, Server) werden ohne Port oder Hardcoding erzeugt. ## Hinweis Alle Berechnungen erfolgen nur **clientseitig** (`typeof window !== "undefined"`). + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/env.local..md b/docs/env.local..md index 8cff0f562..f57fa729b 100644 --- a/docs/env.local..md +++ b/docs/env.local..md @@ -5,3 +5,7 @@ - `NEXT_PUBLIC_API_HOST` → Webservice-DNS oder IP - `NEXT_PUBLIC_API_BASE_PATH` → z. B. `talas5`, per Deployment steuerbar - `DB_NAME` → hängt vom Kundenprojekt ab + +--- + +[Zurück zur Übersicht](README.md) diff --git a/docs/guide/README.md b/docs/guide/README.md new file mode 100644 index 000000000..2d6a36095 --- /dev/null +++ b/docs/guide/README.md @@ -0,0 +1,13 @@ +# 📄 Übersicht: docs/guide + +- [dependencies](dependencies.md) +- [env](env.md) +- [faq](faq.md) +- [glossar](glossar.md) +- [mock-data](mock-data.md) +- [onboarding-checklist](onboarding-checklist.md) +- [project-structure](project-structure.md) +- [redux-zustand](redux-zustand.md) +- [setup-dev](setup-dev.md) +- [user-guide](user-guide.md) +- [webservices](webservices.md) \ No newline at end of file diff --git a/docs/guide/dependencies.md b/docs/guide/dependencies.md index da54205ec..085fd37ef 100644 --- a/docs/guide/dependencies.md +++ b/docs/guide/dependencies.md @@ -92,3 +92,7 @@ Erklärung, wofür sie im Projekt verwendet werden. | ---------------- | ------------------------------------------------- | | **prepare** | Wird durch Husky benötigt zum Setup von Hooks. | | **bump-version** | Interner Versionsbump-Script für `appVersion.js`. | + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/env.md b/docs/guide/env.md index ef644da44..57a37c96b 100644 --- a/docs/guide/env.md +++ b/docs/guide/env.md @@ -37,3 +37,7 @@ NEXT_PUBLIC_USE_MOCKS=false NEXT_PUBLIC_BASE_PATH=/talas5 NEXT_PUBLIC_DEBUG=false ``` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/faq.md b/docs/guide/faq.md index 0844b48ee..6b2fc21df 100644 --- a/docs/guide/faq.md +++ b/docs/guide/faq.md @@ -63,3 +63,7 @@ - **Kleines Update:** Nur `.next/` kopieren. - **Größeres Update:** Gesamte App inkl. `node_modules`, `.env.production` und `public/` ersetzen. - Dienst neu starten. + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/glossar.md b/docs/guide/glossar.md index 1da49dcd1..380ec6f3a 100644 --- a/docs/guide/glossar.md +++ b/docs/guide/glossar.md @@ -26,3 +26,7 @@ Eine Übersicht wichtiger Begriffe rund um NodeMap und die verwendeten Technolog | **GisSystemStatic** | Eine Webservice-Antwort mit Systeminformationen für die Kartendarstellung. | | **mapTiles** | Bildkacheln (z. B. `.png`), die die Grundkarte darstellen – wie bei Google Maps. | | **TALAS.web** | Die bestehende (ältere) Verwaltungssoftware, in die NodeMap eingebettet wird. | + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/mock-data.md b/docs/guide/mock-data.md index 250f618b1..d22035630 100644 --- a/docs/guide/mock-data.md +++ b/docs/guide/mock-data.md @@ -70,3 +70,7 @@ const url = useMocks - [📄 Umgebungsvariablen](env.md) - [📄 Webservices im Detail](webservices.md) - [📄 Zustandverwaltung (Redux)](redux-zustand.md) + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/onboarding-checklist.md b/docs/guide/onboarding-checklist.md index 2ef1766a2..58c992ae5 100644 --- a/docs/guide/onboarding-checklist.md +++ b/docs/guide/onboarding-checklist.md @@ -74,3 +74,7 @@ Projekt. **Tipp:** Hake jeden Schritt ab, sobald du ihn erledigt hast. Viel Erfolg beim Einstieg! 🎉 + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/project-structure.md b/docs/guide/project-structure.md index 1dd679e76..9aed1d047 100644 --- a/docs/guide/project-structure.md +++ b/docs/guide/project-structure.md @@ -134,3 +134,7 @@ services/ → API-Kommunikation, Mock-Logik ┃ ┣ 📜fetchGisSystemStaticService.js ┃ ┗ 📜fetchUserRightsService.js ``` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/redux-zustand.md b/docs/guide/redux-zustand.md index 4f584bed5..9e9757134 100644 --- a/docs/guide/redux-zustand.md +++ b/docs/guide/redux-zustand.md @@ -16,3 +16,7 @@ Die Anwendung verwendet vollständig **Redux Toolkit** für die globale Zustandv - Einheitliche Behandlung von Status, auch bei komplexen Komponenten ➡ Neue Features bitte ausschließlich mit Redux umsetzen! + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/setup-dev.md b/docs/guide/setup-dev.md index 0ebfc70e7..f6adc7cb1 100644 --- a/docs/guide/setup-dev.md +++ b/docs/guide/setup-dev.md @@ -52,3 +52,7 @@ NEXT_PUBLIC_USE_MOCKS=true - Projektstruktur: [project-structure.md](project-structure.md) - Webservices: [webservices.md](webservices.md) - Zustandverwaltung: [redux-zustand.md](redux-zustand.md) + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/user-guide.md b/docs/guide/user-guide.md index 74cff1dfa..96cd4d023 100644 --- a/docs/guide/user-guide.md +++ b/docs/guide/user-guide.md @@ -13,3 +13,7 @@ - **Station auswählen:** Dropdown oben rechts - **Zentrieren:** Rechtsklick → "Hier zentrieren" - **Geräte-Kontextmenü:** Rechtsklick auf Marker → „Station öffnen (Tab)“ + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/guide/webservices.md b/docs/guide/webservices.md index 0be856ef9..24269ee8b 100644 --- a/docs/guide/webservices.md +++ b/docs/guide/webservices.md @@ -32,3 +32,7 @@ Die Daten werden verarbeitet, zwischengespeichert und z. T. über Redux in der - der IIS laufen - der `WebServiceMap.asmx` erreichbar sein + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/hooks/README.md b/docs/hooks/README.md new file mode 100644 index 000000000..f897b880b --- /dev/null +++ b/docs/hooks/README.md @@ -0,0 +1,9 @@ +# 📄 Übersicht: docs/hooks + +- [useCreateAndSetDevices](useCreateAndSetDevices.md) +- [useDynamicMarkerLayers](useDynamicMarkerLayers.md) +- [useLayerVisibility](useLayerVisibility.md) +- [useLineData](useLineData.md) +- [useMapComponentState](useMapComponentState.md) +- [useMarkerLayers](useMarkerLayers.md) +- [usePolylineTooltipLayer](usePolylineTooltipLayer.md) \ No newline at end of file diff --git a/docs/hooks/layers/README.md b/docs/hooks/layers/README.md new file mode 100644 index 000000000..577ea7b0f --- /dev/null +++ b/docs/hooks/layers/README.md @@ -0,0 +1,20 @@ +# 📄 Übersicht: docs/hooks/layers + +- [useAreaMarkersLayer](useAreaMarkersLayer.md) +- [useCiscoRouterMarkersLayer](useCiscoRouterMarkersLayer.md) +- [useDauzMarkersLayer](useDauzMarkersLayer.md) +- [useDrawLines](useDrawLines.md) +- [useEciMarkersLayer](useEciMarkersLayer.md) +- [useGmaMarkersLayer](useGmaMarkersLayer.md) +- [useLteModemMarkersLayer](useLteModemMarkersLayer.md) +- [useMessstellenMarkersLayer](useMessstellenMarkersLayer.md) +- [useOtdrMarkersLayer](useOtdrMarkersLayer.md) +- [useSiemensMarkersLayer](useSiemensMarkersLayer.md) +- [useSmsfunkmodemMarkersLayer](useSmsfunkmodemMarkersLayer.md) +- [useSonstigeMarkersLayer](useSonstigeMarkersLayer.md) +- [useTalasMarkersLayer](useTalasMarkersLayer.md) +- [useTalasiclMarkersLayer](useTalasiclMarkersLayer.md) +- [useTkComponentsMarkersLayer](useTkComponentsMarkersLayer.md) +- [useUlafMarkersLayer](useUlafMarkersLayer.md) +- [useWagoMarkersLayer](useWagoMarkersLayer.md) +- [useWdmMarkersLayer](useWdmMarkersLayer.md) \ No newline at end of file diff --git a/docs/hooks/layers/useAreaMarkersLayer.md b/docs/hooks/layers/useAreaMarkersLayer.md index 6b8d698fc..32275994e 100644 --- a/docs/hooks/layers/useAreaMarkersLayer.md +++ b/docs/hooks/layers/useAreaMarkersLayer.md @@ -11,3 +11,7 @@ Lädt Bereichs-/Stationsmarker aus einer API und rendert sie auf der Karte. - Automatischer API-Fetch mit `fetch(...)` - Dynamisches Layer-Handling via localStorage ("mapLayersVisibility") - Automatisches Speichern neuer Koordinaten per `updateAreaThunk()` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useCiscoRouterMarkersLayer.md b/docs/hooks/layers/useCiscoRouterMarkersLayer.md index 18947c16c..a9523af2c 100644 --- a/docs/hooks/layers/useCiscoRouterMarkersLayer.md +++ b/docs/hooks/layers/useCiscoRouterMarkersLayer.md @@ -9,3 +9,7 @@ Hook zur Verwaltung aller Cisco-Router-Marker in der Leaflet-Karte. - Lädt Geräte per `createAndSetDevices(6, ...)` - Fügt Marker hinzu & registriert Popup/Kontextmenü - Verwendet `checkOverlappingMarkers(...)` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useDauzMarkersLayer.md b/docs/hooks/layers/useDauzMarkersLayer.md index 6cac8ac43..b43196bef 100644 --- a/docs/hooks/layers/useDauzMarkersLayer.md +++ b/docs/hooks/layers/useDauzMarkersLayer.md @@ -9,3 +9,7 @@ Spezialisierter Hook zur Verwaltung von DAUZ-Gerätemarkern (System-ID: 110) - Marker mit Popup & Kontextmenü - Nutzung von `createAndSetDevices(...)` - Sichtbarkeit direkt über Kartenlayer steuerbar + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useDrawLines.md b/docs/hooks/layers/useDrawLines.md index 039d75015..c774fc729 100644 --- a/docs/hooks/layers/useDrawLines.md +++ b/docs/hooks/layers/useDrawLines.md @@ -9,3 +9,7 @@ Hook zur Konvertierung von GIS-Linien in kartentaugliche Koordinatenpaare. - Lädt Linien mit `fetchGisLinesThunk()` - Wandelt `points[x, y]` in Leaflet-Koordinaten `[lat, lng]` um - Gibt `setLinePositions([...])` zurück + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useEciMarkersLayer.md b/docs/hooks/layers/useEciMarkersLayer.md index b228e4b92..0b251167a 100644 --- a/docs/hooks/layers/useEciMarkersLayer.md +++ b/docs/hooks/layers/useEciMarkersLayer.md @@ -9,3 +9,7 @@ Verwaltet die Darstellung und Events für ECI-Marker (System-ID: 2) - Kontextmenü & Popup für jeden Marker - Erkennung überlappender Marker (`checkOverlappingMarkers`) - Nutzung von `createAndSetDevices(...)` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useGmaMarkersLayer.md b/docs/hooks/layers/useGmaMarkersLayer.md index d4dee7f2b..fcd1483a2 100644 --- a/docs/hooks/layers/useGmaMarkersLayer.md +++ b/docs/hooks/layers/useGmaMarkersLayer.md @@ -9,3 +9,7 @@ Spezialhook für GMA-Marker mit Messwertanzeige (LT, FBT, GT, RLF). - Tooltip enthält Temperatur-/Feuchtigkeitswerte aus Redux - Eigenes Kontextmenü mit Zoom/Zentrieren - Verwendet `marker.options.areaName` zur Messzuordnung + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useLteModemMarkersLayer.md b/docs/hooks/layers/useLteModemMarkersLayer.md index e7f411b27..389cce3b3 100644 --- a/docs/hooks/layers/useLteModemMarkersLayer.md +++ b/docs/hooks/layers/useLteModemMarkersLayer.md @@ -8,3 +8,7 @@ Steuert Marker vom Typ LTE-Modem (System-ID: 5) - Standard-Kontextmenü + Popup - Integration mit OMS und Overlap-Check + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useMessstellenMarkersLayer.md b/docs/hooks/layers/useMessstellenMarkersLayer.md index 3e3cddb78..65220dab9 100644 --- a/docs/hooks/layers/useMessstellenMarkersLayer.md +++ b/docs/hooks/layers/useMessstellenMarkersLayer.md @@ -8,3 +8,7 @@ Für Messstellen-Marker (System-ID: 13) - Einfache Marker mit Tooltip - Nutzung von `createAndSetDevices(...)` + Kontextmenü + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useOtdrMarkersLayer.md b/docs/hooks/layers/useOtdrMarkersLayer.md index b7d79ff12..9408f6bfb 100644 --- a/docs/hooks/layers/useOtdrMarkersLayer.md +++ b/docs/hooks/layers/useOtdrMarkersLayer.md @@ -8,3 +8,7 @@ Darstellung von OTDR-Messpunkten (System-ID: 9) - Popup-Interaktion beim Hover - Marker mit Kontextmenü via `addContextMenuToMarker` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useSiemensMarkersLayer.md b/docs/hooks/layers/useSiemensMarkersLayer.md index 8dc2c6ae4..3c14d0ad2 100644 --- a/docs/hooks/layers/useSiemensMarkersLayer.md +++ b/docs/hooks/layers/useSiemensMarkersLayer.md @@ -4,4 +4,8 @@ Für Siemens-Geräte (System-ID: 8). - Marker mit Kontextmenü und Overlap-Prüfung - Integration mit OMS -- Nutzung von `checkOverlappingMarkers(...)` \ No newline at end of file +- Nutzung von `checkOverlappingMarkers(...)` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useSmsfunkmodemMarkersLayer.md b/docs/hooks/layers/useSmsfunkmodemMarkersLayer.md index be77c5efc..c3dd20a40 100644 --- a/docs/hooks/layers/useSmsfunkmodemMarkersLayer.md +++ b/docs/hooks/layers/useSmsfunkmodemMarkersLayer.md @@ -4,4 +4,8 @@ Filtert `GisSystemStatic` nach SMS Modem (System 111 oder Name). - Icon: `/img/icons/pois/sms-funkmodem.png` - Kontextmenü & Popup -- Sichtbarkeit über `isVisible` steuerbar \ No newline at end of file +- Sichtbarkeit über `isVisible` steuerbar + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useSonstigeMarkersLayer.md b/docs/hooks/layers/useSonstigeMarkersLayer.md index cf876ffef..c866e7215 100644 --- a/docs/hooks/layers/useSonstigeMarkersLayer.md +++ b/docs/hooks/layers/useSonstigeMarkersLayer.md @@ -4,4 +4,8 @@ Für alle Geräte mit System-ID 200 (Sonstige). - Klassische Leaflet-Marker - Kontextmenü und Popup -- Nutzung von `createAndSetDevices(...)` \ No newline at end of file +- Nutzung von `createAndSetDevices(...)` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useTalasMarkersLayer.md b/docs/hooks/layers/useTalasMarkersLayer.md index ce85c4ffc..f72a2c818 100644 --- a/docs/hooks/layers/useTalasMarkersLayer.md +++ b/docs/hooks/layers/useTalasMarkersLayer.md @@ -3,4 +3,8 @@ Für TALAS-Systeme (System-ID: 1). - Popup + Kontextmenü auf Marker -- Fügt Marker zuerst zu OMS, dann zu Karte hinzu \ No newline at end of file +- Fügt Marker zuerst zu OMS, dann zu Karte hinzu + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useTalasiclMarkersLayer.md b/docs/hooks/layers/useTalasiclMarkersLayer.md index cfd112e60..479a69f11 100644 --- a/docs/hooks/layers/useTalasiclMarkersLayer.md +++ b/docs/hooks/layers/useTalasiclMarkersLayer.md @@ -3,4 +3,8 @@ Spezialhook für Geräte vom Typ TALASICL (System-ID: 100). - Erstellt Marker mit Standardverhalten -- Kontextmenü, Popup, Overlap-Prüfung \ No newline at end of file +- Kontextmenü, Popup, Overlap-Prüfung + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useTkComponentsMarkersLayer.md b/docs/hooks/layers/useTkComponentsMarkersLayer.md index cf615a30b..72a161077 100644 --- a/docs/hooks/layers/useTkComponentsMarkersLayer.md +++ b/docs/hooks/layers/useTkComponentsMarkersLayer.md @@ -3,4 +3,8 @@ Für TK-Komponenten (System-ID: 30). - Lädt Marker via `createAndSetDevices` -- Marker-Koordinaten können debug-geloggt werden \ No newline at end of file +- Marker-Koordinaten können debug-geloggt werden + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useUlafMarkersLayer.md b/docs/hooks/layers/useUlafMarkersLayer.md index ee55b88cc..867db69d7 100644 --- a/docs/hooks/layers/useUlafMarkersLayer.md +++ b/docs/hooks/layers/useUlafMarkersLayer.md @@ -4,4 +4,8 @@ Spezialhook für ULAF-Systeme (System-ID: 0). - Marker mit ULAF-Icon - Kontextmenü und Popup (statisch) -- Dynamisch generierter Popupinhalt \ No newline at end of file +- Dynamisch generierter Popupinhalt + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useWagoMarkersLayer.md b/docs/hooks/layers/useWagoMarkersLayer.md index 144ce8c83..f197a38f1 100644 --- a/docs/hooks/layers/useWagoMarkersLayer.md +++ b/docs/hooks/layers/useWagoMarkersLayer.md @@ -3,4 +3,8 @@ Für WAGO-Systeme (System-ID: 7). - Kontextmenü, Popup, Overlapping-Support -- OMS-Integration und Layer-Hinzufügung \ No newline at end of file +- OMS-Integration und Layer-Hinzufügung + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/layers/useWdmMarkersLayer.md b/docs/hooks/layers/useWdmMarkersLayer.md index 2453e5542..4412c1552 100644 --- a/docs/hooks/layers/useWdmMarkersLayer.md +++ b/docs/hooks/layers/useWdmMarkersLayer.md @@ -4,4 +4,8 @@ Verwaltet WDM-Marker (System-ID: 10) in Leaflet. - Marker mit Kontextmenü - Mouseover-Popup -- Nutzung von `createAndSetDevices(...)` \ No newline at end of file +- Nutzung von `createAndSetDevices(...)` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/hooks/useCreateAndSetDevices.md b/docs/hooks/useCreateAndSetDevices.md index 05f0d430a..7e9089cb2 100644 --- a/docs/hooks/useCreateAndSetDevices.md +++ b/docs/hooks/useCreateAndSetDevices.md @@ -15,3 +15,7 @@ Bindet `createAndSetDevices(...)` automatisch in einen `useEffect`. ## Redux - Bezieht `polylineEventsDisabled` aus Redux zur Steuerung der Interaktivität + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/hooks/useDynamicMarkerLayers.md b/docs/hooks/useDynamicMarkerLayers.md index 8035346f6..fa839457b 100644 --- a/docs/hooks/useDynamicMarkerLayers.md +++ b/docs/hooks/useDynamicMarkerLayers.md @@ -15,3 +15,7 @@ Verwaltet alle Marker-Layergruppen dynamisch und modular in einem zentralen Hook - Karte (`map`) muss bereit sein - `GisSystemStatic` + `priorityConfig` + Marker-Setter müssen übergeben werden + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/hooks/useLayerVisibility.md b/docs/hooks/useLayerVisibility.md index a76503523..06ee704ec 100644 --- a/docs/hooks/useLayerVisibility.md +++ b/docs/hooks/useLayerVisibility.md @@ -13,3 +13,7 @@ Custom Hook zur dynamischen Steuerung von Layer-Sichtbarkeit basierend auf Redux ## Intern Verwendet `addContextMenuToMarker()` zur Kontextmenüintegration pro Marker. + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/hooks/useLineData.md b/docs/hooks/useLineData.md index 82b42230a..5afdd8a8f 100644 --- a/docs/hooks/useLineData.md +++ b/docs/hooks/useLineData.md @@ -17,3 +17,7 @@ Lädt Linienstatusdaten (Farben, Tooltips) aus zwei Webservices in Redux und ber ## Intern - Nutzt Map `valueMap`, um Messwert, Schleifenwert, Meldungen zu gruppieren + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/hooks/useMapComponentState.md b/docs/hooks/useMapComponentState.md index e1a3b092b..2dc282d7b 100644 --- a/docs/hooks/useMapComponentState.md +++ b/docs/hooks/useMapComponentState.md @@ -16,3 +16,7 @@ Sammelt zentrale UI-Zustände und Redux-Daten für die `MapComponent`. ## Redux - `fetchPoiTypThunk`, `fetchGisStationsStaticDistrictThunk`, `fetchPriorityConfigThunk` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/hooks/useMarkerLayers.md b/docs/hooks/useMarkerLayers.md index 46c160be0..7dcb2e13c 100644 --- a/docs/hooks/useMarkerLayers.md +++ b/docs/hooks/useMarkerLayers.md @@ -14,3 +14,7 @@ useMarkerLayers(map, gmaMarkers, "GMA"); - Liest `mapLayersVisibility` aus dem Store - Reagiert automatisch auf Änderungen + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/hooks/usePolylineTooltipLayer.md b/docs/hooks/usePolylineTooltipLayer.md index aa42d0a7d..ae459d786 100644 --- a/docs/hooks/usePolylineTooltipLayer.md +++ b/docs/hooks/usePolylineTooltipLayer.md @@ -12,4 +12,9 @@ Initialisiert und steuert Polylinien + Tooltip-Verhalten für Linienmessdaten. ## Parameter (gekürzt) -- `map`, `markers`, `setMarkers`, `setPolylines`, `linePositions`, `tooltipContents`, `lineColors`, etc. +- `map`, `markers`, `setMarkers`, `setPolylines`, `linePositions`, `tooltipContents`, `lineColors`, + etc. + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/nssm-exe-installation.md b/docs/nssm-exe-installation.md index 3b39c73e8..e2ca0aba6 100644 --- a/docs/nssm-exe-installation.md +++ b/docs/nssm-exe-installation.md @@ -59,3 +59,7 @@ ``` ``` + +--- + +[Zurück zur Übersicht](README.md) diff --git a/docs/pages/README.md b/docs/pages/README.md new file mode 100644 index 000000000..9693674f4 --- /dev/null +++ b/docs/pages/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/pages + +- [_app](_app.md) +- [index](index.md) \ No newline at end of file diff --git a/docs/pages/_app.md b/docs/pages/_app.md index 6e7523f39..2fec12a49 100644 --- a/docs/pages/_app.md +++ b/docs/pages/_app.md @@ -1,6 +1,6 @@ -# 🌐 _app.js +# 🌐 \_app.js Diese Datei stellt die Haupt-Wrap-Komponente der Next.js-App dar. Sie initialisiert globale Provider wie den Redux Store. @@ -23,4 +23,8 @@ Sie initialisiert globale Provider wie den Redux Store. ```bash /pages/_app.js -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/pages/api/README.md b/docs/pages/api/README.md new file mode 100644 index 000000000..9500a3f69 --- /dev/null +++ b/docs/pages/api/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/pages/api + +- [[...path]]([...path].md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/README.md b/docs/pages/api/talas_v5_DB/README.md new file mode 100644 index 000000000..bcc4bdb9a --- /dev/null +++ b/docs/pages/api/talas_v5_DB/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB + +- [priorityConfig](priorityConfig.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/area/README.md b/docs/pages/api/talas_v5_DB/area/README.md new file mode 100644 index 000000000..9167a1a04 --- /dev/null +++ b/docs/pages/api/talas_v5_DB/area/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB/area + +- [readArea](readArea.md) +- [updateArea](updateArea.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/area/readArea.md b/docs/pages/api/talas_v5_DB/area/readArea.md index 3d32a3e64..01e43e6b2 100644 --- a/docs/pages/api/talas_v5_DB/area/readArea.md +++ b/docs/pages/api/talas_v5_DB/area/readArea.md @@ -2,7 +2,8 @@ # 📥 readArea.js -Liest Bereichskoordinaten (`location_coordinates`) aus der Datenbank basierend auf `idMaps` (und optional `idLocation`). +Liest Bereichskoordinaten (`location_coordinates`) aus der Datenbank basierend auf `idMaps` (und +optional `idLocation`). ## Methode @@ -10,9 +11,9 @@ Liest Bereichskoordinaten (`location_coordinates`) aus der Datenbank basierend a ## URL-Parameter -| Name | Beschreibung | -|-------------|--------------------------------------| -| `m` | Karten-ID (entspricht `idMaps`) | +| Name | Beschreibung | +| ------------ | --------------------------------------- | +| `m` | Karten-ID (entspricht `idMaps`) | | `idLocation` | (optional) ID eines bestimmten Bereichs | ## Verhalten @@ -25,4 +26,8 @@ Liest Bereichskoordinaten (`location_coordinates`) aus der Datenbank basierend a ```http GET /api/talas_v5_DB/area/readArea?m=3 -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/area/updateArea.md b/docs/pages/api/talas_v5_DB/area/updateArea.md index 01d7fd46d..5983d7936 100644 --- a/docs/pages/api/talas_v5_DB/area/updateArea.md +++ b/docs/pages/api/talas_v5_DB/area/updateArea.md @@ -2,7 +2,8 @@ # 📤 updateArea.js -Aktualisiert die Koordinaten eines Bereichs (`location_coordinates`) basierend auf `idLocation` und `idMap`. +Aktualisiert die Koordinaten eines Bereichs (`location_coordinates`) basierend auf `idLocation` und +`idMap`. ## Methode @@ -29,4 +30,8 @@ Aktualisiert die Koordinaten eines Bereichs (`location_coordinates`) basierend a - 400: Fehlende Daten - 404: Kein Eintrag gefunden -- 500: Interner Fehler \ No newline at end of file +- 500: Interner Fehler + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/device/README.md b/docs/pages/api/talas_v5_DB/device/README.md new file mode 100644 index 000000000..07f3dbba9 --- /dev/null +++ b/docs/pages/api/talas_v5_DB/device/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB/device + +- [getAllStationsNames](getAllStationsNames.md) +- [getDevices](getDevices.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/device/getAllStationsNames.md b/docs/pages/api/talas_v5_DB/device/getAllStationsNames.md index 66fcda44b..87c228d02 100644 --- a/docs/pages/api/talas_v5_DB/device/getAllStationsNames.md +++ b/docs/pages/api/talas_v5_DB/device/getAllStationsNames.md @@ -26,4 +26,8 @@ Liefert eine Zuordnungstabelle aller Geräte-IDs (`idLD`) zu ihren Namen (`name` ```bash /pages/api/talas_v5_DB/device/getAllStationsNames.js -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/device/getDevices.md b/docs/pages/api/talas_v5_DB/device/getDevices.md index 6c1387f54..c5797d5fd 100644 --- a/docs/pages/api/talas_v5_DB/device/getDevices.md +++ b/docs/pages/api/talas_v5_DB/device/getDevices.md @@ -31,4 +31,8 @@ API-Route zum Abrufen aller Geräteinformationen aus der `devices`-Tabelle. ```bash /pages/api/talas_v5_DB/device/getDevices.js -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/gisLines/README.md b/docs/pages/api/talas_v5_DB/gisLines/README.md new file mode 100644 index 000000000..b49562b3c --- /dev/null +++ b/docs/pages/api/talas_v5_DB/gisLines/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB/gisLines + +- [readGisLines](readGisLines.md) +- [updateLineCoordinates](updateLineCoordinates.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/gisLines/readGisLines.md b/docs/pages/api/talas_v5_DB/gisLines/readGisLines.md index fb83233c7..6cf29c56e 100644 --- a/docs/pages/api/talas_v5_DB/gisLines/readGisLines.md +++ b/docs/pages/api/talas_v5_DB/gisLines/readGisLines.md @@ -22,4 +22,8 @@ Liefert alle Linien aus der Tabelle `gis_lines`. ```http GET /api/talas_v5_DB/gisLines/readGisLines -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/gisLines/updateLineCoordinates.md b/docs/pages/api/talas_v5_DB/gisLines/updateLineCoordinates.md index a123286b1..72c835841 100644 --- a/docs/pages/api/talas_v5_DB/gisLines/updateLineCoordinates.md +++ b/docs/pages/api/talas_v5_DB/gisLines/updateLineCoordinates.md @@ -14,7 +14,10 @@ Aktualisiert die `points`-Spalte einer Linie in der Tabelle `gis_lines`. { "idLD": 7, "idModul": 2, - "newCoordinates": [[53.2151, 8.4522], [53.2165, 8.4531]] + "newCoordinates": [ + [53.2151, 8.4522], + [53.2165, 8.4531] + ] } ``` @@ -27,4 +30,8 @@ Aktualisiert die `points`-Spalte einer Linie in der Tabelle `gis_lines`. ## Fehlerfälle - 400: Ungültige oder fehlende Felder -- 500: Datenbankfehler \ No newline at end of file +- 500: Datenbankfehler + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/locationDevice/README.md b/docs/pages/api/talas_v5_DB/locationDevice/README.md new file mode 100644 index 000000000..f8e1a73df --- /dev/null +++ b/docs/pages/api/talas_v5_DB/locationDevice/README.md @@ -0,0 +1,5 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB/locationDevice + +- [getDeviceId](getDeviceId.md) +- [locationDeviceNameById](locationDeviceNameById.md) +- [locationDevices](locationDevices.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/locationDevice/getDeviceId.md b/docs/pages/api/talas_v5_DB/locationDevice/getDeviceId.md index aaaff0a8d..7cb669000 100644 --- a/docs/pages/api/talas_v5_DB/locationDevice/getDeviceId.md +++ b/docs/pages/api/talas_v5_DB/locationDevice/getDeviceId.md @@ -10,8 +10,8 @@ Gibt die Geräte-ID (`idLD`) zu einem übergebenen Gerätenamen zurück. ## Parameter -| Name | Beschreibung | -|-------------|----------------------| +| Name | Beschreibung | +| ------------ | ------------------------------- | | `deviceName` | Der Gerätename (z. B. "Kue705") | ## Antwort @@ -23,4 +23,8 @@ Gibt die Geräte-ID (`idLD`) zu einem übergebenen Gerätenamen zurück. ## Fehler - 400: Wenn `deviceName` fehlt -- 404: Gerät nicht gefunden \ No newline at end of file +- 404: Gerät nicht gefunden + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/locationDevice/locationDeviceNameById.md b/docs/pages/api/talas_v5_DB/locationDevice/locationDeviceNameById.md index fbadfec2d..49b750ea9 100644 --- a/docs/pages/api/talas_v5_DB/locationDevice/locationDeviceNameById.md +++ b/docs/pages/api/talas_v5_DB/locationDevice/locationDeviceNameById.md @@ -10,9 +10,9 @@ Gibt den Namen eines Geräts anhand seiner ID zurück. ## Parameter -| Name | Beschreibung | -|--------|------------------------| -| `idLD` | Geräte-ID (z. B. 27) | +| Name | Beschreibung | +| ------ | -------------------- | +| `idLD` | Geräte-ID (z. B. 27) | ## Antwort @@ -23,4 +23,8 @@ Gibt den Namen eines Geräts anhand seiner ID zurück. ## Fehler - 400: Fehlender Parameter -- 404: Gerät mit ID nicht gefunden \ No newline at end of file +- 404: Gerät mit ID nicht gefunden + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/locationDevice/locationDevices.md b/docs/pages/api/talas_v5_DB/locationDevice/locationDevices.md index 3521a8f35..61d1dc160 100644 --- a/docs/pages/api/talas_v5_DB/locationDevice/locationDevices.md +++ b/docs/pages/api/talas_v5_DB/locationDevice/locationDevices.md @@ -24,4 +24,8 @@ Gibt eine vollständige Liste aller Geräte in der Tabelle `location_device` zur ... } ] -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/poiTyp/README.md b/docs/pages/api/talas_v5_DB/poiTyp/README.md new file mode 100644 index 000000000..9ddf2dfc4 --- /dev/null +++ b/docs/pages/api/talas_v5_DB/poiTyp/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB/poiTyp + +- [readPoiTyp](readPoiTyp.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/poiTyp/readPoiTyp.md b/docs/pages/api/talas_v5_DB/poiTyp/readPoiTyp.md index 244aa1827..ac2de06f5 100644 --- a/docs/pages/api/talas_v5_DB/poiTyp/readPoiTyp.md +++ b/docs/pages/api/talas_v5_DB/poiTyp/readPoiTyp.md @@ -33,4 +33,8 @@ GET /api/talas_v5_DB/poiTyp/readPoiTyp "icon": 12 } ] -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/pois/README.md b/docs/pages/api/talas_v5_DB/pois/README.md new file mode 100644 index 000000000..47dd9bc28 --- /dev/null +++ b/docs/pages/api/talas_v5_DB/pois/README.md @@ -0,0 +1,9 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB/pois + +- [addPoi](addPoi.md) +- [deletePoi](deletePoi.md) +- [getPoiById](getPoiById.md) +- [poi-icons](poi-icons.md) +- [readAllPOIs](readAllPOIs.md) +- [updateLocation](updateLocation.md) +- [updatePoi](updatePoi.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/pois/addPoi.md b/docs/pages/api/talas_v5_DB/pois/addPoi.md index 22c075cd4..c2bb801ef 100644 --- a/docs/pages/api/talas_v5_DB/pois/addPoi.md +++ b/docs/pages/api/talas_v5_DB/pois/addPoi.md @@ -22,4 +22,8 @@ Fügt einen neuen POI (Point of Interest) zur Datenbank hinzu. ## Besonderheiten -- Position wird als `POINT(longitude latitude)` gespeichert \ No newline at end of file +- Position wird als `POINT(longitude latitude)` gespeichert + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/pois/deletePoi.md b/docs/pages/api/talas_v5_DB/pois/deletePoi.md index f09c740d0..3342486e9 100644 --- a/docs/pages/api/talas_v5_DB/pois/deletePoi.md +++ b/docs/pages/api/talas_v5_DB/pois/deletePoi.md @@ -10,11 +10,15 @@ Löscht einen POI anhand seiner ID. ## Query-Parameter -| Parameter | Beschreibung | -|-----------|---------------------| +| Parameter | Beschreibung | +| --------- | -------------------- | | `id` | ID des POI (`idPoi`) | ## Antwort - 200: Erfolgreich gelöscht -- 404: POI nicht gefunden \ No newline at end of file +- 404: POI nicht gefunden + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/pois/getPoiById.md b/docs/pages/api/talas_v5_DB/pois/getPoiById.md index ececf24d0..2d15f2ac2 100644 --- a/docs/pages/api/talas_v5_DB/pois/getPoiById.md +++ b/docs/pages/api/talas_v5_DB/pois/getPoiById.md @@ -11,11 +11,15 @@ Gibt die Beschreibung eines POIs zurück. ## Query-Parameter | Parameter | Beschreibung | -|-----------|--------------| +| --------- | ------------ | | `idPoi` | POI-ID | ## Antwort ```json { "description": "POI A" } -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/pois/poi-icons.md b/docs/pages/api/talas_v5_DB/pois/poi-icons.md index 26a63d1b7..212ab500a 100644 --- a/docs/pages/api/talas_v5_DB/pois/poi-icons.md +++ b/docs/pages/api/talas_v5_DB/pois/poi-icons.md @@ -15,7 +15,9 @@ Gibt eine Liste aller POIs und ihrer zugehörigen Icon-Pfade zurück. ## Antwort ```json -[ - { "idPoi": 12, "path": "/icons/kue.svg" } -] -``` \ No newline at end of file +[{ "idPoi": 12, "path": "/icons/kue.svg" }] +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/pois/readAllPOIs.md b/docs/pages/api/talas_v5_DB/pois/readAllPOIs.md index dcd1fda01..e02f9f42b 100644 --- a/docs/pages/api/talas_v5_DB/pois/readAllPOIs.md +++ b/docs/pages/api/talas_v5_DB/pois/readAllPOIs.md @@ -14,4 +14,8 @@ Gibt alle POIs mit Positionen zurück. ## Besonderheiten -- Position wird per `ST_AsText(...)` als String geliefert \ No newline at end of file +- Position wird per `ST_AsText(...)` als String geliefert + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/pois/updateLocation.md b/docs/pages/api/talas_v5_DB/pois/updateLocation.md index f995a3aad..297f9ac95 100644 --- a/docs/pages/api/talas_v5_DB/pois/updateLocation.md +++ b/docs/pages/api/talas_v5_DB/pois/updateLocation.md @@ -20,4 +20,8 @@ Aktualisiert die Position (`POINT`) eines POIs. ## Antwort -- 200: `{ success: true }` \ No newline at end of file +- 200: `{ success: true }` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/pois/updatePoi.md b/docs/pages/api/talas_v5_DB/pois/updatePoi.md index 2e5088db2..0dc72fce5 100644 --- a/docs/pages/api/talas_v5_DB/pois/updatePoi.md +++ b/docs/pages/api/talas_v5_DB/pois/updatePoi.md @@ -22,4 +22,8 @@ Aktualisiert Beschreibung, Typ und Gerät eines POIs. ## Antwort - 200: Erfolgreich aktualisiert -- 404: POI nicht gefunden \ No newline at end of file +- 404: POI nicht gefunden + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/priorityConfig.md b/docs/pages/api/talas_v5_DB/priorityConfig.md index 9cc9d196d..41aebe640 100644 --- a/docs/pages/api/talas_v5_DB/priorityConfig.md +++ b/docs/pages/api/talas_v5_DB/priorityConfig.md @@ -2,14 +2,16 @@ # 📊 API: /api/talas_v5_DB/priorityConfig -Diese API liefert die Konfigurationsdaten für Prioritäten (z. B. „critical“, „minor“) aus der Tabelle `prio`. +Diese API liefert die Konfigurationsdaten für Prioritäten (z. B. „critical“, „minor“) aus der +Tabelle `prio`. Sie wird u. a. für Meldungsanzeigen, Filter und Leaflet-Marker-Priorisierung verwendet. --- ## 📍 Anwendung in Leaflet – Marker-Priorität bei Überlappung -Die `level`-Werte dieser Konfiguration steuern die **Darstellungsreihenfolge überlappender Marker** in Leaflet: +Die `level`-Werte dieser Konfiguration steuern die **Darstellungsreihenfolge überlappender Marker** +in Leaflet: - Marker mit **höherer Priorität** (`level = 1`, z. B. `critical`) werden **oben** dargestellt - Marker mit **niedriger Priorität** (`level = 100`, `101`) werden **weiter hinten** gezeichnet @@ -29,7 +31,8 @@ Diese Sortierung wird z. B. bei OverlappingMarkerSpiderfier oder Clustern ange ## 🧾 Beispielantwort -**Test-URL:** [`/api/talas_v5_DB/priorityConfig`](http://10.10.0.70:3000/api/talas_v5_DB/priorityConfig) +**Test-URL:** +[`/api/talas_v5_DB/priorityConfig`](http://10.10.0.70:3000/api/talas_v5_DB/priorityConfig) ```json [ @@ -43,15 +46,11 @@ Diese Sortierung wird z. B. bei OverlappingMarkerSpiderfier oder Clustern ange ] ``` -📦 Datenstruktur -Feld Typ Beschreibung -idprio number Eindeutige ID der Priorität -level number Prioritätsstufe (1 = hoch, 100 = niedrig) -name string Bezeichnung (z. B. "minor", "system", "Stationsausfall") -color string HEX-Farbcode (z. B. #FF0000) zur visuellen Darstellung +📦 Datenstruktur Feld Typ Beschreibung idprio number Eindeutige ID der Priorität level number +Prioritätsstufe (1 = hoch, 100 = niedrig) name string Bezeichnung (z. B. "minor", "system", +"Stationsausfall") color string HEX-Farbcode (z. B. #FF0000) zur visuellen Darstellung -⚙️ Datenquelle -Tabelle: prio +⚙️ Datenquelle Tabelle: prio SQL-Abfrage: @@ -73,11 +72,10 @@ Backend: verwendet getPool() aus utils/mysqlPool.js | `useCreateAndSetDevices.js` | Hook zur Initialisierung von Geräten auf der Karte | | `useDynamicMarkerLayers.js` | Verwaltet Marker-Layer dynamisch (inkl. Z-Priorität) | -❌ Fehlerbehandlung -Bei DB- oder Verbindungsfehlern: +❌ Fehlerbehandlung Bei DB- oder Verbindungsfehlern: -json -Copy -Edit -{ "error": "Fehler bei der Abfrage" } -HTTP-Statuscode: 500 +json Copy Edit { "error": "Fehler bei der Abfrage" } HTTP-Statuscode: 500 + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/station/README.md b/docs/pages/api/talas_v5_DB/station/README.md new file mode 100644 index 000000000..f6e936169 --- /dev/null +++ b/docs/pages/api/talas_v5_DB/station/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/pages/api/talas_v5_DB/station + +- [getAllStationsNames](getAllStationsNames.md) +- [getDevices](getDevices.md) \ No newline at end of file diff --git a/docs/pages/api/talas_v5_DB/station/getAllStationsNames.md b/docs/pages/api/talas_v5_DB/station/getAllStationsNames.md index ff1a7c698..11c79093e 100644 --- a/docs/pages/api/talas_v5_DB/station/getAllStationsNames.md +++ b/docs/pages/api/talas_v5_DB/station/getAllStationsNames.md @@ -26,4 +26,8 @@ Liefert eine Mapping-Tabelle aus `idLD` → `name` aller Einträge in `location_ ## Fehler - 404: Wenn keine Daten vorhanden -- 500: Datenbankfehler \ No newline at end of file +- 500: Datenbankfehler + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/api/talas_v5_DB/station/getDevices.md b/docs/pages/api/talas_v5_DB/station/getDevices.md index da765d1d8..2e3110708 100644 --- a/docs/pages/api/talas_v5_DB/station/getDevices.md +++ b/docs/pages/api/talas_v5_DB/station/getDevices.md @@ -37,4 +37,8 @@ Gibt alle Geräte aus der `devices`-Tabelle zurück. ## Fehler - 404: Keine Ergebnisse -- 500: Datenbankfehler \ No newline at end of file +- 500: Datenbankfehler + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/pages/index.md b/docs/pages/index.md index d7da48530..731a36f44 100644 --- a/docs/pages/index.md +++ b/docs/pages/index.md @@ -29,4 +29,8 @@ Bindet dynamisch die Leaflet-Karte (`MapComponent`) und ein Testscripting-Tool ( ## Besonderheiten - Dynamisches Nachladen der POIs bei Triggeränderung -- Fehleranzeige über `addPoiStatus` + `addPoiError` \ No newline at end of file +- Fehleranzeige über `addPoiStatus` + `addPoiError` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/redux/README.md b/docs/redux/README.md new file mode 100644 index 000000000..561efde4e --- /dev/null +++ b/docs/redux/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/redux + +- [store](store.md) \ No newline at end of file diff --git a/docs/redux/slices/README.md b/docs/redux/slices/README.md new file mode 100644 index 000000000..b9a11e2f1 --- /dev/null +++ b/docs/redux/slices/README.md @@ -0,0 +1,8 @@ +# 📄 Übersicht: docs/redux/slices + +- [lineVisibilitySlice](lineVisibilitySlice.md) +- [mapLayersSlice](mapLayersSlice.md) +- [selectedAreaSlice](selectedAreaSlice.md) +- [selectedDeviceSlice](selectedDeviceSlice.md) +- [urlParameterSlice](urlParameterSlice.md) +- [zoomTriggerSlice](zoomTriggerSlice.md) \ No newline at end of file diff --git a/docs/redux/slices/database/README.md b/docs/redux/slices/database/README.md new file mode 100644 index 000000000..b22336e33 --- /dev/null +++ b/docs/redux/slices/database/README.md @@ -0,0 +1,5 @@ +# 📄 Übersicht: docs/redux/slices/database + +- [locationDevicesFromDBSlice](locationDevicesFromDBSlice.md) +- [locationDevicesSlice](locationDevicesSlice.md) +- [priorityConfigSlice](priorityConfigSlice.md) \ No newline at end of file diff --git a/docs/redux/slices/database/area/README.md b/docs/redux/slices/database/area/README.md new file mode 100644 index 000000000..3cc35007c --- /dev/null +++ b/docs/redux/slices/database/area/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/redux/slices/database/area + +- [updateAreaSlice](updateAreaSlice.md) \ No newline at end of file diff --git a/docs/redux/slices/database/area/updateAreaSlice.md b/docs/redux/slices/database/area/updateAreaSlice.md index 4c46aefd1..08047a5f5 100644 --- a/docs/redux/slices/database/area/updateAreaSlice.md +++ b/docs/redux/slices/database/area/updateAreaSlice.md @@ -19,7 +19,8 @@ Redux-Slice zur Verwaltung des Update-Zustands beim Aktualisieren eines Bereichs ## Thunk -- `updateAreaThunk`: Führt den API-Call zum Speichern von `x`, `y` für `idLocation` & `idMaps` durch. +- `updateAreaThunk`: Führt den API-Call zum Speichern von `x`, `y` für `idLocation` & `idMaps` + durch. --- @@ -37,4 +38,8 @@ In der Komponente `useAreaMarkersLayer.js` beim Ziehen und Speichern von Station ## Fehlerbehandlung -- Fehlernachricht wird in `error` gespeichert, falls `updateAreaThunk` fehlschlägt. \ No newline at end of file +- Fehlernachricht wird in `error` gespeichert, falls `updateAreaThunk` fehlschlägt. + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/locationDevice/README.md b/docs/redux/slices/database/locationDevice/README.md new file mode 100644 index 000000000..671c5bfaf --- /dev/null +++ b/docs/redux/slices/database/locationDevice/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/redux/slices/database/locationDevice + +- [locationDevicesSlice](locationDevicesSlice.md) \ No newline at end of file diff --git a/docs/redux/slices/database/locationDevice/locationDevicesSlice.md b/docs/redux/slices/database/locationDevice/locationDevicesSlice.md index cf58c3de0..cc962fccc 100644 --- a/docs/redux/slices/database/locationDevice/locationDevicesSlice.md +++ b/docs/redux/slices/database/locationDevice/locationDevicesSlice.md @@ -33,8 +33,8 @@ Redux-Slice zur Verwaltung von Standortgeräten (Devices) aus der Tabelle `locat ## Selektoren ```js -selectLocationDevices = (state) => state.locationDevices.data; -selectLocationDeviceStatus = (state) => state.locationDevices.status; +selectLocationDevices = state => state.locationDevices.data; +selectLocationDeviceStatus = state => state.locationDevices.status; ``` --- @@ -42,4 +42,8 @@ selectLocationDeviceStatus = (state) => state.locationDevices.status; ## Besonderheiten - Zustand wird bei `pending`, `fulfilled` und `rejected` aktualisiert -- Fehlernachricht wird in `error` gespeichert \ No newline at end of file +- Fehlernachricht wird in `error` gespeichert + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/locationDevicesFromDBSlice.md b/docs/redux/slices/database/locationDevicesFromDBSlice.md index 3eedc3fba..ad3875d0a 100644 --- a/docs/redux/slices/database/locationDevicesFromDBSlice.md +++ b/docs/redux/slices/database/locationDevicesFromDBSlice.md @@ -21,5 +21,9 @@ Redux-Slice für das Laden von Geräten aus der Datenbank-Tabelle `location_devi ## Selector ```js -selectLocationDevices = (state) => state.locationDevicesFromDB.devices -``` \ No newline at end of file +selectLocationDevices = state => state.locationDevicesFromDB.devices; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/database/locationDevicesSlice.md b/docs/redux/slices/database/locationDevicesSlice.md index 1030038a8..6563ca9b3 100644 --- a/docs/redux/slices/database/locationDevicesSlice.md +++ b/docs/redux/slices/database/locationDevicesSlice.md @@ -17,7 +17,9 @@ Zweite Variante des Slices für Geräte (veraltet oder parallel verwendet). ## Selector ```js -selectLocationDevices = (state) => state.locationDevices.data +selectLocationDevices = state => state.locationDevices.data; ``` -⚠️ Beachte: Duplikat zu `locationDevicesFromDBSlice.js` \ No newline at end of file +## ⚠️ Beachte: Duplikat zu `locationDevicesFromDBSlice.js` + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/database/pois/README.md b/docs/redux/slices/database/pois/README.md new file mode 100644 index 000000000..4089b38ef --- /dev/null +++ b/docs/redux/slices/database/pois/README.md @@ -0,0 +1,13 @@ +# 📄 Übersicht: docs/redux/slices/database/pois + +- [addPoiOnPolylineSlice](addPoiOnPolylineSlice.md) +- [addPoiSlice](addPoiSlice.md) +- [currentPoiSlice](currentPoiSlice.md) +- [poiIconsDataSlice](poiIconsDataSlice.md) +- [poiLayerVisibleSlice](poiLayerVisibleSlice.md) +- [poiMarkersSlice](poiMarkersSlice.md) +- [poiReadFromDbTriggerSlice](poiReadFromDbTriggerSlice.md) +- [poiTypSlice](poiTypSlice.md) +- [poiTypesSlice](poiTypesSlice.md) +- [readPoiMarkersStoreSlice](readPoiMarkersStoreSlice.md) +- [selectedPoiSlice](selectedPoiSlice.md) \ No newline at end of file diff --git a/docs/redux/slices/database/pois/addPoiOnPolylineSlice.md b/docs/redux/slices/database/pois/addPoiOnPolylineSlice.md index 8d16ada73..6726fb96f 100644 --- a/docs/redux/slices/database/pois/addPoiOnPolylineSlice.md +++ b/docs/redux/slices/database/pois/addPoiOnPolylineSlice.md @@ -1,3 +1,5 @@ # 🧩 addPoiOnPolylineSlice.js -Redux-Slice zur Verwaltung von addPoiOnPolyline. \ No newline at end of file +## Redux-Slice zur Verwaltung von addPoiOnPolyline. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/addPoiSlice.md b/docs/redux/slices/database/pois/addPoiSlice.md index 31f99a654..f12a07248 100644 --- a/docs/redux/slices/database/pois/addPoiSlice.md +++ b/docs/redux/slices/database/pois/addPoiSlice.md @@ -1,3 +1,5 @@ # 🧩 addPoiSlice.js -Redux-Slice zur Verwaltung von addPoi. \ No newline at end of file +## Redux-Slice zur Verwaltung von addPoi. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/currentPoiSlice.md b/docs/redux/slices/database/pois/currentPoiSlice.md index 0c1b4e7fe..e1f85090f 100644 --- a/docs/redux/slices/database/pois/currentPoiSlice.md +++ b/docs/redux/slices/database/pois/currentPoiSlice.md @@ -1,3 +1,5 @@ # 🧩 currentPoiSlice.js -Redux-Slice zur Verwaltung von currentPoi. \ No newline at end of file +## Redux-Slice zur Verwaltung von currentPoi. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/poiIconsDataSlice.md b/docs/redux/slices/database/pois/poiIconsDataSlice.md index 80f57f38d..71a24ab19 100644 --- a/docs/redux/slices/database/pois/poiIconsDataSlice.md +++ b/docs/redux/slices/database/pois/poiIconsDataSlice.md @@ -1,3 +1,5 @@ # 🧩 poiIconsDataSlice.js -Redux-Slice zur Verwaltung von POIIconsData. \ No newline at end of file +## Redux-Slice zur Verwaltung von POIIconsData. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/poiLayerVisibleSlice.md b/docs/redux/slices/database/pois/poiLayerVisibleSlice.md index ef4aa5c8e..74d3a8835 100644 --- a/docs/redux/slices/database/pois/poiLayerVisibleSlice.md +++ b/docs/redux/slices/database/pois/poiLayerVisibleSlice.md @@ -1,3 +1,5 @@ # 🧩 poiLayerVisibleSlice.js -Redux-Slice zur Verwaltung von POILayerVisible. \ No newline at end of file +## Redux-Slice zur Verwaltung von POILayerVisible. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/poiMarkersSlice.md b/docs/redux/slices/database/pois/poiMarkersSlice.md index 94563967d..e19052d57 100644 --- a/docs/redux/slices/database/pois/poiMarkersSlice.md +++ b/docs/redux/slices/database/pois/poiMarkersSlice.md @@ -1,3 +1,5 @@ # 🧩 poiMarkersSlice.js -Redux-Slice zur Verwaltung von POIMarkers. \ No newline at end of file +## Redux-Slice zur Verwaltung von POIMarkers. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/poiReadFromDbTriggerSlice.md b/docs/redux/slices/database/pois/poiReadFromDbTriggerSlice.md index fd3270b7f..4c237e517 100644 --- a/docs/redux/slices/database/pois/poiReadFromDbTriggerSlice.md +++ b/docs/redux/slices/database/pois/poiReadFromDbTriggerSlice.md @@ -1,3 +1,5 @@ # 🧩 poiReadFromDbTriggerSlice.js -Redux-Slice zur Verwaltung von POIReadFromDbTrigger. \ No newline at end of file +## Redux-Slice zur Verwaltung von POIReadFromDbTrigger. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/poiTypSlice.md b/docs/redux/slices/database/pois/poiTypSlice.md index edf0ff581..7856a198c 100644 --- a/docs/redux/slices/database/pois/poiTypSlice.md +++ b/docs/redux/slices/database/pois/poiTypSlice.md @@ -1,3 +1,5 @@ # 🧩 poiTypSlice.js -Redux-Slice zur Verwaltung von POITyp. \ No newline at end of file +## Redux-Slice zur Verwaltung von POITyp. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/poiTypesSlice.md b/docs/redux/slices/database/pois/poiTypesSlice.md index 24366914c..d68fb6ef3 100644 --- a/docs/redux/slices/database/pois/poiTypesSlice.md +++ b/docs/redux/slices/database/pois/poiTypesSlice.md @@ -1,3 +1,5 @@ # 🧩 poiTypesSlice.js -Redux-Slice zur Verwaltung von POITypes. \ No newline at end of file +## Redux-Slice zur Verwaltung von POITypes. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/readPoiMarkersStoreSlice.md b/docs/redux/slices/database/pois/readPoiMarkersStoreSlice.md index 5cd8b478c..c19383dee 100644 --- a/docs/redux/slices/database/pois/readPoiMarkersStoreSlice.md +++ b/docs/redux/slices/database/pois/readPoiMarkersStoreSlice.md @@ -1,3 +1,5 @@ # 🧩 readPoiMarkersStoreSlice.js -Redux-Slice zur Verwaltung von readPoiMarkersStore. \ No newline at end of file +## Redux-Slice zur Verwaltung von readPoiMarkersStore. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/pois/selectedPoiSlice.md b/docs/redux/slices/database/pois/selectedPoiSlice.md index 20bceb7eb..d49b16522 100644 --- a/docs/redux/slices/database/pois/selectedPoiSlice.md +++ b/docs/redux/slices/database/pois/selectedPoiSlice.md @@ -1,3 +1,5 @@ # 🧩 selectedPoiSlice.js -Redux-Slice zur Verwaltung von selectedPoi. \ No newline at end of file +## Redux-Slice zur Verwaltung von selectedPoi. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/polylines/README.md b/docs/redux/slices/database/polylines/README.md new file mode 100644 index 000000000..564e66ea2 --- /dev/null +++ b/docs/redux/slices/database/polylines/README.md @@ -0,0 +1,7 @@ +# 📄 Übersicht: docs/redux/slices/database/polylines + +- [gisLinesSlice](gisLinesSlice.md) +- [polylineContextMenuSlice](polylineContextMenuSlice.md) +- [polylineEventsDisabledSlice](polylineEventsDisabledSlice.md) +- [polylineLayerVisibleSlice](polylineLayerVisibleSlice.md) +- [updatePolylineCoordinatesSlice](updatePolylineCoordinatesSlice.md) \ No newline at end of file diff --git a/docs/redux/slices/database/polylines/gisLinesSlice.md b/docs/redux/slices/database/polylines/gisLinesSlice.md index 580f15c4f..c46f962d7 100644 --- a/docs/redux/slices/database/polylines/gisLinesSlice.md +++ b/docs/redux/slices/database/polylines/gisLinesSlice.md @@ -21,5 +21,9 @@ Verwaltet alle Linienobjekte, die aus der Datenbank (`gis_lines`) gelesen wurden ## Selector ```js -selectGisLines = (state) => state.gisLines.data -``` \ No newline at end of file +selectGisLines = state => state.gisLines.data; +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/polylines/polylineContextMenuSlice.md b/docs/redux/slices/database/polylines/polylineContextMenuSlice.md index 9258beada..567112223 100644 --- a/docs/redux/slices/database/polylines/polylineContextMenuSlice.md +++ b/docs/redux/slices/database/polylines/polylineContextMenuSlice.md @@ -22,4 +22,8 @@ Verwaltet den Zustand des Kontextmenüs bei Polylinien (z. B. Stützpunkt hinz - `openPolylineContextMenu(payload)` - `closePolylineContextMenu()` - `updateCountdown()` -- `forceCloseContextMenu()` \ No newline at end of file +- `forceCloseContextMenu()` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/polylines/polylineEventsDisabledSlice.md b/docs/redux/slices/database/polylines/polylineEventsDisabledSlice.md index 92fc70c85..d5e4fa707 100644 --- a/docs/redux/slices/database/polylines/polylineEventsDisabledSlice.md +++ b/docs/redux/slices/database/polylines/polylineEventsDisabledSlice.md @@ -7,10 +7,16 @@ Steuert, ob Interaktionen mit Polylinien (z. B. Ziehen, Klicks) temporär deak ## Zustand ```js -{ disabled: boolean } +{ + disabled: boolean; +} ``` ## Aktionen - `setDisabled(boolean)` -- `toggleDisabled()` \ No newline at end of file +- `toggleDisabled()` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/polylines/polylineLayerVisibleSlice.md b/docs/redux/slices/database/polylines/polylineLayerVisibleSlice.md index 6b440aad9..03aefad1c 100644 --- a/docs/redux/slices/database/polylines/polylineLayerVisibleSlice.md +++ b/docs/redux/slices/database/polylines/polylineLayerVisibleSlice.md @@ -7,7 +7,9 @@ Steuert die Sichtbarkeit des Polylinienlayers auf der Karte. ## Zustand ```js -{ visible: boolean } +{ + visible: boolean; +} ``` ## Aktion @@ -17,5 +19,9 @@ Steuert die Sichtbarkeit des Polylinienlayers auf der Karte. ## Selector ```js -selectPolylineVisible = (state) => state.polylineLayerVisible.visible -``` \ No newline at end of file +selectPolylineVisible = state => state.polylineLayerVisible.visible; +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/polylines/updatePolylineCoordinatesSlice.md b/docs/redux/slices/database/polylines/updatePolylineCoordinatesSlice.md index eae91b396..10c5c1431 100644 --- a/docs/redux/slices/database/polylines/updatePolylineCoordinatesSlice.md +++ b/docs/redux/slices/database/polylines/updatePolylineCoordinatesSlice.md @@ -19,4 +19,8 @@ Redux-Slice zur Überwachung des Lade-/Fehlerstatus bei der Aktualisierung von L ## Aktion -- `resetUpdateStatus()` \ No newline at end of file +- `resetUpdateStatus()` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/slices/database/priorityConfigSlice.md b/docs/redux/slices/database/priorityConfigSlice.md index e3a040089..2efeaea1b 100644 --- a/docs/redux/slices/database/priorityConfigSlice.md +++ b/docs/redux/slices/database/priorityConfigSlice.md @@ -20,5 +20,9 @@ Lädt die Prioritätskonfiguration für Marker (z. B. zur farblichen Darstellu ## Selector ```js -selectPriorityConfig = (state) => state.priorityConfig.data -``` \ No newline at end of file +selectPriorityConfig = state => state.priorityConfig.data; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/lineVisibilitySlice.md b/docs/redux/slices/lineVisibilitySlice.md index 41d22c21a..ccb239bcf 100644 --- a/docs/redux/slices/lineVisibilitySlice.md +++ b/docs/redux/slices/lineVisibilitySlice.md @@ -21,4 +21,6 @@ Redux-Slice zur Steuerung der Sichtbarkeit aktiver Linien auf der Karte. ## Anwendung -Wird verwendet z. B. in `useLineData.js`, `MapComponent.js` \ No newline at end of file +## Wird verwendet z. B. in `useLineData.js`, `MapComponent.js` + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/redux/slices/mapLayers/README.md b/docs/redux/slices/mapLayers/README.md new file mode 100644 index 000000000..072595243 --- /dev/null +++ b/docs/redux/slices/mapLayers/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/redux/slices/mapLayers + +- [device-layer-upgrade](device-layer-upgrade.md) \ No newline at end of file diff --git a/docs/redux/slices/mapLayers/device-layer-upgrade.md b/docs/redux/slices/mapLayers/device-layer-upgrade.md index c1bb79ddc..cb0bfac82 100644 --- a/docs/redux/slices/mapLayers/device-layer-upgrade.md +++ b/docs/redux/slices/mapLayers/device-layer-upgrade.md @@ -6,7 +6,9 @@ ## 🧩 Ziel -Die Marker-Einblendung (Geräte) sollte über `System` (Stationsdaten) mit `IdSystem` (Systemdaten) verglichen werden. Früher wurde fälschlich über `Name` verglichen. Außerdem sollten die Layer-Schlüssel konsistent und dynamisch verwaltet werden. +Die Marker-Einblendung (Geräte) sollte über `System` (Stationsdaten) mit `IdSystem` (Systemdaten) +verglichen werden. Früher wurde fälschlich über `Name` verglichen. Außerdem sollten die +Layer-Schlüssel konsistent und dynamisch verwaltet werden. --- @@ -31,7 +33,8 @@ Die Marker-Einblendung (Geräte) sollte über `System` (Stationsdaten) mit `IdSy ### Komponenten: -- `useDynamicDeviceLayers.js`: verwendet `IdSystem` als Vergleich (`station.System === system.IdSystem`) +- `useDynamicDeviceLayers.js`: verwendet `IdSystem` als Vergleich + (`station.System === system.IdSystem`) - `MapLayersControlPanel.js`: generiert Checkboxen mit `key = system-` --- @@ -48,3 +51,7 @@ Die Marker-Einblendung (Geräte) sollte über `System` (Stationsdaten) mit `IdSy ## 🏷 Version Diese Änderung wurde mit dem Tag [`v1.1.210`](https://your-git-remote/tags/v1.0.1) versehen. + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/mapLayersSlice.md b/docs/redux/slices/mapLayersSlice.md index f2847e83d..1347f3a8f 100644 --- a/docs/redux/slices/mapLayersSlice.md +++ b/docs/redux/slices/mapLayersSlice.md @@ -23,5 +23,9 @@ Verwaltet die Sichtbarkeit einzelner Layergruppen (z. B. GMA, ECI, Siemens). ## Selector ```js -selectMapLayersState = (state) => state.mapLayers -``` \ No newline at end of file +selectMapLayersState = state => state.mapLayers; +``` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/redux/slices/selectedAreaSlice.md b/docs/redux/slices/selectedAreaSlice.md index d1eb2e999..b4131bbb8 100644 --- a/docs/redux/slices/selectedAreaSlice.md +++ b/docs/redux/slices/selectedAreaSlice.md @@ -7,10 +7,16 @@ Steuert die aktuell selektierte Station/Bereich in der Karte. ## Zustand ```js -{ area: null | object } +{ + area: null | object; +} ``` ## Aktionen - `setSelectedArea(area)` -- `clearSelectedArea()` \ No newline at end of file +- `clearSelectedArea()` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/redux/slices/selectedDeviceSlice.md b/docs/redux/slices/selectedDeviceSlice.md index ef20a935a..584f557b6 100644 --- a/docs/redux/slices/selectedDeviceSlice.md +++ b/docs/redux/slices/selectedDeviceSlice.md @@ -7,10 +7,14 @@ Speichert das aktuell ausgewählte Gerät aus der Karte. ## Zustand ```js -null | { ...Gerät } +null | { ...Gerät }; ``` ## Aktionen - `setSelectedDevice(device)` -- `clearSelectedDevice()` \ No newline at end of file +- `clearSelectedDevice()` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/redux/slices/urlParameterSlice.md b/docs/redux/slices/urlParameterSlice.md index 1a2c68801..022e95672 100644 --- a/docs/redux/slices/urlParameterSlice.md +++ b/docs/redux/slices/urlParameterSlice.md @@ -17,4 +17,8 @@ Verwaltet die URL-Parameter `m` (mapId) und `u` (userId). - `setMapId(id)` - `setUserId(id)` -- `setFromURL({ m, u })` \ No newline at end of file +- `setFromURL({ m, u })` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/redux/slices/webService/README.md b/docs/redux/slices/webService/README.md new file mode 100644 index 000000000..77be47cb6 --- /dev/null +++ b/docs/redux/slices/webService/README.md @@ -0,0 +1,8 @@ +# 📄 Übersicht: docs/redux/slices/webService + +- [gisLinesStatusSlice](gisLinesStatusSlice.md) +- [gisStationsMeasurementsSlice](gisStationsMeasurementsSlice.md) +- [gisStationsStaticDistrictSlice](gisStationsStaticDistrictSlice.md) +- [gisStationsStatusDistrictSlice](gisStationsStatusDistrictSlice.md) +- [gisSystemStaticSlice](gisSystemStaticSlice.md) +- [userRightsSlice](userRightsSlice.md) \ No newline at end of file diff --git a/docs/redux/slices/webService/gisLinesStatusSlice.md b/docs/redux/slices/webService/gisLinesStatusSlice.md index b6a0ba93d..b9b3a3de2 100644 --- a/docs/redux/slices/webService/gisLinesStatusSlice.md +++ b/docs/redux/slices/webService/gisLinesStatusSlice.md @@ -2,7 +2,8 @@ # 🧩 gisLinesStatusSlice.js -Lädt und speichert Statusdaten von Linien (z. B. Spannungswerte, Betriebszustand) aus dem Webservice. +Lädt und speichert Statusdaten von Linien (z. B. Spannungswerte, Betriebszustand) aus dem +Webservice. ## Zustand @@ -21,5 +22,9 @@ Lädt und speichert Statusdaten von Linien (z. B. Spannungswerte, Betriebszust ## Selector ```js -selectGisLinesStatusFromWebservice = (state) => state.gisLinesStatusFromWebservice -``` \ No newline at end of file +selectGisLinesStatusFromWebservice = state => state.gisLinesStatusFromWebservice; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/webService/gisStationsMeasurementsSlice.md b/docs/redux/slices/webService/gisStationsMeasurementsSlice.md index 3f1308bf5..cf51d47f5 100644 --- a/docs/redux/slices/webService/gisStationsMeasurementsSlice.md +++ b/docs/redux/slices/webService/gisStationsMeasurementsSlice.md @@ -2,7 +2,8 @@ # 🧩 gisStationsMeasurementsSlice.js -Verwaltet Messwerte einzelner Stationen (z. B. Schleifenwiderstand, Isolation) aus Webservice-Antworten. +Verwaltet Messwerte einzelner Stationen (z. B. Schleifenwiderstand, Isolation) aus +Webservice-Antworten. ## Zustand @@ -21,5 +22,9 @@ Verwaltet Messwerte einzelner Stationen (z. B. Schleifenwiderstand, Isolation) ## Selector ```js -selectGisStationsMeasurements = (state) => state.gisStationsMeasurements.data -``` \ No newline at end of file +selectGisStationsMeasurements = state => state.gisStationsMeasurements.data; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/webService/gisStationsStaticDistrictSlice.md b/docs/redux/slices/webService/gisStationsStaticDistrictSlice.md index faf67e4b2..c09a92138 100644 --- a/docs/redux/slices/webService/gisStationsStaticDistrictSlice.md +++ b/docs/redux/slices/webService/gisStationsStaticDistrictSlice.md @@ -21,5 +21,9 @@ Lädt und speichert statische Standortdaten (z. B. Koordinaten) der Stationen ## Selector ```js -selectGisStationsStaticDistrict = (state) => state.gisStationsStaticDistrict.data -``` \ No newline at end of file +selectGisStationsStaticDistrict = state => state.gisStationsStaticDistrict.data; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/webService/gisStationsStatusDistrictSlice.md b/docs/redux/slices/webService/gisStationsStatusDistrictSlice.md index e538fc9c2..661a5d153 100644 --- a/docs/redux/slices/webService/gisStationsStatusDistrictSlice.md +++ b/docs/redux/slices/webService/gisStationsStatusDistrictSlice.md @@ -21,5 +21,9 @@ Verwaltet den Status aller Stationen im aktuellen Bezirk aus Webservice-Daten. ## Selector ```js -selectGisStationsStatusDistrict = (state) => state.gisStationsStatusDistrict.data -``` \ No newline at end of file +selectGisStationsStatusDistrict = state => state.gisStationsStatusDistrict.data; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/webService/gisSystemStaticSlice.md b/docs/redux/slices/webService/gisSystemStaticSlice.md index ecf688b02..9bbf5ae57 100644 --- a/docs/redux/slices/webService/gisSystemStaticSlice.md +++ b/docs/redux/slices/webService/gisSystemStaticSlice.md @@ -21,5 +21,9 @@ Verwaltet statische Gerätedaten aller Systeme, die vom Webservice zurückgegebe ## Selector ```js -selectGisSystemStatic = (state) => state.gisSystemStatic.data -``` \ No newline at end of file +selectGisSystemStatic = state => state.gisSystemStatic.data; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/webService/userRightsSlice.md b/docs/redux/slices/webService/userRightsSlice.md index a40453d15..2a74130af 100644 --- a/docs/redux/slices/webService/userRightsSlice.md +++ b/docs/redux/slices/webService/userRightsSlice.md @@ -21,6 +21,10 @@ Verwaltet die Benutzerrechte, die vom Webservice für den angemeldeten Nutzer be ## Selector ```js -selectGisUserRightsFromWebservice = (state) => state.gisUserRightsFromWebservice.rights -selectGisUserRightsStatus = (state) => state.gisUserRightsFromWebservice.status -``` \ No newline at end of file +selectGisUserRightsFromWebservice = state => state.gisUserRightsFromWebservice.rights; +selectGisUserRightsStatus = state => state.gisUserRightsFromWebservice.status; +``` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/slices/zoomTriggerSlice.md b/docs/redux/slices/zoomTriggerSlice.md index e5aeb3226..51f39d19f 100644 --- a/docs/redux/slices/zoomTriggerSlice.md +++ b/docs/redux/slices/zoomTriggerSlice.md @@ -7,10 +7,16 @@ Ein Redux-Trigger, der die Karte zur Neuberechnung des Zoom-Zustands veranlasst. ## Zustand ```js -{ trigger: number } +{ + trigger: number; +} ``` ## Aktionen - `incrementZoomTrigger()`: Erhöht den Trigger -- `resetZoomTrigger()`: Setzt auf 0 zurück \ No newline at end of file +- `resetZoomTrigger()`: Setzt auf 0 zurück + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/redux/store.md b/docs/redux/store.md index 95664ef63..937ba748f 100644 --- a/docs/redux/store.md +++ b/docs/redux/store.md @@ -15,7 +15,7 @@ import { store } from "../redux/store"; - +; ``` --- @@ -61,4 +61,8 @@ export const store = configureStore({ ```bash /redux/store.js -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/redux/thunks/database/README.md b/docs/redux/thunks/database/README.md new file mode 100644 index 000000000..800ad69ca --- /dev/null +++ b/docs/redux/thunks/database/README.md @@ -0,0 +1,5 @@ +# 📄 Übersicht: docs/redux/thunks/database + +- [fetchLocationDevicesThunk](fetchLocationDevicesThunk.md) +- [fetchPriorityConfigThunk](fetchPriorityConfigThunk.md) +- [getDeviceIdByNameThunk](getDeviceIdByNameThunk.md) \ No newline at end of file diff --git a/docs/redux/thunks/database/area/README.md b/docs/redux/thunks/database/area/README.md new file mode 100644 index 000000000..91ab3edef --- /dev/null +++ b/docs/redux/thunks/database/area/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/redux/thunks/database/area + +- [updateAreaThunk](updateAreaThunk.md) \ No newline at end of file diff --git a/docs/redux/thunks/database/area/updateAreaThunk.md b/docs/redux/thunks/database/area/updateAreaThunk.md index 24d8dcec5..5644443a6 100644 --- a/docs/redux/thunks/database/area/updateAreaThunk.md +++ b/docs/redux/thunks/database/area/updateAreaThunk.md @@ -7,12 +7,14 @@ Async-Thunk zum Aktualisieren der Koordinaten eines Bereichs (Area). ## Verwendung ```js -dispatch(updateAreaThunk({ - idLocation: 5, - idMap: 2, - x: 53.215, - y: 8.45 -})); +dispatch( + updateAreaThunk({ + idLocation: 5, + idMap: 2, + x: 53.215, + y: 8.45, + }) +); ``` ## Quelle @@ -22,4 +24,8 @@ dispatch(updateAreaThunk({ ## Verhalten - Gibt `await`-Ergebnis direkt zurück -- Fehlerbehandlung wird vom aufrufenden Slice übernommen \ No newline at end of file +- Fehlerbehandlung wird vom aufrufenden Slice übernommen + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/fetchLocationDevicesThunk.md b/docs/redux/thunks/database/fetchLocationDevicesThunk.md index 2d62cde1b..00fc42479 100644 --- a/docs/redux/thunks/database/fetchLocationDevicesThunk.md +++ b/docs/redux/thunks/database/fetchLocationDevicesThunk.md @@ -12,4 +12,8 @@ dispatch(fetchLocationDevicesThunk()); ## Quelle -- Ruft `fetchLocationDevicesService()` auf \ No newline at end of file +- Ruft `fetchLocationDevicesService()` auf + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/database/fetchPriorityConfigThunk.md b/docs/redux/thunks/database/fetchPriorityConfigThunk.md index 53895c2f7..e3bea6a12 100644 --- a/docs/redux/thunks/database/fetchPriorityConfigThunk.md +++ b/docs/redux/thunks/database/fetchPriorityConfigThunk.md @@ -12,4 +12,8 @@ dispatch(fetchPriorityConfigThunk()); ## Quelle -- Ruft `fetchPriorityConfigService()` auf \ No newline at end of file +- Ruft `fetchPriorityConfigService()` auf + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/database/getDeviceIdByNameThunk.md b/docs/redux/thunks/database/getDeviceIdByNameThunk.md index 4e0848f27..f83bdaf44 100644 --- a/docs/redux/thunks/database/getDeviceIdByNameThunk.md +++ b/docs/redux/thunks/database/getDeviceIdByNameThunk.md @@ -13,4 +13,8 @@ dispatch(getDeviceIdByNameThunk("Kue705")); ## Verhalten - Ruft `getDeviceIdByNameService(deviceName)` auf -- Fehler werden mit `rejectWithValue(error.message)` behandelt \ No newline at end of file +- Fehler werden mit `rejectWithValue(error.message)` behandelt + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/database/locationDevice/README.md b/docs/redux/thunks/database/locationDevice/README.md new file mode 100644 index 000000000..4d61d5796 --- /dev/null +++ b/docs/redux/thunks/database/locationDevice/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/redux/thunks/database/locationDevice + +- [fetchLocationDevicesThunk (1)](fetchLocationDevicesThunk (1).md) \ No newline at end of file diff --git a/docs/redux/thunks/database/locationDevice/fetchLocationDevicesThunk (1).md b/docs/redux/thunks/database/locationDevice/fetchLocationDevicesThunk (1).md index 66ee57295..1ebdba4e9 100644 --- a/docs/redux/thunks/database/locationDevice/fetchLocationDevicesThunk (1).md +++ b/docs/redux/thunks/database/locationDevice/fetchLocationDevicesThunk (1).md @@ -8,7 +8,8 @@ Redux-AsyncThunk zum Abrufen aller Einträge aus der Tabelle `location_device`. ## 🔄 Zweck -Dieser Thunk ruft die Servicefunktion `fetchLocationDevicesService()` auf und liefert deren Ergebnis an den Redux-Slice `locationDevicesSlice`. +Dieser Thunk ruft die Servicefunktion `fetchLocationDevicesService()` auf und liefert deren Ergebnis +an den Redux-Slice `locationDevicesSlice`. --- @@ -34,4 +35,8 @@ dispatch(fetchLocationDevicesThunk()); ``` /redux/thunks/database/locationDevice/fetchLocationDevicesThunk.js -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/pois/README.md b/docs/redux/thunks/database/pois/README.md new file mode 100644 index 000000000..5c6728738 --- /dev/null +++ b/docs/redux/thunks/database/pois/README.md @@ -0,0 +1,8 @@ +# 📄 Übersicht: docs/redux/thunks/database/pois + +- [addPoiThunk](addPoiThunk.md) +- [deletePoiThunk](deletePoiThunk.md) +- [fetchPoiIconsDataThunk](fetchPoiIconsDataThunk.md) +- [fetchPoiMarkersThunk](fetchPoiMarkersThunk.md) +- [fetchPoiTypThunk](fetchPoiTypThunk.md) +- [updatePoiThunk](updatePoiThunk.md) \ No newline at end of file diff --git a/docs/redux/thunks/database/pois/addPoiThunk.md b/docs/redux/thunks/database/pois/addPoiThunk.md index c53771de6..14a63651a 100644 --- a/docs/redux/thunks/database/pois/addPoiThunk.md +++ b/docs/redux/thunks/database/pois/addPoiThunk.md @@ -7,15 +7,19 @@ Async-Thunk zur Erstellung eines neuen POIs. ## Verwendung ```js -dispatch(addPoiThunk({ - name: "Messstelle 1", - poiTypeId: 2, - latitude: 53.21, - longitude: 8.43, - idLD: 12 -})); +dispatch( + addPoiThunk({ + name: "Messstelle 1", + poiTypeId: 2, + latitude: 53.21, + longitude: 8.43, + idLD: 12, + }) +); ``` ## Intern -Ruft `addPoiService(formData)` auf und gibt das Ergebnis zurück. \ No newline at end of file +## Ruft `addPoiService(formData)` auf und gibt das Ergebnis zurück. + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/pois/deletePoiThunk.md b/docs/redux/thunks/database/pois/deletePoiThunk.md index 2e6ea1625..94c268bbd 100644 --- a/docs/redux/thunks/database/pois/deletePoiThunk.md +++ b/docs/redux/thunks/database/pois/deletePoiThunk.md @@ -13,4 +13,8 @@ dispatch(deletePoiThunk(15)); ## Verhalten - Ruft `deletePoiService(id)` auf -- Gibt die ID im Erfolgsfall zurück \ No newline at end of file +- Gibt die ID im Erfolgsfall zurück + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/pois/fetchPoiIconsDataThunk.md b/docs/redux/thunks/database/pois/fetchPoiIconsDataThunk.md index 76931f618..6c279c31a 100644 --- a/docs/redux/thunks/database/pois/fetchPoiIconsDataThunk.md +++ b/docs/redux/thunks/database/pois/fetchPoiIconsDataThunk.md @@ -12,4 +12,8 @@ dispatch(fetchPoiIconsDataThunk()); ## Intern -- Ruft `fetchPoiIconsDataService()` auf \ No newline at end of file +- Ruft `fetchPoiIconsDataService()` auf + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/pois/fetchPoiMarkersThunk.md b/docs/redux/thunks/database/pois/fetchPoiMarkersThunk.md index e1cbc961d..4cb4d5560 100644 --- a/docs/redux/thunks/database/pois/fetchPoiMarkersThunk.md +++ b/docs/redux/thunks/database/pois/fetchPoiMarkersThunk.md @@ -12,4 +12,8 @@ dispatch(fetchPoiMarkersThunk()); ## Intern -- Ruft `fetchPoiMarkersService()` auf \ No newline at end of file +- Ruft `fetchPoiMarkersService()` auf + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/pois/fetchPoiTypThunk.md b/docs/redux/thunks/database/pois/fetchPoiTypThunk.md index 2aae375b4..762930145 100644 --- a/docs/redux/thunks/database/pois/fetchPoiTypThunk.md +++ b/docs/redux/thunks/database/pois/fetchPoiTypThunk.md @@ -12,4 +12,8 @@ dispatch(fetchPoiTypThunk()); ## Intern -- Ruft `fetchPoiTypService()` auf \ No newline at end of file +- Ruft `fetchPoiTypService()` auf + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/pois/updatePoiThunk.md b/docs/redux/thunks/database/pois/updatePoiThunk.md index 3a4dec185..9d12e687b 100644 --- a/docs/redux/thunks/database/pois/updatePoiThunk.md +++ b/docs/redux/thunks/database/pois/updatePoiThunk.md @@ -7,14 +7,20 @@ Aktualisiert einen bestehenden POI mit neuen Daten. ## Verwendung ```js -dispatch(updatePoiThunk({ - idPoi: 15, - description: "Neue Beschreibung", - idPoiTyp: 3, - idLD: 8 -})); +dispatch( + updatePoiThunk({ + idPoi: 15, + description: "Neue Beschreibung", + idPoiTyp: 3, + idLD: 8, + }) +); ``` ## Intern -- Ruft `updatePoiService(poi)` auf \ No newline at end of file +- Ruft `updatePoiService(poi)` auf + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/polylines/README.md b/docs/redux/thunks/database/polylines/README.md new file mode 100644 index 000000000..86f68dc1e --- /dev/null +++ b/docs/redux/thunks/database/polylines/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/redux/thunks/database/polylines + +- [fetchGisLinesThunk](fetchGisLinesThunk.md) +- [updatePolylineCoordinatesThunk](updatePolylineCoordinatesThunk.md) \ No newline at end of file diff --git a/docs/redux/thunks/database/polylines/fetchGisLinesThunk.md b/docs/redux/thunks/database/polylines/fetchGisLinesThunk.md index 9bfbdec01..23e1bc5b7 100644 --- a/docs/redux/thunks/database/polylines/fetchGisLinesThunk.md +++ b/docs/redux/thunks/database/polylines/fetchGisLinesThunk.md @@ -13,4 +13,8 @@ dispatch(fetchGisLinesThunk()); ## Intern - Ruft `fetchGisLinesService()` auf -- Liefert alle Linien mit Koordinaten zur Anzeige auf der Karte \ No newline at end of file +- Liefert alle Linien mit Koordinaten zur Anzeige auf der Karte + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/database/polylines/updatePolylineCoordinatesThunk.md b/docs/redux/thunks/database/polylines/updatePolylineCoordinatesThunk.md index 19c68ce6f..1ed6660df 100644 --- a/docs/redux/thunks/database/polylines/updatePolylineCoordinatesThunk.md +++ b/docs/redux/thunks/database/polylines/updatePolylineCoordinatesThunk.md @@ -7,14 +7,23 @@ Async-Thunk zur Aktualisierung von Linienkoordinaten in der Datenbank. ## Verwendung ```js -dispatch(updatePolylineCoordinatesThunk({ - idLD: 7, - idModul: 2, - newCoordinates: [[53.2, 8.4], [53.21, 8.45]] -})); +dispatch( + updatePolylineCoordinatesThunk({ + idLD: 7, + idModul: 2, + newCoordinates: [ + [53.2, 8.4], + [53.21, 8.45], + ], + }) +); ``` ## Intern - Ruft `updatePolylineCoordinatesService(requestData)` auf -- Wandelt Koordinaten in MySQL LINESTRING um \ No newline at end of file +- Wandelt Koordinaten in MySQL LINESTRING um + +--- + +[Zurück zur Übersicht](../../../../README.md) diff --git a/docs/redux/thunks/webservice/README.md b/docs/redux/thunks/webservice/README.md new file mode 100644 index 000000000..dcb793dc9 --- /dev/null +++ b/docs/redux/thunks/webservice/README.md @@ -0,0 +1,8 @@ +# 📄 Übersicht: docs/redux/thunks/webservice + +- [fetchGisLinesStatusThunk](fetchGisLinesStatusThunk.md) +- [fetchGisStationsMeasurementsThunk](fetchGisStationsMeasurementsThunk.md) +- [fetchGisStationsStaticDistrictThunk](fetchGisStationsStaticDistrictThunk.md) +- [fetchGisStationsStatusDistrictThunk](fetchGisStationsStatusDistrictThunk.md) +- [fetchGisSystemStaticThunk](fetchGisSystemStaticThunk.md) +- [fetchUserRightsThunk](fetchUserRightsThunk.md) \ No newline at end of file diff --git a/docs/redux/thunks/webservice/fetchGisLinesStatusThunk.md b/docs/redux/thunks/webservice/fetchGisLinesStatusThunk.md index 82e04ab66..f585d3770 100644 --- a/docs/redux/thunks/webservice/fetchGisLinesStatusThunk.md +++ b/docs/redux/thunks/webservice/fetchGisLinesStatusThunk.md @@ -13,4 +13,8 @@ dispatch(fetchGisLinesStatusThunk()); ## Intern - Ruft `fetchGisLinesStatusService()` auf -- Fehlerbehandlung per `rejectWithValue(error.message)` \ No newline at end of file +- Fehlerbehandlung per `rejectWithValue(error.message)` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/webservice/fetchGisStationsMeasurementsThunk.md b/docs/redux/thunks/webservice/fetchGisStationsMeasurementsThunk.md index 94cfe884f..fb32adcb7 100644 --- a/docs/redux/thunks/webservice/fetchGisStationsMeasurementsThunk.md +++ b/docs/redux/thunks/webservice/fetchGisStationsMeasurementsThunk.md @@ -12,4 +12,8 @@ dispatch(fetchGisStationsMeasurementsThunk()); ## Intern -- Ruft `fetchGisStationsMeasurementsService()` auf \ No newline at end of file +- Ruft `fetchGisStationsMeasurementsService()` auf + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/webservice/fetchGisStationsStaticDistrictThunk.md b/docs/redux/thunks/webservice/fetchGisStationsStaticDistrictThunk.md index d69b6dfb4..099a1245a 100644 --- a/docs/redux/thunks/webservice/fetchGisStationsStaticDistrictThunk.md +++ b/docs/redux/thunks/webservice/fetchGisStationsStaticDistrictThunk.md @@ -12,4 +12,8 @@ dispatch(fetchGisStationsStaticDistrictThunk()); ## Intern -- Ruft `fetchGisStationsStaticDistrictService()` auf \ No newline at end of file +- Ruft `fetchGisStationsStaticDistrictService()` auf + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/webservice/fetchGisStationsStatusDistrictThunk.md b/docs/redux/thunks/webservice/fetchGisStationsStatusDistrictThunk.md index 587db68b1..4fb87a8d3 100644 --- a/docs/redux/thunks/webservice/fetchGisStationsStatusDistrictThunk.md +++ b/docs/redux/thunks/webservice/fetchGisStationsStatusDistrictThunk.md @@ -12,4 +12,8 @@ dispatch(fetchGisStationsStatusDistrictThunk()); ## Intern -- Ruft `fetchGisStationsStatusDistrictService()` auf \ No newline at end of file +- Ruft `fetchGisStationsStatusDistrictService()` auf + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/webservice/fetchGisSystemStaticThunk.md b/docs/redux/thunks/webservice/fetchGisSystemStaticThunk.md index 9211be3d9..ae63b9011 100644 --- a/docs/redux/thunks/webservice/fetchGisSystemStaticThunk.md +++ b/docs/redux/thunks/webservice/fetchGisSystemStaticThunk.md @@ -12,4 +12,8 @@ dispatch(fetchGisSystemStaticThunk()); ## Intern -- Ruft `fetchGisSystemStaticService()` auf \ No newline at end of file +- Ruft `fetchGisSystemStaticService()` auf + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/redux/thunks/webservice/fetchUserRightsThunk.md b/docs/redux/thunks/webservice/fetchUserRightsThunk.md index fe1d96508..5ef90d01c 100644 --- a/docs/redux/thunks/webservice/fetchUserRightsThunk.md +++ b/docs/redux/thunks/webservice/fetchUserRightsThunk.md @@ -13,4 +13,8 @@ dispatch(fetchUserRightsThunk()); ## Intern - Ruft `fetchUserRightsService()` auf -- Fehlerbehandlung per `rejectWithValue(error.message)` \ No newline at end of file +- Fehlerbehandlung per `rejectWithValue(error.message)` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/README.md b/docs/services/database/README.md new file mode 100644 index 000000000..4e84c3ee3 --- /dev/null +++ b/docs/services/database/README.md @@ -0,0 +1,7 @@ +# 📄 Übersicht: docs/services/database + +- [fetchDeviceNameByIdService](fetchDeviceNameByIdService.md) +- [fetchLocationDevicesService](fetchLocationDevicesService.md) +- [fetchPriorityConfigService](fetchPriorityConfigService.md) +- [getDeviceIdByNameService](getDeviceIdByNameService.md) +- [updateLocationInDatabaseService](updateLocationInDatabaseService.md) \ No newline at end of file diff --git a/docs/services/database/area/README.md b/docs/services/database/area/README.md new file mode 100644 index 000000000..40ad69bbe --- /dev/null +++ b/docs/services/database/area/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/services/database/area + +- [updateAreaService](updateAreaService.md) \ No newline at end of file diff --git a/docs/services/database/area/updateAreaService.md b/docs/services/database/area/updateAreaService.md index fa7520cd2..d04bc75ce 100644 --- a/docs/services/database/area/updateAreaService.md +++ b/docs/services/database/area/updateAreaService.md @@ -10,7 +10,7 @@ Service zur Aktualisierung der Koordinaten eines Bereichs (Area) in der Datenban await updateAreaService({ idLocation: 4, idMap: 1, - newCoords: { x: 53.219, y: 8.435 } + newCoords: { x: 53.219, y: 8.435 }, }); ``` @@ -34,4 +34,8 @@ PUT /api/talas_v5_DB/area/updateArea ## Rückgabe - Erfolgreich: JSON mit Erfolgsmeldung -- Fehler: `throw new Error(...)` bei nicht OK \ No newline at end of file +- Fehler: `throw new Error(...)` bei nicht OK + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/fetchDeviceNameByIdService.md b/docs/services/database/fetchDeviceNameByIdService.md index 95b5880b6..5c43626ad 100644 --- a/docs/services/database/fetchDeviceNameByIdService.md +++ b/docs/services/database/fetchDeviceNameByIdService.md @@ -19,4 +19,8 @@ const name = await fetchDeviceNameById(idLD); ## Rückgabe - Erfolgreich: Gerätebezeichnung als `string` -- Fehler: `"Unbekannt"` \ No newline at end of file +- Fehler: `"Unbekannt"` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/database/fetchLocationDevicesService.md b/docs/services/database/fetchLocationDevicesService.md index f40447bab..1eefdcbf8 100644 --- a/docs/services/database/fetchLocationDevicesService.md +++ b/docs/services/database/fetchLocationDevicesService.md @@ -18,4 +18,8 @@ const result = await fetchLocationDevicesService(); ## Rückgabe -- JSON-Array aller Geräte \ No newline at end of file +- JSON-Array aller Geräte + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/database/fetchPriorityConfigService.md b/docs/services/database/fetchPriorityConfigService.md index 7dce4c026..64db4d992 100644 --- a/docs/services/database/fetchPriorityConfigService.md +++ b/docs/services/database/fetchPriorityConfigService.md @@ -14,4 +14,8 @@ const result = await fetchPriorityConfigService(); ``` /api/talas_v5_DB/priorityConfig -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/database/getDeviceIdByNameService.md b/docs/services/database/getDeviceIdByNameService.md index cc0903403..0f13425dd 100644 --- a/docs/services/database/getDeviceIdByNameService.md +++ b/docs/services/database/getDeviceIdByNameService.md @@ -19,4 +19,8 @@ const id = await getDeviceIdByNameService("CPL-V4"); ## Rückgabe - Erfolgreich: `idLD` (number) -- Fehler: Exception \ No newline at end of file +- Fehler: Exception + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/database/locationDevice/README.md b/docs/services/database/locationDevice/README.md new file mode 100644 index 000000000..8d9fad302 --- /dev/null +++ b/docs/services/database/locationDevice/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/services/database/locationDevice + +- [fetchLocationDevicesService](fetchLocationDevicesService.md) \ No newline at end of file diff --git a/docs/services/database/locationDevice/fetchLocationDevicesService.md b/docs/services/database/locationDevice/fetchLocationDevicesService.md index f40447bab..27c1e9758 100644 --- a/docs/services/database/locationDevice/fetchLocationDevicesService.md +++ b/docs/services/database/locationDevice/fetchLocationDevicesService.md @@ -18,4 +18,8 @@ const result = await fetchLocationDevicesService(); ## Rückgabe -- JSON-Array aller Geräte \ No newline at end of file +- JSON-Array aller Geräte + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/README.md b/docs/services/database/pois/README.md new file mode 100644 index 000000000..63984cce4 --- /dev/null +++ b/docs/services/database/pois/README.md @@ -0,0 +1,10 @@ +# 📄 Übersicht: docs/services/database/pois + +- [addPoiService](addPoiService.md) +- [deletePoiService](deletePoiService.md) +- [fetchPoiDataByIdService](fetchPoiDataByIdService.md) +- [fetchPoiDataService](fetchPoiDataService.md) +- [fetchPoiIconsDataService](fetchPoiIconsDataService.md) +- [fetchPoiMarkersService](fetchPoiMarkersService.md) +- [fetchPoiTypService](fetchPoiTypService.md) +- [updatePoiService](updatePoiService.md) \ No newline at end of file diff --git a/docs/services/database/pois/addPoiService.md b/docs/services/database/pois/addPoiService.md index 16d80616d..0ad656d87 100644 --- a/docs/services/database/pois/addPoiService.md +++ b/docs/services/database/pois/addPoiService.md @@ -12,11 +12,15 @@ await addPoiService({ poiTypeId: 1, idLD: 12, latitude: 53.21, - longitude: 8.43 + longitude: 8.43, }); ``` ## API - Endpoint: `POST /api/talas_v5_DB/pois/addPoi` -- Headers: `"Content-Type": "application/json"` \ No newline at end of file +- Headers: `"Content-Type": "application/json"` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/deletePoiService.md b/docs/services/database/pois/deletePoiService.md index 62569ca9a..c2e65fd23 100644 --- a/docs/services/database/pois/deletePoiService.md +++ b/docs/services/database/pois/deletePoiService.md @@ -12,4 +12,8 @@ await deletePoiService(id); ## API -- Endpoint: `DELETE /api/talas_v5_DB/pois/deletePoi?id=ID` \ No newline at end of file +- Endpoint: `DELETE /api/talas_v5_DB/pois/deletePoi?id=ID` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/fetchPoiDataByIdService.md b/docs/services/database/pois/fetchPoiDataByIdService.md index fbbb86acc..5366620e4 100644 --- a/docs/services/database/pois/fetchPoiDataByIdService.md +++ b/docs/services/database/pois/fetchPoiDataByIdService.md @@ -12,4 +12,8 @@ const poi = await fetchPoiDataService(idPoi); ## API -- Endpoint: `GET /api/talas_v5_DB/pois/getPoiById?idPoi=ID` \ No newline at end of file +- Endpoint: `GET /api/talas_v5_DB/pois/getPoiById?idPoi=ID` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/fetchPoiDataService.md b/docs/services/database/pois/fetchPoiDataService.md index 797a8a658..6d5088bc3 100644 --- a/docs/services/database/pois/fetchPoiDataService.md +++ b/docs/services/database/pois/fetchPoiDataService.md @@ -12,4 +12,8 @@ const data = await fetchPoiDataService(); ## API -- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons` \ No newline at end of file +- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/fetchPoiIconsDataService.md b/docs/services/database/pois/fetchPoiIconsDataService.md index 8e1ff22a0..cf2a1ff4c 100644 --- a/docs/services/database/pois/fetchPoiIconsDataService.md +++ b/docs/services/database/pois/fetchPoiIconsDataService.md @@ -12,4 +12,8 @@ const icons = await fetchPoiIconsDataService(); ## API -- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons` \ No newline at end of file +- Endpoint: `GET /api/talas_v5_DB/pois/poi-icons` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/fetchPoiMarkersService.md b/docs/services/database/pois/fetchPoiMarkersService.md index de209ebdf..1eaf467b3 100644 --- a/docs/services/database/pois/fetchPoiMarkersService.md +++ b/docs/services/database/pois/fetchPoiMarkersService.md @@ -12,4 +12,8 @@ const pois = await fetchPoiMarkersService(); ## API -- Endpoint: `GET /api/talas_v5_DB/pois/readAllPOIs` \ No newline at end of file +- Endpoint: `GET /api/talas_v5_DB/pois/readAllPOIs` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/fetchPoiTypService.md b/docs/services/database/pois/fetchPoiTypService.md index 360d035fe..df8aa2919 100644 --- a/docs/services/database/pois/fetchPoiTypService.md +++ b/docs/services/database/pois/fetchPoiTypService.md @@ -12,4 +12,8 @@ const types = await fetchPoiTypService(); ## API -- Endpoint: `GET /api/talas_v5_DB/poiTyp/readPoiTyp` \ No newline at end of file +- Endpoint: `GET /api/talas_v5_DB/poiTyp/readPoiTyp` + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/pois/updatePoiService.md b/docs/services/database/pois/updatePoiService.md index 07f78d478..910dc56b3 100644 --- a/docs/services/database/pois/updatePoiService.md +++ b/docs/services/database/pois/updatePoiService.md @@ -11,11 +11,15 @@ await updatePoiService({ idPoi: 5, description: "Neuer Text", idLD: 3, - idPoiTyp: 1 + idPoiTyp: 1, }); ``` ## API - Endpoint: `POST /api/talas_v5_DB/pois/updatePoi` -- Body: JSON mit den zu aktualisierenden Feldern \ No newline at end of file +- Body: JSON mit den zu aktualisierenden Feldern + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/polylines/README.md b/docs/services/database/polylines/README.md new file mode 100644 index 000000000..145121582 --- /dev/null +++ b/docs/services/database/polylines/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/services/database/polylines + +- [fetchGisLinesService](fetchGisLinesService.md) +- [updatePolylineCoordinatesService](updatePolylineCoordinatesService.md) \ No newline at end of file diff --git a/docs/services/database/polylines/fetchGisLinesService.md b/docs/services/database/polylines/fetchGisLinesService.md index 13cecfeca..8787a2040 100644 --- a/docs/services/database/polylines/fetchGisLinesService.md +++ b/docs/services/database/polylines/fetchGisLinesService.md @@ -16,4 +16,8 @@ const lines = await fetchGisLinesService(); ## Rückgabe -- JSON-Array mit allen Linien und ihren Koordinaten \ No newline at end of file +- JSON-Array mit allen Linien und ihren Koordinaten + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/polylines/updatePolylineCoordinatesService.md b/docs/services/database/polylines/updatePolylineCoordinatesService.md index 2cf961735..1fa625058 100644 --- a/docs/services/database/polylines/updatePolylineCoordinatesService.md +++ b/docs/services/database/polylines/updatePolylineCoordinatesService.md @@ -10,7 +10,10 @@ Service zum Aktualisieren der Koordinaten einer Linie in der Datenbank. await updatePolylineCoordinatesService({ idLD: 5, idModul: 1, - newCoordinates: [[53.2, 8.4], [53.21, 8.45]] + newCoordinates: [ + [53.2, 8.4], + [53.21, 8.45], + ], }); ``` @@ -21,4 +24,8 @@ await updatePolylineCoordinatesService({ ## Fehlerbehandlung -- Bei Fehler: `throw new Error(...)` mit Backend-Meldung \ No newline at end of file +- Bei Fehler: `throw new Error(...)` mit Backend-Meldung + +--- + +[Zurück zur Übersicht](../../../README.md) diff --git a/docs/services/database/updateLocationInDatabaseService.md b/docs/services/database/updateLocationInDatabaseService.md index e5561d0fe..631c3c438 100644 --- a/docs/services/database/updateLocationInDatabaseService.md +++ b/docs/services/database/updateLocationInDatabaseService.md @@ -18,4 +18,8 @@ await updateLocationInDatabaseService(id, lat, lng); ## Methode -- `POST` mit JSON-Body: `{ id, latitude, longitude }` \ No newline at end of file +- `POST` mit JSON-Body: `{ id, latitude, longitude }` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/utils/README.md b/docs/services/utils/README.md new file mode 100644 index 000000000..d39645de5 --- /dev/null +++ b/docs/services/utils/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/services/utils + +- [fetchWithTimeout](fetchWithTimeout.md) \ No newline at end of file diff --git a/docs/services/utils/fetchWithTimeout.md b/docs/services/utils/fetchWithTimeout.md index c57084bb4..b3ec02f10 100644 --- a/docs/services/utils/fetchWithTimeout.md +++ b/docs/services/utils/fetchWithTimeout.md @@ -8,7 +8,8 @@ Hilfsfunktion zur Durchführung eines `fetch`-Requests mit einem Timeout. ## 💡 Zweck -Manche Serveranfragen können hängen bleiben. Diese Funktion sorgt dafür, dass eine Anfrage nach einer bestimmten Zeit abgebrochen wird, um UI-Blockierungen oder lange Wartezeiten zu vermeiden. +Manche Serveranfragen können hängen bleiben. Diese Funktion sorgt dafür, dass eine Anfrage nach +einer bestimmten Zeit abgebrochen wird, um UI-Blockierungen oder lange Wartezeiten zu vermeiden. --- @@ -43,4 +44,8 @@ const response = await fetchWithTimeout("/api/data", {}, 3000); ``` /services/utils/fetchWithTimeout.js -``` \ No newline at end of file +``` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/webservice/README.md b/docs/services/webservice/README.md new file mode 100644 index 000000000..d0905e48d --- /dev/null +++ b/docs/services/webservice/README.md @@ -0,0 +1,8 @@ +# 📄 Übersicht: docs/services/webservice + +- [fetchGisLinesStatusService](fetchGisLinesStatusService.md) +- [fetchGisStationsMeasurementsService](fetchGisStationsMeasurementsService.md) +- [fetchGisStationsStaticDistrictService](fetchGisStationsStaticDistrictService.md) +- [fetchGisStationsStatusDistrictService](fetchGisStationsStatusDistrictService.md) +- [fetchGisSystemStaticService](fetchGisSystemStaticService.md) +- [fetchUserRightsService](fetchUserRightsService.md) \ No newline at end of file diff --git a/docs/services/webservice/fetchGisLinesStatusService.md b/docs/services/webservice/fetchGisLinesStatusService.md index da7745114..f0f6bb577 100644 --- a/docs/services/webservice/fetchGisLinesStatusService.md +++ b/docs/services/webservice/fetchGisLinesStatusService.md @@ -58,3 +58,7 @@ Lädt Linienstatus-Daten über den TALAS WebService. | `fetchGisLinesStatusThunk.js` | Redux Thunk | | `gisLinesStatusSlice.js` | Redux Slice | | `store.js` | Integration des Slices | + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/webservice/fetchGisStationsMeasurementsService.md b/docs/services/webservice/fetchGisStationsMeasurementsService.md index f10c4b708..a65b0b9d8 100644 --- a/docs/services/webservice/fetchGisStationsMeasurementsService.md +++ b/docs/services/webservice/fetchGisStationsMeasurementsService.md @@ -13,4 +13,8 @@ const messwerte = await fetchGisStationsMeasurementsService(); ## API-Aufruf - Endpoint: `/ClientData/WebServiceMap.asmx/GisStationsMeasurements?idMap=...&idUser=...` -- Rückgabe: `Statis[]` \ No newline at end of file +- Rückgabe: `Statis[]` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/webservice/fetchGisStationsStaticDistrictService.md b/docs/services/webservice/fetchGisStationsStaticDistrictService.md index 5ab0812b3..a75a76a6f 100644 --- a/docs/services/webservice/fetchGisStationsStaticDistrictService.md +++ b/docs/services/webservice/fetchGisStationsStaticDistrictService.md @@ -13,4 +13,8 @@ const points = await fetchGisStationsStaticDistrictService(); ## API-Aufruf - Endpoint: `/ClientData/WebServiceMap.asmx/GisStationsStaticDistrict?idMap=...&idUser=...` -- Rückgabe: `Points[]` \ No newline at end of file +- Rückgabe: `Points[]` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/webservice/fetchGisStationsStatusDistrictService.md b/docs/services/webservice/fetchGisStationsStatusDistrictService.md index c5d217c08..e4d97c6f1 100644 --- a/docs/services/webservice/fetchGisStationsStatusDistrictService.md +++ b/docs/services/webservice/fetchGisStationsStatusDistrictService.md @@ -13,4 +13,8 @@ const result = await fetchGisStationsStatusDistrictService(); ## API-Aufruf - Endpoint: `/ClientData/WebServiceMap.asmx/GisStationsStatusDistrict?idMap=...&idUser=...` -- Rückgabe: `Statis[]` \ No newline at end of file +- Rückgabe: `Statis[]` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/webservice/fetchGisSystemStaticService.md b/docs/services/webservice/fetchGisSystemStaticService.md index 1a7da718f..52c9192be 100644 --- a/docs/services/webservice/fetchGisSystemStaticService.md +++ b/docs/services/webservice/fetchGisSystemStaticService.md @@ -13,4 +13,8 @@ const systems = await fetchGisSystemStaticService(); ## API-Aufruf - Endpoint: `/ClientData/WebServiceMap.asmx/GisSystemStatic?idMap=...&idUser=...` -- Rückgabe: `Systems[]` \ No newline at end of file +- Rückgabe: `Systems[]` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/services/webservice/fetchUserRightsService.md b/docs/services/webservice/fetchUserRightsService.md index ed0b170cb..cff1b90f5 100644 --- a/docs/services/webservice/fetchUserRightsService.md +++ b/docs/services/webservice/fetchUserRightsService.md @@ -13,4 +13,8 @@ const rights = await fetchUserRightsService(); ## API-Aufruf - Endpoint: `/ClientData/WebServiceMap.asmx/GisSystemStatic?idMap=...&idUser=...` -- Rückgabe: `Rights[]` (Fallback: `[]`) \ No newline at end of file +- Rückgabe: `Rights[]` (Fallback: `[]`) + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/standards/README.md b/docs/standards/README.md new file mode 100644 index 000000000..0fce52e62 --- /dev/null +++ b/docs/standards/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/standards + +- [versioning](versioning.md) \ No newline at end of file diff --git a/docs/standards/versioning.md b/docs/standards/versioning.md index 8a34dd9c2..7b53a8d6a 100644 --- a/docs/standards/versioning.md +++ b/docs/standards/versioning.md @@ -64,3 +64,7 @@ Das Skript wird zusätzlich automatisch beim Git-Commit über Husky (`.husky/pre 📘 Pfad diese Datei: [`/docs/standards/versioning.md`](/docs/standards/versioning.md) + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/troubleshooting/README.md b/docs/troubleshooting/README.md new file mode 100644 index 000000000..90fcfc192 --- /dev/null +++ b/docs/troubleshooting/README.md @@ -0,0 +1,4 @@ +# 📄 Übersicht: docs/troubleshooting + +- [missing-which-module](missing-which-module.md) +- [npm-ci-vs-install](npm-ci-vs-install.md) \ No newline at end of file diff --git a/docs/troubleshooting/missing-which-module.md b/docs/troubleshooting/missing-which-module.md index f06bb4cca..7c9f07960 100644 --- a/docs/troubleshooting/missing-which-module.md +++ b/docs/troubleshooting/missing-which-module.md @@ -28,3 +28,7 @@ Da `which` nicht mehr im aktuellen `node_modules` verzeichnis vorhanden war: → Manuell entpackt in das entsprechende `node_modules/which`-Verzeichnis. 4. **App gestartet → Funktioniert wieder.** + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/troubleshooting/npm-ci-vs-install.md b/docs/troubleshooting/npm-ci-vs-install.md index dd34e57f8..44cb91d77 100644 --- a/docs/troubleshooting/npm-ci-vs-install.md +++ b/docs/troubleshooting/npm-ci-vs-install.md @@ -58,3 +58,7 @@ npm run dev Diese Datei wurde erstellt für zukünftige Referenz und liegt in `/docs/troubleshooting/npm-ci-vs-install.md`. + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/README.md b/docs/utils/README.md new file mode 100644 index 000000000..233762d05 --- /dev/null +++ b/docs/utils/README.md @@ -0,0 +1,15 @@ +# 📄 Übersicht: docs/utils + +- [addContextMenuToMarker](addContextMenuToMarker.md) +- [contextMenuUtils](contextMenuUtils.md) +- [geometryUtils](geometryUtils.md) +- [initializeMap](initializeMap.md) +- [mapUtils](mapUtils.md) +- [markerUtils](markerUtils.md) +- [mysqlPool](mysqlPool.md) +- [openInNewTab](openInNewTab.md) +- [openInSameWindow](openInSameWindow.md) +- [poiUtils](poiUtils.md) +- [setupDevices](setupDevices.md) +- [setupPOIs](setupPOIs.md) +- [zoomAndCenterUtils](zoomAndCenterUtils.md) \ No newline at end of file diff --git a/docs/utils/addContextMenuToMarker.md b/docs/utils/addContextMenuToMarker.md index beaf58578..374c9bcf6 100644 --- a/docs/utils/addContextMenuToMarker.md +++ b/docs/utils/addContextMenuToMarker.md @@ -26,3 +26,7 @@ addContextMenuToMarker(marker, idLD, name); ## Kontext - Wird z. B. in `createAndSetDevices.js` verwendet + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/contextMenuUtils.md b/docs/utils/contextMenuUtils.md index 97ef58941..19c98c974 100644 --- a/docs/utils/contextMenuUtils.md +++ b/docs/utils/contextMenuUtils.md @@ -30,3 +30,7 @@ Ab Version 1.1.20 verfügen alle Geräte-Marker über ein kontextbasiertes Leafl - Marker müssen `options.idDevice` und `options.link` gesetzt haben - Registrierung erfolgt über `addContextMenuToMarker(marker)` - Redux `selectedDevice` wird nicht mehr benötigt + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/devices/README.md b/docs/utils/devices/README.md new file mode 100644 index 000000000..a2d83ab6c --- /dev/null +++ b/docs/utils/devices/README.md @@ -0,0 +1,3 @@ +# 📄 Übersicht: docs/utils/devices + +- [createAndSetDevices](createAndSetDevices.md) \ No newline at end of file diff --git a/docs/utils/devices/createAndSetDevices.md b/docs/utils/devices/createAndSetDevices.md index 62dece85a..1fb1f6d57 100644 --- a/docs/utils/devices/createAndSetDevices.md +++ b/docs/utils/devices/createAndSetDevices.md @@ -12,7 +12,8 @@ und konfiguriert Kontexteinträge für Interaktionen wie: - Statusinformationen einblenden - Redux-Aktionen für ausgewähltes Gerät auslösen -Die erzeugten Marker werden über `setMarkersFunction(markersData)` an die aufrufende Komponente übergeben. +Die erzeugten Marker werden über `setMarkersFunction(markersData)` an die aufrufende Komponente +übergeben. --- @@ -105,3 +106,7 @@ if (!contextMenuCreated) { --- 📄 Pfad: `/docs/frontend/utils/devices/createAndSetDevices.md` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/utils/geometryUtils.md b/docs/utils/geometryUtils.md index 4dd2920f1..b6e60baa6 100644 --- a/docs/utils/geometryUtils.md +++ b/docs/utils/geometryUtils.md @@ -12,3 +12,7 @@ Mathematische Funktionen zur Berechnung geometrischer Werte auf der Karte. ## Zweck - Interne Hilfsfunktionen für Strecken, Tooltip-Positionen etc. + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/initializeMap.md b/docs/utils/initializeMap.md index 738b33a9f..a38fe020b 100644 --- a/docs/utils/initializeMap.md +++ b/docs/utils/initializeMap.md @@ -13,3 +13,7 @@ Initialisiert die Leaflet-Karte mit Basislayern, Gruppen und globalen Events. - Erstellt LayerGroups (Devices, POIs, Linien) - Bindet Kontextmenü - Stellt Default-Zoom und Position ein + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/mapUtils.md b/docs/utils/mapUtils.md index 4db6069a7..9a3f57087 100644 --- a/docs/utils/mapUtils.md +++ b/docs/utils/mapUtils.md @@ -8,3 +8,7 @@ Allgemeine Hilfsfunktionen für Leaflet (z. B. Zoom, Marker-Checks, Layer-Find - `zoomToBounds(layerGroup)` - `findLayerById(map, id)` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/markerUtils.md b/docs/utils/markerUtils.md index 0df242dce..59e28cb16 100644 --- a/docs/utils/markerUtils.md +++ b/docs/utils/markerUtils.md @@ -12,3 +12,7 @@ Hilfsfunktionen zur Erstellung und Konfiguration von Leaflet-Markern. ## Kontext - Wird in `setupDevices.js` und `setupPOIs.js` verwendet + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/mysqlPool.md b/docs/utils/mysqlPool.md index 847f12ae7..0c24c16c7 100644 --- a/docs/utils/mysqlPool.md +++ b/docs/utils/mysqlPool.md @@ -14,3 +14,7 @@ const connection = await pool.getConnection(); - Reuse von Verbindungen - Fehlervermeidung bei vielen gleichzeitigen Abfragen + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/openInNewTab.md b/docs/utils/openInNewTab.md index d883d4f63..194e49ac3 100644 --- a/docs/utils/openInNewTab.md +++ b/docs/utils/openInNewTab.md @@ -13,3 +13,7 @@ openInNewTab(url); ## Intern - nutzt `window.open` mit `noopener,noreferrer` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/openInSameWindow.md b/docs/utils/openInSameWindow.md index c778e2c18..128bf6f48 100644 --- a/docs/utils/openInSameWindow.md +++ b/docs/utils/openInSameWindow.md @@ -13,3 +13,7 @@ openInSameWindow("/target"); ## Verhalten - `window.location.href = url` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/poiUtils.md b/docs/utils/poiUtils.md index aa67c8922..d7da26221 100644 --- a/docs/utils/poiUtils.md +++ b/docs/utils/poiUtils.md @@ -12,3 +12,7 @@ Hilfsfunktionen zur Handhabung von POIs (z. B. Icons, Typzuordnung, Interaktio ## Verwendung - In `setupPOIs.js` und Thunks für POI-Handling + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/polylines/README.md b/docs/utils/polylines/README.md new file mode 100644 index 000000000..de2636ace --- /dev/null +++ b/docs/utils/polylines/README.md @@ -0,0 +1,8 @@ +# 📄 Übersicht: docs/utils/polylines + +- [contextMenu](contextMenu.md) +- [eventHandlers](eventHandlers.md) +- [monitorContextMenu](monitorContextMenu.md) +- [polylineSubscription](polylineSubscription.md) +- [redrawPolyline](redrawPolyline.md) +- [setupPolylines](setupPolylines.md) \ No newline at end of file diff --git a/docs/utils/polylines/contextMenu.md b/docs/utils/polylines/contextMenu.md index df9114129..fbaf93f14 100644 --- a/docs/utils/polylines/contextMenu.md +++ b/docs/utils/polylines/contextMenu.md @@ -6,5 +6,11 @@ Funktionen zum Steuern des Polyline-Kontextmenüs (Schließen, Zurücksetzen, et ## exportierte Funktionen -- `closePolylineSelectionAndContextMenu(map)`: Setzt Polyline-Auswahl zurück und schließt das Kontextmenü -- `monitorContextMenu(map)`: Überwacht via `localStorage`, ob das Menü automatisch geschlossen werden soll \ No newline at end of file +- `closePolylineSelectionAndContextMenu(map)`: Setzt Polyline-Auswahl zurück und schließt das + Kontextmenü +- `monitorContextMenu(map)`: Überwacht via `localStorage`, ob das Menü automatisch geschlossen + werden soll + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/utils/polylines/eventHandlers.md b/docs/utils/polylines/eventHandlers.md index e28deb95a..1a19ca542 100644 --- a/docs/utils/polylines/eventHandlers.md +++ b/docs/utils/polylines/eventHandlers.md @@ -7,4 +7,8 @@ Bindet Maus-Events an Polylinien (z. B. Hover-Effekte). ## exportierte Funktionen - `enablePolylineEvents(polylines, lineColors)` -- `disablePolylineEvents(polylines)` \ No newline at end of file +- `disablePolylineEvents(polylines)` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/utils/polylines/monitorContextMenu.md b/docs/utils/polylines/monitorContextMenu.md index 5e72ebb20..39e893269 100644 --- a/docs/utils/polylines/monitorContextMenu.md +++ b/docs/utils/polylines/monitorContextMenu.md @@ -7,4 +7,8 @@ Erweiterte Überwachung des Kontextmenüs über `localStorage`. ## Funktion - Importiert `closePolylineSelectionAndContextMenu` -- Ruft regelmäßig `setTimeout` auf, um `contextMenuExpired` zu prüfen \ No newline at end of file +- Ruft regelmäßig `setTimeout` auf, um `contextMenuExpired` zu prüfen + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/utils/polylines/polylineSubscription.md b/docs/utils/polylines/polylineSubscription.md index a7374f798..f6e5f521b 100644 --- a/docs/utils/polylines/polylineSubscription.md +++ b/docs/utils/polylines/polylineSubscription.md @@ -7,4 +7,8 @@ Abonnement auf den Redux-Store, um auf `forceClose` im Kontextmenü zu reagieren ## Verhalten - Erkennt `polylineContextMenu.forceClose` -- Ruft `contextmenu.hide()` auf und resetet Redux-Status \ No newline at end of file +- Ruft `contextmenu.hide()` auf und resetet Redux-Status + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/utils/polylines/redrawPolyline.md b/docs/utils/polylines/redrawPolyline.md index e7ae9d31f..d4b75d76e 100644 --- a/docs/utils/polylines/redrawPolyline.md +++ b/docs/utils/polylines/redrawPolyline.md @@ -7,8 +7,12 @@ Zeichnet eine Polyline mit neuen Koordinaten und Tooltip neu. ## Funktion ```js -redrawPolyline(lineData, lineColors, tooltipContents, map) +redrawPolyline(lineData, lineColors, tooltipContents, map); ``` - Entfernt vorherige Polyline -- Erstellt neue mit Tooltip und Hover-Effekten \ No newline at end of file +- Erstellt neue mit Tooltip und Hover-Effekten + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/utils/polylines/setupPolylines.md b/docs/utils/polylines/setupPolylines.md index 1f3c20246..e8dc4a71f 100644 --- a/docs/utils/polylines/setupPolylines.md +++ b/docs/utils/polylines/setupPolylines.md @@ -4,13 +4,15 @@ ## Zweck -Diese Datei enthält die zentrale Funktion `setupPolylines`, die in der Kartenkomponente (Leaflet) Polylinien sowie Marker basierend auf Gerätekonfigurationen zeichnet und verwaltet. +Diese Datei enthält die zentrale Funktion `setupPolylines`, die in der Kartenkomponente (Leaflet) +Polylinien sowie Marker basierend auf Gerätekonfigurationen zeichnet und verwaltet. Sie wird verwendet, um: - Polylinien basierend auf Koordinaten zu zeichnen - Stützpunkte visuell als Marker anzuzeigen -- Marker kontextsensitiv mit Optionen (z. B. „Stützpunkt entfernen“, „Koordinaten anzeigen“) auszustatten +- Marker kontextsensitiv mit Optionen (z. B. „Stützpunkt entfernen“, „Koordinaten anzeigen“) + auszustatten - Linien aktualisieren und neue Koordinaten in die Datenbank schreiben - Kontextmenü-Interaktionen zu ermöglichen @@ -29,7 +31,8 @@ Sie wird verwendet, um: ## Dynamische URL mit Port-Steuerung Die Datei verwendet **keine feste API-Basis-URL** mehr aus `.env.local`. -Stattdessen wird `NEXT_PUBLIC_API_PORT_MODE` genutzt, um zwischen Entwicklungs- und Produktionsumgebung zu unterscheiden: +Stattdessen wird `NEXT_PUBLIC_API_PORT_MODE` genutzt, um zwischen Entwicklungs- und +Produktionsumgebung zu unterscheiden: ```env NEXT_PUBLIC_API_PORT_MODE=dev @@ -40,7 +43,10 @@ NEXT_PUBLIC_API_PORT_MODE=dev ```js const mode = process.env.NEXT_PUBLIC_API_PORT_MODE; -const baseUrl = mode === "dev" ? `${window.location.protocol}//${window.location.hostname}:80/talas5/` : `${window.location.origin}/talas5/`; +const baseUrl = + mode === "dev" + ? `${window.location.protocol}//${window.location.hostname}:80/talas5/` + : `${window.location.origin}/talas5/`; ``` --- @@ -57,7 +63,8 @@ const baseUrl = mode === "dev" ? `${window.location.protocol}//${window.location ## Speicherorte -- Polylinien und LineColors werden unter `window.polylines` und `window.lineColors` global gespeichert +- Polylinien und LineColors werden unter `window.polylines` und `window.lineColors` global + gespeichert - Aktive Redux-Slices: - `polylineContextMenuSlice` - `addPoiOnPolylineSlice` @@ -74,3 +81,7 @@ const baseUrl = mode === "dev" ? `${window.location.protocol}//${window.location --- 📄 Pfad: `/docs/frontend/utils/polylines/setupPolylines.md` + +--- + +[Zurück zur Übersicht](../../README.md) diff --git a/docs/utils/setupDevices.md b/docs/utils/setupDevices.md index 3297a5cf7..d5ee0f8a6 100644 --- a/docs/utils/setupDevices.md +++ b/docs/utils/setupDevices.md @@ -13,3 +13,7 @@ Fügt alle Geräte (Devices) zur Karte hinzu. - Marker-Erstellung - Eventbindung - Layer-Zuweisung + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/setupPOIs.md b/docs/utils/setupPOIs.md index c84e09202..12843f4e4 100644 --- a/docs/utils/setupPOIs.md +++ b/docs/utils/setupPOIs.md @@ -4,7 +4,8 @@ ## Zweck -Zeichnet alle POI-Marker auf die Leaflet-Karte basierend auf Datenbankeinträgen. Bindet Popup, Kontextmenü, Drag'n'Drop und Redux-Zustand ein. +Zeichnet alle POI-Marker auf die Leaflet-Karte basierend auf Datenbankeinträgen. Bindet Popup, +Kontextmenü, Drag'n'Drop und Redux-Zustand ein. ## Parameter @@ -30,3 +31,7 @@ Zeichnet alle POI-Marker auf die Leaflet-Karte basierend auf Datenbankeinträgen const poi = { idPoi: 7, idPoiTyp: 2, position: "POINT(8.5 53.1)", description: "Mast", idLD: 123 }; const poiData = [{ idPoi: 7, path: "poi-marker-icon-2.png" }]; ``` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/docs/utils/zoomAndCenterUtils.md b/docs/utils/zoomAndCenterUtils.md index a2bb75dca..14e05ce49 100644 --- a/docs/utils/zoomAndCenterUtils.md +++ b/docs/utils/zoomAndCenterUtils.md @@ -8,3 +8,7 @@ Hilfsfunktionen zum Zoomen auf Marker oder Linien. - `zoomToMarker(map, marker)` - `centerOnCoordinates(map, coords)` + +--- + +[Zurück zur Übersicht](../README.md) diff --git a/package-lock.json b/package-lock.json index 2e1b19e63..5931c5e6c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nodemap", - "version": "1.1.284", + "version": "1.1.285", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nodemap", - "version": "1.1.284", + "version": "1.1.285", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0", diff --git a/package.json b/package.json index 58665b51f..45bc4853b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nodemap", - "version": "1.1.284", + "version": "1.1.285", "dependencies": { "@emotion/react": "^11.13.3", "@emotion/styled": "^11.13.0",