Commit graph

213 commits

Author SHA1 Message Date
Paul Bienkowski 76943fb1f0 Fix translation interpolation 2022-07-28 13:56:18 +02:00
Paul Bienkowski 248f8b4a6f Translate MapPage 2022-07-28 13:56:18 +02:00
Paul Bienkowski a977e2d1c3 Translate login and notfound 2022-07-28 13:56:18 +02:00
Paul Bienkowski 2cff606092 Translate UploadPage 2022-07-28 13:56:18 +02:00
Paul Bienkowski a85379418e Translate ExportPage 2022-07-28 13:56:18 +02:00
Paul Bienkowski 1533fdc450 Translate TracksPage 2022-07-28 13:56:18 +02:00
Paul Bienkowski f1f40a254a HomePage: import missing type 2022-07-28 13:56:18 +02:00
Paul Bienkowski 682b41f2a4 Remove unneeded style file 2022-07-28 13:56:18 +02:00
Paul Bienkowski c020839b31 Translate HomePage, Stats 2022-07-28 13:56:18 +02:00
Paul Bienkowski 31fac13f8a Translate App, LoginButton 2022-07-28 13:56:18 +02:00
Paul Bienkowski 5f3ac69f60 Add react-i18next integration 2022-07-28 13:56:18 +02:00
Paul Bienkowski ed9ed68d83 install eslint 2022-07-26 08:10:03 +02:00
gluap 2755d6b2b5
Merge pull request #242 from openbikesensor/rural_urban
Implement difference between urban and rural for events and roads
2022-07-26 07:58:50 +02:00
Paul Bienkowski 617011c528 make headers in sidebar pretty, and remove colors 2022-07-25 22:24:41 +02:00
Paul Bienkowski 76b1b41b4b derive logic for "include roads without data" from selected attribute 2022-07-25 22:24:31 +02:00
Paul Bienkowski a0852fdc41 Fix ExportPage bounding box input 2022-06-26 19:12:28 +02:00
Paul Bienkowski 4907f038da Make raw track not look like a river (fixes #252) 2022-06-26 13:02:01 +02:00
gluap 8bc83a5f18
Update TrackEditor.tsx 2022-06-25 20:55:50 +02:00
gluap afc801aefc save current state. 2022-06-24 18:52:59 +02:00
gluap 66dd84982c Implement difference between urban and rural for events and road segments. 2022-05-02 22:00:17 +02:00
Paul Bienkowski 8728347695 frontend: Render histogram as chart in road details panel 2022-04-24 11:30:27 +02:00
Paul Bienkowski cb6c94f7a5 frontend: Flip table in road details panel and make it easier to read 2022-04-24 11:30:27 +02:00
Paul Bienkowski 2fd664f79a frontend: Add echarts dependencies 2022-04-24 11:30:27 +02:00
Paul Bienkowski 1c52ce7de9 Use discrete colors for distances, with greens only above 1.5m 2022-03-21 22:20:08 +01:00
Paul Bienkowski 6893d7b56f Use viridis colormap for roads' count layers 2022-03-16 22:30:15 +01:00
Paul Bienkowski 6ef233a2a2 Show usage count on map 2022-03-16 22:06:06 +01:00
Paul Bienkowski 34660b266c Project the whole track to the map, and show both versions 2022-03-16 20:16:06 +01:00
gluap 0c43e49bb4 do not convert "count" into km/h while converting speeds. 2022-03-08 22:21:37 +01:00
gluap 51f75fcf61 convert units to km/h in frontend
people struggle with SI units in that regard.
2022-03-08 21:15:04 +01:00
Paul Bienkowski 8f2861a8c9 Add dynamic titles to all pages via react-helmet (related to #148) 2022-03-04 13:07:56 +01:00
Paul Bienkowski 40d23c537e Compile static title into index.html (fixes #148) 2022-03-04 13:07:34 +01:00
Paul Bienkowski a013dae3fe Remove map from home page, it was empty anyway (fixes #120) 2022-03-04 12:40:00 +01:00
Paul Bienkowski f5be2b20f8 Fix footer version link to github tag 2022-03-04 12:34:39 +01:00
Paul Bienkowski 2a9e3549b5 Fix track download dropdown appearing for non-authors, and update tooltip 2022-03-02 19:48:02 +01:00
Paul Bienkowski 82f20e6354 Show proper error messages when track download fails 2022-03-02 19:25:40 +01:00
Paul Bienkowski af3e9574e4 Add better note on top of export page indicating experimental status 2022-03-02 19:15:35 +01:00
Paul Bienkowski 7e33fb6424 Prevent JS error on track page when bounding box is invalid 2022-03-02 19:06:40 +01:00
Paul Bienkowski 70fa1a41c4 Provide GPX download from track page 2022-02-25 11:53:28 +01:00
Paul Bienkowski a884ac88d8 Add exports page 2022-02-22 17:52:13 +01:00
Paul Bienkowski 3ef6dcf5d9 Add lean mode (overpass source and no map view in frontend) 2022-02-19 09:27:08 +01:00
Paul Bienkowski 076bc988df Point footer to forum, not slack (fixes #140) 2021-12-19 21:27:30 +01:00
gluap 724e48f738 Implement requested change to native react idiom 2021-12-19 17:57:46 +01:00
gluap 6add053a92 add import (missed committing this previously) 2021-12-19 17:57:46 +01:00
gluap dd5b31dcc9 remove extra space 2021-12-19 17:57:46 +01:00
gluap cdcee6e29c Add incrementing ID to gradient svg.
So we do not overwrite it when the other button is enabled.
2021-12-19 17:57:46 +01:00
gluap a5f5acd6d5 Make the scale match the map 2021-12-19 17:57:46 +01:00
gluap f1f7ff1976 duplicate scale to the top 2021-12-19 17:57:46 +01:00
gluap 6158589b6f Show colorscale whenever it is used 2021-12-19 17:57:46 +01:00
Paul Bienkowski 4e45ec6744 Fix error handling, especially for file uploads 2021-12-06 10:09:37 +01:00
Paul Bienkowski e95f5096db Improve wording on profile page ("My" instead of "Your") 2021-12-06 09:09:08 +01:00
Paul Bienkowski 25ec75e781 Show "My tracks" directly in main menu (fixes #136) 2021-12-06 09:08:54 +01:00
Paul Bienkowski ee13e8e2f5 chore: auto format frontend code with prettier 2021-12-06 08:47:47 +01:00
Paul Bienkowski 3db5132199 Reintroduce event view (fixes #111) 2021-12-06 08:45:54 +01:00
Paul Bienkowski 1669713fc5 Add more options for roads layer 2021-12-05 18:56:27 +01:00
Paul Bienkowski 6b38540586 Make road colors and untagged roads display configurable 2021-12-04 13:28:35 +01:00
Paul Bienkowski f0c715bcbc Add sidebar for configuring map layers - make basemap style choosable 2021-12-03 22:20:41 +01:00
Paul Bienkowski 83e945c7ff refactor: split MapPage into components 2021-12-03 19:44:12 +01:00
Paul Bienkowski 4bf23143e0 feat: Split road statistics by direction (fixes #117) 2021-12-03 19:28:07 +01:00
Paul Bienkowski 09fe1a7ac0 feat: Add optional banner to frontend via config entry (solves #128) 2021-12-03 17:31:43 +01:00
Paul Bienkowski 99f33aa988 chore: Use config.json from API route in development mode 2021-12-03 17:31:03 +01:00
Paul Bienkowski 84683c7789 Set example files map home to cover most of Germany 2021-12-03 17:06:29 +01:00
Paul Bienkowski 3aee226630 chore: remove outdated "mapTileset" frontend config section 2021-12-03 17:01:10 +01:00
Paul Bienkowski 7d2c45da43 Improve mobile layout a bit (fixes #123) 2021-12-03 16:55:50 +01:00
Paul Bienkowski 2592fe029a fix: Show correct API URL for OBS in settings page 2021-12-02 21:02:11 +01:00
Paul Bienkowski 40784ba51e Fix typo xtrack -> track 2021-11-30 23:36:53 +01:00
Paul Bienkowski 004ad46251 Fix saving profile and add generating new API key 2021-11-30 23:32:42 +01:00
Paul Bienkowski 7ad5fad056 Improve display of road details 2021-11-30 22:04:34 +01:00
Paul Bienkowski 61efdeb673 Add details for roads when clicking them in the big map 2021-11-30 21:58:05 +01:00
Paul Bienkowski fe3aa7a8f6 feat: fit to bounds when loading track page 2021-11-30 21:50:56 +01:00
Paul Bienkowski 38b1b92210 make mapstyles simpler 2021-11-30 21:42:41 +01:00
Paul Bienkowski 15dfb2dc3b feat: put map page viewport into URL 2021-11-30 21:36:44 +01:00
Paul Bienkowski 9c7b1bc662 Better prod builds 2021-11-30 20:30:09 +01:00
Paul Bienkowski 618230601e chore: Format code 2021-11-30 19:55:51 +01:00
Paul Bienkowski 989b294791 remove debug logs 2021-11-30 19:54:18 +01:00
Paul Bienkowski e481356af4 fix: menu items navigate with JS, not with links 2021-11-30 19:53:52 +01:00
Paul Bienkowski 54cc80e5bc fix: style of menu 2021-11-30 19:51:33 +01:00
Paul Bienkowski 66ab9a73ef Fix webpack dev build 2021-11-30 19:50:10 +01:00
Paul Bienkowski 8fc755f153 Fix licensing of styles, make tile-generator content our own by removing all OpenMapTiles licensed parts (it is only our config now) 2021-11-28 23:18:02 +01:00
Paul Bienkowski 4f382819fd Change basemap URL again 2021-11-28 14:18:32 +01:00
Paul Bienkowski 04add36a5b Change basemap URL 2021-11-27 23:22:12 +01:00
Paul Bienkowski 75323ebc79 webpack 2021-11-27 22:45:22 +01:00
Paul Bienkowski bf1536f443 remove craco/react-scripts, configure webpack ourselves 2021-11-27 22:45:22 +01:00
Paul Bienkowski 5fcb959002 fix: remove typescript annotations from .js file 2021-11-27 22:45:22 +01:00
Paul Bienkowski f183b9e33a Change style preprocessor to less, as semantic-ui is using that, so we need only one 2021-11-27 22:45:22 +01:00
Paul Bienkowski b06b7ba1ad Update deps for webpack 2021-11-27 22:44:52 +01:00
Paul Bienkowski c90d4da97a frontend: Keep track distance labels aligned to map 2021-11-24 23:40:06 +01:00
Paul Bienkowski 4b270877ca frontend: Improve config example obsMapSource 2021-11-22 09:52:42 +01:00
Paul Bienkowski 5d96009b01 Only one place for the version 2021-11-22 09:51:18 +01:00
Paul Bienkowski ea106539c6 Improve docs around tiles, remove old stuff, bump 0.3.0-rc.1 2021-11-22 09:51:18 +01:00
Paul Bienkowski 12686abe14 frontend: Replace openlayers track map with gl version 2021-11-22 09:51:18 +01:00
Paul Bienkowski f54fe701e7 frontend: Fix attributions and reuse map code 2021-11-22 09:51:18 +01:00
Paul Bienkowski 7add8caaa1 Live tiles, API executes openmaptiles-tools 2021-11-22 09:51:18 +01:00
Paul Bienkowski 131afd5adc feat: publish tiles from API directly 2021-11-22 09:51:18 +01:00
Paul Bienkowski c85f261292 Single-container API+Frontend+Worker 2021-11-22 09:51:16 +01:00
Paul Bienkowski da33d814ae Move API to python. 2021-11-22 09:50:33 +01:00
Paul Bienkowski e3ec5ce1f9 Correct directional road rendering, and include all roads with null data in obs layer 2021-11-22 09:50:33 +01:00
Paul Bienkowski 79f3469df8 frontend: add MapPage and make OBS data vector tiles URL configurable 2021-11-22 09:50:33 +01:00
Paul Bienkowski ec60fc3873 Start working on PostGIS supported tile generation 2021-11-22 09:50:33 +01:00
Paul Bienkowski 65b261630f frontend: fix config URL when loading from sub-page 2021-11-22 09:50:33 +01:00
gluap e74d2c9130 needs to match permitted redirect url in api 2021-11-22 09:40:21 +01:00