Commit Graph

272 Commits

Author SHA1 Message Date
ISA
45d366facc feat: BASE_URL in contextMenuUtil.js importiert 2024-07-12 08:16:51 +02:00
ISA
042d086a49 feat: paste centerHere function into zoomAndCenterUtil.js with error 2024-07-12 07:03:37 +02:00
ISA
91923ef8b4 feat: Extract zoomIn and zoomOut functions to separate file
- Moved zoomIn and zoomOut functions from MapComponent.js to a new file zoomUtils.js in the utils directory.
- Updated MapComponent.js to import and use the zoomIn and zoomOut functions from the new file.
- This change improves code modularity and readability.
2024-07-12 06:25:05 +02:00
ISA
c793e1c81c feat: Move openInSameWindow function to a separate file
- Moved the openInSameWindow function from MapComponent.js to a new file openInSameWindow.js in the utils directory.
- Updated MapComponent.js to import and use the openInSameWindow function from the new file.
- This change improves code modularity and readability.
2024-07-12 06:15:54 +02:00
ISA
21d5932b8b feat: startIcon.js triangle svg 2024-07-11 13:32:29 +02:00
ISA
f75db21738 feat:Linien Mouse over polyline.setStyle 2024-07-11 13:11:40 +02:00
ISA
cd3d84f12c feat: Startpunkt Dreieck , Endpunkt Viereck, alle Punkt (Stützpunkt,Start un end) grau färben 2024-07-11 12:00:25 +02:00
ISA
f52fd2ccd9 feat: jest-Test für checkOverlappingMarkers alles auskommentiert in MapComponent.test.js 2024-07-11 10:57:20 +02:00
ISA
2ac05a1936 feat: jest-Test für checkOverlappingMarkers auskommentiert , enthält nur import 2024-07-11 10:54:31 +02:00
ISA
6b015cad0d feat: checkOverlappingMarkers jest-Test 2024-07-11 10:51:34 +02:00
ISA
18f0f8266b refactor: Move checkOverlappingMarkers to utils and update import in MapComponent
- Moved checkOverlappingMarkers function from MapComponent.js to a new file in /utils/mapUtils.js for better separation of concerns.
- Updated the import statement in MapComponent.js to reflect the new location of checkOverlappingMarkers.
2024-07-11 10:44:40 +02:00
ISA
070065e090 feat: add basic test for MapComponent.test.js to run through Jenkins 2024-07-11 10:25:25 +02:00
ISA
0079664dfb feat: Marker hinzufügen und Marker entfernen in PolyLines und der currentZoom funktioniert 2024-07-11 10:11:20 +02:00
ISA
3ea4ce99b5 Jenkins-test 2024-07-11 08:24:18 +02:00
ISA
3bbbfeb872 feat: Add Jenkins integration for testing with pre-push hook
- Configured Jenkins FreeStyle job to trigger on push
- Added `npm install` and `npm test` steps in Jenkins build configuration
- Updated pre-push hook script to trigger Jenkins job and wait for test results
- Installed jest, @testing-library/react, and @testing-library/jest-dom as dev dependencies for testing

This commit sets up automated testing in Jenkins before code is pushed to the remote repository, ensuring code quality and preventing broken builds.
2024-07-10 13:57:28 +02:00
ISA
b40aace5a1 test für Jenkins 2024-07-10 12:10:40 +02:00
ISA
2bd9558aa9 feat: create useMapContextMenu.js for Separate of Conserns or modularity 2024-07-10 10:53:28 +02:00
ISA
6d024235d0 feat: create /config/settings.js for separate of conserns SoC 2024-07-10 08:40:55 +02:00
ISA
6c60700b7c feat: Create /config/layers.js module for Separate of Consern 2024-07-10 08:27:00 +02:00
ISA
34ad670ae1 feat: create /utils/contextMenuUtils.js module 2024-07-10 07:53:27 +02:00
ISA
b82253cae1 feat: Konstanten in separate Dateien aufteilen " /config/urls.js" 2024-07-10 07:38:30 +02:00
ISA
6cc3cdc483 feat: Extracted restoreMapSettings to mapUtils.js
Moved the restoreMapSettings function from MapComponent.js to mapUtils.js for better modularity and reusability. This change also helps in maintaining cleaner code and improving readability.
2024-07-09 10:35:46 +02:00
ISA
b53fe1b3f1 feat: Refactor utils.js into specialized utility modules
- Split utils.js into three separate files to enhance modularity and maintainability:
  1. geometryUtils.js: Contains geometry-related functions like parsePoint and findClosestPoints.
  2. mapUtils.js: Contains functions related to map operations such as redrawPolyline and saveLineData.
  3. markerUtils.js: Contains functions related to marker operations like insertNewMarker and handleEditPoi.

