Commit Graph

499 Commits

Author SHA1 Message Date
ISA
7bc6a2dd56 jenkins test webhook Gogs 2024-07-14 12:30:50 +02:00
ISA
55f9fa09a4 jenkins test kommentar in MapComponent.js Test 15 2024-07-14 12:17:19 +02:00
ISA
ed6464ec86 jenkins test node.js version herausfinden 2024-07-14 12:13:15 +02:00
ISA
92e742da03 jenkins verbindung test 11 2024-07-14 11:29:59 +02:00
ISA
3a85e78515 jenkins verbindung test 10 2024-07-14 11:28:43 +02:00
ISA
15383ec6c9 jenkins verbindung test 9 2024-07-14 11:24:14 +02:00
ISA
4f9d731290 node.js Version herausfinden in Jenkins-Server 2024-07-14 09:29:36 +02:00
ISA
5e3130cbc0 test branch develop und IP 172.20.0.2 und try catch blocke in jenkinsfile pipeline nach Nodejs installation in jenkins test fehler autoprefixer module nicht gefunden 2024-07-13 23:59:54 +02:00
ISA
500e3a4509 test branch develop und IP 172.20.0.2 und try catch blocke in jenkinsfile pipeline nach Nodejs installation in jenkins test 2024-07-13 23:38:05 +02:00
ISA
284323842e test branch develop und IP 172.20.0.2 und try catch blocke in jenkinsfile pipeline 2024-07-13 22:16:08 +02:00
ISA
7618fbea95 test branch develop und try catch blocke in jenkinsfile pipeline 2024-07-13 22:12:54 +02:00
ISA
22f4e1f865 test branch main2 und try catch blocke in jenkinsfile pipeline 2024-07-13 22:05:53 +02:00
ISA
5452a6e50e test branch main2 und try catch blocke in jenkinsfile 2024-07-13 21:28:09 +02:00
ISA
e8d0a7ddcd test branch main2 jenkinsfile 2024-07-13 21:19:30 +02:00
ISA
48c92af06e Mit jenkinsfile 2024-07-13 19:42:29 +02:00
ISA
d8e0130f38 test 7 für jenkins 2024-07-13 19:18:13 +02:00
ISA
48e6b5688c test 6 für jenkins 2024-07-13 19:13:27 +02:00
ISA
b04610be44 test für jenkins 2024-07-13 16:38:57 +02:00
1f4888d655 Jenkinsfile hinzugefügt 2024-07-13 13:58:58 +00:00
ISA
10dc0d7dd8 jenkins test webhokk 2024-07-13 15:38:53 +02:00
ISA
f6926f8fc9 Kommentar für Jenkins Test 2024-07-13 08:58:25 +02:00
ISA
9c075a481f test: In Konextmenü POI hinzufügen Icon Platzhalter sichtbar statt hintergelegte Icon für POI 2024-07-12 13:35:03 +02:00
ISA
40ae875257 docs: Berechttigung für POIs, zum Bereiche fliegen und Stationen ein -und ausblenden auf http://localhost:3000/?m=10&u=484 , das war von develop => temp-branch => develop , alles , funktioniert! 2024-07-12 12:36:05 +02:00
ISA
43e898dfa0 docs: Berechttigung für POIs, zum Bereiche fliegen und Stationen ein -und ausblenden funktioniert! 2024-07-12 12:17:37 +02:00
ISA
7772b10e9c fix: define and initialize setSelectedArea to avoid ReferenceError
- Imported useSetRecoilState from Recoil
- Defined and initialized setSelectedArea using useSetRecoilState with selectedAreaState
- Ensured setSelectedArea is used to reset the selected area after moving the map

This resolves the ReferenceError: setSelectedArea is not defined.
2024-07-12 12:03:37 +02:00
ISA
cee8b44e59 Merge branch 'temp-branch' into feature/start-end-line-marker 2024-07-12 10:55:13 +02:00
ISA
b3af793a21 Station in neue tab öffnen, in Kontextmenü 2024-07-12 10:50:21 +02:00
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