Commit Graph

43 Commits

Author SHA1 Message Date
Lucas Verney 903ad14bbc Add a service worker and cache assets
Assets are served from the local cache preferably. They are fetched from
the network if not available. This new addition also enables the "Add to
homescreen" in Chrome/Chromium.

Fix #22.
2018-10-26 14:15:56 +02:00
Lucas Verney 6f906ec23a Fix #43: Speed badge looking weird on touch devices 2018-10-15 23:54:20 +02:00
Lucas Verney 085f34dbe8 Fix speed unit 2018-09-17 11:53:03 +02:00
Lucas Verney 0c27768e91 Translate the rotate button tooltip 2018-09-14 15:27:03 +02:00
Lucas Verney 9b5487499a Various Map fixes
* Correctly set the position marker style at initialization.
* Fix for the position marker not rotating with the view.
* Fix for the recenter button not showing up on zooming.
2018-09-13 16:34:52 +02:00
Lucas Verney 34a1a93a53 Show speed to user, fix for #37. 2018-09-11 14:54:30 +02:00
Lucas Verney 42779844a7 Prevent dismissed report details from immediately reopening 2018-09-04 15:49:02 +02:00
Lucas Verney b06ba60816 Use singleclick event listener on map, fix #35 2018-08-28 14:49:21 +02:00
Lucas Verney 59f7f153ea Fix map sometimes too high 2018-08-26 20:31:00 +02:00
Lucas Verney 6f8b3ada2c Autorotate mode when clicking the compass icon
Also fix a bug with sharing current position.
2018-08-26 17:48:07 +02:00
Lucas Verney 4c527ac280 Invert logic to set isProgrammaticMove on user actions instead, making it more reliable 2018-08-26 17:48:07 +02:00
Lucas Verney ec9380ca2f Fix map resizing 2018-08-26 17:48:07 +02:00
Lucas Verney d24c326b01 Fix a bug in automatic refetch of reports after a given distance 2018-08-26 17:48:07 +02:00
Lucas Verney 60f041f5a6 Move map from Leaflet to OpenLayers
Also add a way to use a mock GPX trace as geolocation provider.
2018-08-26 17:48:03 +02:00
Lucas Verney 060c4a29f4 Fix a bug with Vue2LeafletTrackSymbol not updating heading 2018-08-13 22:07:34 +02:00
Lucas Verney 6a70deec70 Upgrade to Webpack 4 + improve the build system 2018-08-06 23:29:17 +02:00
Lucas Verney 7ccf427685 Upgrade dependencies and group all polyfills in a dedicated file 2018-08-05 15:47:28 +02:00
Lucas Verney c19bd60174 Better management of permissions
* Finish the ability to use custom tile server.
* Store settings whenever they are changed.
* Support new settings for audio/vibrate permission.
2018-07-30 20:23:56 +02:00
Lucas Verney 74a42abe72 Add a way to share a specific map position
Also rework the way Map component is handled to make it cleaner and more
efficient.

Fix for issue #23.
2018-07-26 08:47:31 +02:00
Lucas Verney fbe8298814 Let user choose which tile server to use among a list of tile servers. Fix #19. 2018-07-17 16:32:34 +02:00
Lucas Verney da4a8d537d Mark the position of the new marker + optimize SVG files
1. Show location of the created report on the map, see
https://framagit.org/phyks/cyclassist/issues/10.
2. Use `image-webpack-loader` to minify image and SVG files at build
time.
2018-07-13 16:50:34 +02:00
Lucas Verney 09276a06b6 Remove useless console statement 2018-07-13 16:24:05 +02:00
Lucas Verney 57552197a9 Show details for the nearest report 2018-07-13 15:04:51 +02:00
Lucas Verney 27631855af Proper aria labels for buttons 2018-07-11 01:14:54 +02:00
Lucas Verney 1f9c0bd623 Heading is provided by browser in degrees but consumed by Leaflet in radians 2018-07-09 18:37:55 +02:00
Lucas Verney ae9f3892c7 Display a polyline with the previous positions 2018-07-09 15:25:18 +02:00
Lucas Verney 35851802d0 Fix a bug with tracking position, https://framagit.org/phyks/cyclassist/issues/11 2018-07-04 17:37:28 +02:00
Lucas Verney dea82f5298 Lint fix 2018-07-03 19:04:54 +02:00
Lucas Verney 4cd2d49db9 Let user disable sleep prevention 2018-07-03 19:01:56 +02:00
Lucas Verney 37413a7e21 Some fixes for nosleep and moving the map around 2018-07-03 18:48:41 +02:00
Lucas Verney e0d6b00a66 Fix a bug with Chrome on Android not firing mousedown/up events 2018-07-02 19:53:11 +02:00
Lucas Verney df187ad8ca Use a regular click on map to add reports in specific location 2018-07-02 18:39:35 +02:00
Lucas Verney 1b3082d02a Fix centering of the map, fix #5 2018-07-02 18:39:13 +02:00
Lucas Verney fd473e32b2 Fix a bug with centering of the map when position is moving 2018-07-01 22:55:21 +02:00
Lucas Verney 390d734b9a Add a compass icon to indicate north on the map 2018-07-01 22:27:18 +02:00
Lucas Verney c15ad9ab56 Let users move the view around
* Let user move the view around, without automatic refocusing.
* Add a button to refocus view.
2018-07-01 22:02:54 +02:00
Lucas Verney a4564ad053 Add the ability to add a report anywhere through long press + preferences section to set the locale 2018-06-28 14:40:56 +02:00
Lucas Verney 56b38eba06 Fix a bug in accuracy computation 2018-06-27 22:45:03 +02:00
Lucas Verney e65be07fc1 Better icons for reports and matching markers 2018-06-27 14:59:45 +02:00
Lucas Verney 989db3b787 Few UI improvements
* Better info message when fetching geolocation
* No longer displaying a marker with heading if heading is unknown. Use
a circle marker instead.
* Display the accuracy area
2018-06-27 11:19:07 +02:00
Lucas Verney 0d54fa29a9 Add customizable tile server 2018-06-26 16:03:14 +02:00
Lucas Verney e961a8dbb1 Display reports on the map 2018-06-26 11:04:23 +02:00
Lucas Verney 2d27e72b33 Initial commit 2018-06-25 18:29:57 +02:00