- Updated import statements in the relevant files to reflect the new structure.
- Ensured that each utility module is self-contained and has clear responsibilities.

This refactor improves the separation of concerns, making the codebase more organized and easier to navigate. Future maintenance and enhancements can now be more easily localized to the appropriate utility module.
2024-07-09 08:10:02 +02:00
ISA
467be2c106 feat: Stützpunkte entfernen, hinzufügen und verschieben funktioniert bei Browser-Aktualisierung, zoom in Browser Local storage 2024-07-09 06:47:44 +02:00
ISA
3fbfe1c2e0 feat: Auskommentierter Code in MapComponent.js entfernt 2024-07-08 15:46:19 +02:00
ISA
27c2a8251e feat: circle, start and endIcon in components folder for Separation of Concerns (SOC) 2024-07-08 15:39:51 +02:00
ISA
f54b78eae1 feat: utils/utils.js Separation of Concerns (SOC) 2024-07-08 14:25:09 +02:00
ISA
c71761768e feat: Stützpunkte hinzufügen und Browser aktualisieren 2024-07-08 13:41:49 +02:00
ISA
33cef4fa97 feat: Stützpunkte entfernen und Browser aktualissieren 2024-07-08 13:36:44 +02:00
ISA
be1b1df0b5 feat: entfernen von Platzhalter-Icon und stattdessen CircleIcon hinzufügen in MapComponents bei insertNewMarker 2024-07-08 10:20:03 +02:00
ISA
045ad26565 plusRoundIcon in eine separate Datei auslagern und dann in MapComponent importieren, um eine bessere Struktur zu gewährleisten 2024-07-08 06:51:30 +02:00
ISA
f7cb225aab feat: marker entfernen und polylines aktualisieren 2024-06-28 10:07:54 +02:00
ISA
98723c9ca4 fix: add and delete marker on polyline (work in progress) 2024-06-28 08:47:18 +02:00
ISA
96b2ee34d7 feat: [WIP] delete marker inside polyline 2024-06-28 07:47:31 +02:00
ISA
482ead85cb Feature: Add interactive markers to polyline via context menu and edit updateLineCoordinates.js 2024-06-27 15:07:14 +02:00
ISA
d7a1816176 Feature: Add interactive markers to polyline via context menu 2024-06-27 15:03:16 +02:00
ISA
9164574559 [WIP] Feature: Hinzufügen von Markern über Kontextmenü in Polyline-> nach git add . 2024-06-27 14:40:11 +02:00
ISA
9c73d6f478 feat: Start and end line-marker 2024-06-27 07:08:17 +02:00
ISA
49ad2302c8 add: nssm.exe Instalation.md 2024-06-27 06:50:19 +02:00
ISA
c78ee22f16 Lines colors ok, tooltip ok, update ok 2024-06-26 15:26:45 +02:00
ISA
ff6620f98c add MapComponent and lineColorsAPI after cherry pick. update lines and tooltip ok 2024-06-26 14:48:09 +02:00
ISA
112ab56d66 delete MapComponent and lineColors for cherry pick for nächst step to add 2024-06-26 14:43:20 +02:00
ISA
e7e453ae05 Merge branch 'temp-branch' into Dev 2024-06-26 13:39:00 +02:00
ISA
1b63c11fd0 temp branch erstellt für (HEAD detached at 0936429) 2024-06-26 13:38:19 +02:00
ISA
e0deb523e0 Nächter Schritt , Umbrüche in lange text in Linien tolltip 2024-06-26 12:14:09 +02:00
ISA
b3eb6b8f12 edit: Start-marker and end-marker defferent color 2024-06-26 10:56:52 +02:00
ISA
09364290bc Merge branch 'temp-branch' into Dev 2024-06-26 10:40:51 +02:00
ISA
431e688fb7 edit: Lines tooltip style with Tailwind css 2024-06-26 10:35:19 +02:00
ISA
9fb0e652c8 temp 2024-06-26 09:55:26 +02:00
ISA
8f38fc2c62 edit: style format 2024-06-26 09:47:45 +02:00