Commit Graph

435 Commits

Author SHA1 Message Date
ISA
ace9dd40a7 Merge branch 'develop' 2024-11-28 15:07:02 +01:00
ISA
f0126381ca fix: Markers Icons, Linien und GMA ToolTip aktualisieren sich 2024-11-28 14:14:15 +01:00
ISA
01843c8865 feat: Marker-Management optimiert und Plus-Icon für überlappende Marker hinzugefügt
- Problem mit doppelten Icons behoben: Alte Marker werden vor jedem Update zuverlässig entfernt (clearLayers).
- Zentrale Verwaltung aller Marker-Layer-Gruppen eingeführt (Refactoring mit layerGroups).
- Plus-Icon für überlappende Marker hinzugefügt, um bessere Übersicht bei Markern an derselben Position zu gewährleisten (checkOverlappingMarkers).
- Regelmäßige Updates der Marker-Gruppen via setInterval implementiert.
2024-11-28 12:00:08 +01:00
ISA
e2f11ab8a9 fix: alle Markers/Stationen Icons aktualisieren aber ohne Plus Icon für Überlappende icons 2024-11-28 11:50:23 +01:00
ISA
a9ae56d0ea fix: die Icons werden nicht mehr doppelt angezeigt mit Plus Icon für überlappende Icons 2024-11-28 10:40:04 +01:00
ISA
867322e2b7 mit checkOverlappingMarkers, aber zeigt doppelte icons 2024-11-27 15:23:43 +01:00
ISA
0bca68153c GMA und TALAS Meldestation aktualisiert sich 2024-11-27 14:25:14 +01:00
ISA
9c4c646d55 GMA Marker aktualisiert sich 2024-11-27 12:15:55 +01:00
ISA
db9c57f90e Release Version 1.0.3 2024-11-26 12:28:57 +01:00
ISA
107f00da1e GMA-ToolTip offset vergrößern 2024-11-26 12:03:09 +01:00
ISA
60402ae813 feat: Aktualisierung und Rendering von Marker-Icons und GMA-ToolTip-Werten
- Marker-Icons werden dynamisch aktualisiert, ohne dass Blinken oder redundantes Rendering auftritt.
- ToolTip-Werte der GMA-Stationen aktualisieren sich in Echtzeit basierend auf neuen Messdaten.
- Verbesserte Performance durch gezielte Updates nur bei Datenänderungen.
2024-11-26 12:00:55 +01:00
ISA
2c31bffd5a git commit -m "Entferne node_modules aus dem Git-Tracking" 2024-11-26 11:59:23 +01:00
ISA
e2d9194e8a Version 1.0.1 to 1.0.2 in settings.js 2024-10-02 09:32:51 +02:00
ISA
62b6e55a0a Version 1.0.2 mit node_modules Verzeichnis 2024-10-02 07:58:24 +02:00
ISA
f353a06b1b Merge branch 'feature/dropdown-filter' into develop 2024-10-02 06:59:24 +02:00
ISA
30b01606ac countdown start by line-contextmenu-click 2024-09-20 11:41:30 +02:00
ISA
41454f7efe Linien Daten aktualisieren 2024-09-18 11:06:26 +02:00
ISA
fbb3dac38b PoiUpdateModal filter nach Bereiche 2024-09-17 13:48:36 +02:00
ISA
e9b49cf723 AddPoiModalWindow mit Bereich-Filter 2024-09-17 13:20:15 +02:00
ISA
132242e7d8 WIP: noch Design für POI hinzufügen 2024-09-17 12:35:52 +02:00
ISA
a9e46f81d1 Merge branch 'feature/dropdown-filter' into develop 2024-09-17 07:39:59 +02:00
ISA
941ab2276b feat(poi): Implementiere und style react-select für Geräte- und POI-Typ-Felder in Add- und Update-POI-Modalen
- Integriere react-select für eine benutzerfreundlichere Auswahl der Geräte und POI-Typen.
- Anwende benutzerdefinierte Styles, um eine einheitliche und übersichtliche Darstellung der Dropdowns zu gewährleisten.
- Sicherstellung, dass Platzhalter ("Gerät auswählen..." und "Typ auswählen...") immer angezeigt werden.
- Bereinige das Layout für eine konsistente Benutzererfahrung in beiden Modalen.
2024-09-17 07:30:47 +02:00
ISA
867e683eab Filter Gerät und Typ in Add und Update POI 2024-09-16 15:48:04 +02:00
ISA
02f393f51a fix: POI Update Modal 2024-09-16 15:27:29 +02:00
ISA
1d6b3d6385 git commit -m "Implement react-select as a Combobox Dropdown Menu with consistent width for device selection" 2024-09-16 10:51:04 +02:00
ISA
8c85b2dbf3 git commit -m "Remove redundant ShowAddStationPopup.js as its functionality is duplicated by AddPoiModalWindow.js" 2024-09-16 10:30:49 +02:00
ISA
d367fbd25e .env.local auf 10.10.0.70 2024-09-16 10:24:52 +02:00
ISA
3a934bff26 sachen-anhalt: hat kein DAUZ Geräte, deswegen alle anzeigen, die IP in .env.local muss angepasst werden 2024-09-14 15:17:51 +02:00
ISA
465aa6d848 fix: TypeError: Cannot read properties of null (reading 'contextmenu')
- Korrigiert TypeError, der auftrat, wenn versucht wurde, auf `contextmenu` zuzugreifen, während es null war.
- Implementiert präzise Zeitmessung mithilfe von `Date.now()`, um das Schließen des Kontextmenüs nach genau 17 Sekunden sicherzustellen.
- Verbessert Benutzererfahrung durch zuverlässigere und stabilere Menüverwaltung.
2024-09-13 14:44:10 +02:00
ISA
84f2dafd17 fix: POI löschen in PoiUpdateModal.js hinzugefügt 2024-09-13 11:28:34 +02:00
ISA
864644c543 feat(PoiUpdateModal): Display correct POI type in dropdown on modal open
- Added logic to store the selected POI type in localStorage during POI selection.
- Updated PoiUpdateModal to pre-select the correct POI type from localStorage when opening the modal.
- Implemented fallback to fetch POI types if not found in localStorage.
- Ensured the selected device is also pre-filled in the dropdown.
2024-09-13 10:21:07 +02:00
ISA
56f4a585ae WIP: POI Update Modal, Beschreibung und Gerät funktioniert wie erweitet, Typ soll auch den gewählte POI Typ zuerst in dropdown angezeigt wird 2024-09-13 08:50:10 +02:00
ISA
5295dfec62 WIP: POI Update 2024-09-12 22:56:59 +02:00
ISA
b364d056f1 feat: Set default polyline visibility to true if not defined in localStorage
- Added logic to check if 'polylineVisible' exists in localStorage on page load.
- If not present, set the default value to 'true' to ensure polylines are displayed by default.
- Updated `setupPolylines` function to handle polyline visibility based on localStorage value.
2024-09-12 13:24:50 +02:00
ISA
da5e5a8b65 Kombination für 30, Linien ausblenden, und checkbox in localStorage mergen 2024-09-12 09:14:05 +02:00
ISA
0230600da9 Stützpunkte in Kontextmenü hinzufügen 2024-09-11 22:42:48 +02:00
ISA
f8a4b1f86b Kabelstrecken einblenden und ausblenden 2024-09-11 22:19:04 +02:00
ISA
633886b466 delete doppelte Bestätigung
POI wurde erfolgreich gelöscht.
2024-09-11 15:35:13 +02:00
ISA
8a01ca8814 fix: close context menu 2 seconds before API call to prevent errors
- Implemented logic to monitor the context menu state and ensure it closes 2 seconds before the 20-second interval API call
- Added functionality to log remaining time while the context menu is open for better debugging
- Refactored interval handling to reset remaining time and close the context menu properly
- Addressed runtime error related to null context menu handling
2024-09-11 14:53:13 +02:00
ISA
30f671e1c1 fix: adjust dropdown menu width and layout for better responsiveness
- Set fixed min-width (150px) and max-width (200px) for the dropdown menu to ensure it does not expand too much on smaller screens.
- Removed flex-grow from dropdown to prevent it from taking excess space.
- Improved flex layout between dropdown, EditModeToggle, and expand icon to ensure proper spacing and alignment.
2024-09-11 10:57:36 +02:00
ISA
a43fbff4f8 contexmenu handle in MapComponent wegen error contextmenu nicht vorhanden 2024-09-11 10:35:38 +02:00
ISA
fdd8f13a3a WebSocket client and server communication 2024-09-11 10:15:00 +02:00
ISA
f16d389dfd feat: Persist checkbox states in localStorage to retain settings after page reload
- Implemented logic to save the visibility states of POI and map layers in localStorage.
- Loaded saved checkbox states on component mount to retain user preferences.
- Updated `handleCheckboxChange` and `handlePoiCheckboxChange` to store changes in localStorage.
- Ensured that settings persist across page reloads for a better user experience.
2024-09-11 09:38:51 +02:00
ISA
f5e9de16f6 Ein einfacher externer WebSocket-Server und in useLineData.js testen 2024-09-11 08:58:01 +02:00
ISA
fb0e8b817d delete prioNameDisplay in Tooltip for polyline 2024-09-11 06:47:52 +02:00
ISA
2da00799dd Linien Tooltip offset auf 20, damit der Cursor nicht drüber steht 2024-09-10 20:55:42 +02:00
ISA
6167cbe5b2 feat: Display multiple messages with individual prioColor in line tooltips
- Added support for displaying multiple messages per module in tooltips
- Each message now correctly displays its respective prioColor
- Enhanced message rendering for better visual clarity, including colored indicators for each message
- Fixed sorting and filtering of messages based on level and status
2024-09-10 20:46:12 +02:00
ISA
d132ac000a Replace setInterval with recursive setTimeout for better control
In diesem Code wird setTimeout verwendet, um die Funktion fetchData rekursiv nach 20 Sekunden erneut aufzurufen. Dies ersetzt setInterval und bietet eine bessere Kontrolle über das Timing und das Cleanup, um sicherzustellen, dass der Code sauber bleibt, wenn die Komponente unmounted wird
2024-09-10 14:29:26 +02:00
ISA
77bc63f22e Connection: "close" in HTTP headers in fetchWebServiceMap in MapComponent.js 2024-09-10 14:04:39 +02:00
ISA
d57d86cf6c Tooltip für die Linien an Maus-Koordinaten positionieren 2024-09-10 13:06:03 +02:00