Commit Graph

347 Commits

Author SHA1 Message Date
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
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
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
2da00799dd Linien Tooltip offset auf 20, damit der Cursor nicht drüber steht 2024-09-10 20:55:42 +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
3f6760a783 npm install @reduxjs/toolkit weil 'createStore' is deprecated. in redux 2024-09-09 15:26:29 +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
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
f8e35cece6 Mit rechte Maustaste Link in localStorage speichern in setupPolylines.js 2024-09-04 15:50:27 +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
f35c7c4d0b markerUtils in poiUitls umbenannt 2024-09-03 11:30:37 +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
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
ISA
8814f0e450 setupMarkers in setupPOIs umbenennt und ausgelagert 2024-09-03 09:10:19 +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
b7116a1e6f polylines tooltip content 2024-08-10 10:32:37 +02:00
ISA
8824af2096 Release: Version 1.0.0 von main branch soll mergen 2024-07-19 11:02:09 +02:00
ISA
befc27c60d Merge branch 'develop' of http://10.10.0.12:3000/ISA/nodeMap into develop 2024-07-18 09:32:24 +02:00
ISA
5b380b7c8f feat: Reinzoomen auf 12 wie in aspx 2024-07-18 07:34:38 +02:00
ISA
71b25d9a4d fix POI hinzufügen nach 10 Versuche hat immer noch funktioniert! 2024-07-17 15:47:36 +02:00
ISA
f07e4b32d2 doc: addItemsToMapContextMenu und hasRights in progress 2024-07-17 15:32:01 +02:00
ISA
3243cb454a fix: Beschreibung in Popup bei POI bearbeiten war nicht sichtbar, nur Platzhalter 2024-07-17 11:04:48 +02:00
ISA
de40d9ccb9 feat: npm install nextjs-cors weil
Access to fetch at 'http://localhost:3000/api/linesColorApi' from origin 'http://10.10.0.13:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
2024-07-16 14:30:17 +02:00
ISA
6bcbf20e08 fix: POI hinzufügen, unbekannte Icon-Platzhalter => Browser neuladen funktioniert. 2024-07-16 08:37:15 +02:00
ISA
5bf16940fd fix: POI hinzufügen funktioniert! addStationCallback und Benutzerrechte in server URL: 2024-07-16 07:25:49 +02:00
ISA
a5e86f7fa5 fix: POIs können per Drag und Drop verschoben werden auf die Map 2024-07-15 16:08:57 +02:00
ISA
5b41072c46 fix: Reinzoomen, Rauszoom und CenterHere in Contextmenu 2024-07-15 11:38:13 +02:00
ISA
29eb3e8192 fix: Bereich ausgewählt dann könnte nicht mit der Maus die Kartenansicht verschieben 2024-07-15 09:42:06 +02:00
ISA
60caed7eb4 jenkins test webhook Gitea test 23 jenkinsfile 2024-07-14 15:54:18 +02:00
ISA
2f1c2531f5 jenkins test webhook Gitea test 20 2024-07-14 15:14:30 +02:00
ISA
332f63bf3c jenkins test webhook Gitea test 17 2024-07-14 12:52:26 +02:00
ISA
ab6f9531be jenkins test webhook Gogs test 16 2024-07-14 12:44:34 +02:00
ISA
55f9fa09a4 jenkins test kommentar in MapComponent.js Test 15 2024-07-14 12:17:19 +02:00
ISA
92e742da03 jenkins verbindung test 11 2024-07-14 11:29:59 +02:00