Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

154 clean up repo #173

Merged
merged 9 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,524 changes: 4,088 additions & 1,436 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,14 @@
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@react-three/drei": "^9.77.10",
"driver.js": "^1.1.0",
"framer-motion": "^11.3.21",
"gl-matrix": "^3.4.3",
"i18next": "^23.2.11",
"i18next-http-backend": "^2.2.1",
"jszip": "^3.10.1",
"laz-perf": "^0.0.6",
"proj4": "^2.9.0",
"react": "^18.2.0",
"react-burger-menu": "^3.0.9",
"react-dom": "^18.2.0",
"react-helmet-async": "^1.3.0",
"react-i18next": "^13.0.2",
"react-router-dom": "^6.14.1",
"react-scripts": "^5.0.1",
"react-spinners": "^0.13.8",
"react-three-fiber": "^6.0.13",
"three": "^0.163.0"
},
Expand All @@ -34,6 +26,7 @@
"@babel/preset-react": "^7.22.5",
"babel-jest": "^29.6.2",
"gh-pages": "^6.1.1",
"react-scripts": "^5.0.1",
"rimraf": "^5.0.0",
"sass": "^1.64.1",
"source-map-explorer": "^2.5.3"
Expand Down
9 changes: 0 additions & 9 deletions public/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@
"simulationStatus": {
"waitingForAdress": "Warte auf Adresseeingabe"
},
"driver": {
"button": "Anleitung",
"searchfieldTitle": "Eingabe der Adresse",
"searchFieldDescription": "Hier gibst du eine Adresse ein. Versuche doch mal 'Hauptstrasse 7, Erlangen' oder 'Gasteig München'. Klicke anschließend auf 'START'.",
"moreInformationTitle": "Weitere Informationen",
"moreInformationDescription": "Wie funktioniert dieses Tool? Das beantworten wir hier!",
"sliderTitle": "Ändere die Simulation",
"sliderDescription": "Hier kannst du die Parameter der Simulation anpassen. Mit einer größeren 'Anzahl Simulationen' wird das Ergebnis genauer, ein größerer 'Simulationsradius' zeigt das Potential auf einem größeren Gebiet."
},
"loadingMessage": {
"tip1": "Mit Doppelklick kannst du ein anderes Gebäude auf der Karte auswählen und die Simulation neu starten.",
"tip2": "Die Berechnung der Verschattung findet bei dir im Browser statt. Hast du ein großes Gebäude ausgewählt oder nutzt du einen alten PC, dann dauert die Berechnung länger.",
Expand Down
9 changes: 0 additions & 9 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@
"simulationStatus": {
"waitingForAdress": "Waiting for address input"
},
"driver": {
"button": "Instructions",
"searchfieldTitle": "Insert your adress",
"searchFieldDescription": "Here you enter an address. Try 'Hauptstrasse 7, Erlangen' or 'Gasteig München'. Then click on 'START'.",
"moreInformationTitle": "More information",
"moreInformationDescription": "How does this tool work? We answer that here!",
"sliderTitle": "Change simulation parameters",
"sliderDescription": "Here you can adjust the parameters of the simulation. A larger 'Number of Simulations' will provide more accurate results, while a larger 'Simulation Radius' will show the potential in a broader area."
},
"loadingMessage": {
"tip1": "Double-click to select a different building on the map and restart the simulation.",
"tip2": "The shadow calculation is done in your browser. If you have selected a large building or are using an old PC, the calculation will take longer.",
Expand Down
48 changes: 0 additions & 48 deletions src/components/Template/Driver.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/simulation/location.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import proj4 from "proj4"

/** x, y tile coordinates in WebMercator XYZ tiling at zoom level X=15
*/
export var coordinatesXY15, coordinatesLonLat
Expand Down
93 changes: 0 additions & 93 deletions src/simulation/stl_to_array.js

This file was deleted.