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
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
3f6760a783
npm install @reduxjs/toolkit weil 'createStore' is deprecated. in redux
2024-09-09 15:26:29 +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
ae803bdc50
Added tooltips to EditModeToggle icons and adjusted tooltip positioning using Material-UI
2024-09-09 12:09:03 +02:00
ISA
e1b51f6802
Kontextmenü Item "POI Bearbeiten", "POI hinzufügen" und "Stützpunkt hinzufügen" ausblenden wenn localStorage Variable "editMode" false ist
2024-09-09 11:48:43 +02:00
ISA
04e50c30f8
feat: Implementierung des Bearbeitungsmodus
2024-09-06 14:08:39 +02:00
ISA
af458ac270
Add editMode to poiUtils.js, setupPOIs.js and useMapContextMenu.js
...
editMode von localStorage lesen und Rechte vergeben oder entnehmen wenn die Schaltfläche "Bearbeitungsmodus aktivieren"
2024-09-06 11:25:32 +02:00
ISA
861c9ead3d
Add counter for fetchWebServiceMap in MapComponent.js
2024-09-06 10:55:14 +02:00
ISA
6850fee16a
WIP: Add basic structure for edit mode to DataSheet.js
...
Der Bearbeitungsmodus ist noch nicht vollständig, und es fehlen
einige Funktionalitäten. Reduzierung der Datenbankanfragen noch in Arbeit.
2024-09-06 10:41:47 +02:00
ISA
98e8bdf96e
Version 1.0.1.6 mysqlPool.js configuration is better, but can be better, check MySQL Workbench Connections
2024-09-05 15:26:42 +02:00
ISA
094e27e147
Version 1.0.1.5 delete linsColorApi.js because was mock file
2024-09-05 11:53:21 +02:00
ISA
3d8ecb8287
Version 1.0.1.4 delete "api-Kopie" und "api back30" and delete link from device popup
2024-09-05 11:14:03 +02:00
ISA
7e100ff81b
Version 1.0.1.3 API aufruf statt direkte Anfrgen an die MySQL Datenbank und WebServiceMap Mock Dateien und direkte MySQL Anfagen gelöscht
2024-09-05 10:42:36 +02:00
ISA
2623da410e
Version 1.0.1.2 connection.release() in folder talas_v5_DB in all files
2024-09-05 09:59:49 +02:00
ISA
34449e3710
Version 1.0.1.1 release DB connection in /pages/api/talas_v5_DB/gisLines/readGisLines.js
2024-09-05 09:26:38 +02:00
ISA
42ea03677b
Version 1.0.4.1 open Links in new Tab for polylines and devices work it without disablePolylineEvents(window.polylines);
2024-09-05 06:48:06 +02:00
ISA
9e4a229248
Version 1.0.4 Links open in new tab for polylines and devices work it!
2024-09-04 19:26:08 +02:00
ISA
f8e35cece6
Mit rechte Maustaste Link in localStorage speichern in setupPolylines.js
2024-09-04 15:50:27 +02:00
ISA
421844611f
Stützpunkt entfernen Funktion ist wieder da
2024-09-04 11:18:25 +02:00
ISA
eea9a3af4c
Jetzt muss noch Links für polylines mit localStorage oder Recoil gelöst werden, alle Links für alle Geräte funktionieren gut
2024-09-04 09:52:52 +02:00
ISA
3c433b9003
Links für alle Geräte funktioniert aber für die Linien muss noch bearbeitet werden
2024-09-04 09:01:09 +02:00
ISA
466fc55025
Refactoring addContextMenuToMarker.js and openInNewTab.js
2024-09-04 08:41:18 +02:00
ISA
5ed41642da
Refacoring, but links for polylines and devices in progress
2024-09-04 08:08:10 +02:00
ISA
193d1e2f2f
Refactoring
2024-09-03 22:55:57 +02:00
ISA
e60ce2b354
Recoil Statefpr polylines and Devices in process
2024-09-03 15:46:50 +02:00
ISA
8a9216980a
mit rechte Maustaste auf ein Gerät disablePolylineEvents(window.polylines);, muss noch angepasst werden
2024-09-03 14:21:48 +02:00
ISA
4011bddc51
in setupPOIs disablePolylineEvents(window.polylines); auskommentiert, weil es soll für Geräte sein und nicht POIs
2024-09-03 12:06:20 +02:00
ISA
f35c7c4d0b
markerUtils in poiUitls umbenannt
2024-09-03 11:30:37 +02:00
ISA
bbd60cd5f4
createAndSetDevices ausgelagert in createAndSetDevices.js von markerUtils.js
2024-09-03 11:17:09 +02:00
ISA
240db05fe6
import createAndSetDevices in MapComponent.js funktioniert, aber in anderen hooks layers nicht wenn ich die importiere
2024-09-03 10:55:56 +02:00
ISA
0c4df186c2
createAndSetMarkers in createAndSetDevices umbenennt
2024-09-03 10:39:35 +02:00
ISA
8c4a99fc34
delete useLineData copys
2024-09-03 09:53:13 +02:00
ISA
fd924d3212
die hooks Layer in den Verzeichnis /hooks/layers verschoben
2024-09-03 09:49:52 +02:00
ISA
e5dfa7f494
talasMarkersLayer.js in useTalasMarkersLayer.js umbenennt
2024-09-03 09:36:19 +02:00
ISA
0f9a54efa1
mapFeatures in setupPolylines umbenennt
2024-09-03 09:27:48 +02:00