Commit Graph

30 Commits

Author SHA1 Message Date
ISA
52e9939eb8 git commit -m "fix: Fehlerbehandlung für fehlende gis_lines-Tabelle und Verwendung des DB-Namens aus .env
- Verhindert Absturz der Anwendung, wenn die gis_lines-Tabelle fehlt
- Gibt stattdessen eine Warnung in der Konsole aus
- Stellt sicher, dass der Datenbankname dynamisch aus der .env-Datei geladen wird"
2025-02-05 13:29:54 +01: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
41454f7efe Linien Daten aktualisieren 2024-09-18 11:06:26 +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
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
a43fbff4f8 contexmenu handle in MapComponent wegen error contextmenu nicht vorhanden 2024-09-11 10:35:38 +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
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
5676208265 .env.local für 30 2024-09-10 08:21:37 +02:00
ISA
3c78e387fa .env.local für 10.10.0.30 vorbereitet ohne Mock Dateien von useLineData.js 2024-09-10 07:33:02 +02:00
ISA
aa38493f03 prepair redux 2024-09-09 15:20:00 +02:00
ISA
f0c61570a0 setInterval in useLineData um neue Änderungen zu zeichnen 2024-09-09 14:50:02 +02:00
ISA
e94ecd7279 feat(api): Add mock API routes for testing GIS lines and station names
- Created mock API route for fetching GIS lines data (/api/talas_v5_DB/gisLines/readGisLinesMock)
- Created mock API route for fetching station names data (/api/talas_v5_DB/station/getAllStationsNamesMock)
- Replaced original API calls in useLineData hook with mock routes for development and testing
2024-09-09 13:56:28 +02:00
ISA
03de1ab43e Merge branch 'temp-branch2' into feature/main-contextmenu-line 2024-09-02 20:46:09 +02:00
ISA
9724c886b2 Station öffnen zweimal sichtbar für Marker und polyline 2024-09-02 13:58:59 +02:00
ISA
1ffca34cdc ohne contextmenu Fehler in useLineData 2024-09-02 12:30:25 +02:00
ISA
de4a9bc7c0 TypeError: Cannot read properties of null (reading 'contextmenu') in useLineData -> einmal zurück dann ist die Fehler weg 2024-09-02 12:22:11 +02:00
ISA
ea46bd771b mysql createPool 2024-09-02 09:06:49 +02:00
ISA
8699c1c4a0 POIs hinzufügen, löschen und bearbeiten funktioniert! in mapFeatures.js als marker, irgendwann in poi umbenennen 2024-08-15 15:53:27 +02:00
ISA
de6595d956 Filter duplicate entries by IdLD and Modul, keeping only the entry with the highest priority (lowest Level). Added console log for filtered results. 2024-08-15 07:36:58 +02:00
ISA
203ab85429 Station name in der Linie 2024-08-10 18:05:40 +02:00
ISA
d729e1408b Stationnamen sind richtig 2024-08-10 14:06:19 +02:00
ISA
da487ba7bb polylines mit Messwert und Schleifenwert 2024-08-10 11:40:33 +02:00
ISA
b0a4b5accd API sortiert nach IdLD aber noch kein Messwert und Schleifenwert enthalten 2024-08-10 11:09:53 +02:00
ISA
b7116a1e6f polylines tooltip content 2024-08-10 10:32:37 +02:00