Commit Graph

70 Commits

Author SHA1 Message Date
Lucas Verney 93b0ec340e Hide speed badge when setting map center manually 2018-10-21 23:42:36 +02:00
Lucas Verney 1ca9922b1b Do not show speed badge when manually picking a location 2018-10-18 20:05:48 +02:00
Lucas Verney 6f906ec23a Fix #43: Speed badge looking weird on touch devices 2018-10-15 23:54:20 +02:00
Lucas Verney dca0f62394 Add a setting to allow permanent notification or not. 2018-09-21 15:11:31 +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 b168fe2b9e Fix a bug with manual address selection 2018-09-13 15:52:39 +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 aaa8998466 Use plain Audio API, drop Howler dependency 2018-09-04 15:27:50 +02:00
Lucas Verney f0fc8f287d Drop Moment.JS, use custom small lib for relative dates and formatting 2018-08-29 12:08:18 +02:00
Lucas Verney 2ccc4110d6 Restore the correct spaces before double punctuation 2018-08-28 20:48:50 +02:00
Lucas Verney b06ba60816 Use singleclick event listener on map, fix #35 2018-08-28 14:49:21 +02:00
Lucas Verney 11aa82b310 Fix a bug with upvote / downvote icons sometimes overflowing. Close #28 2018-08-26 20:34:04 +02:00
Lucas Verney 59f7f153ea Fix map sometimes too high 2018-08-26 20:31:00 +02:00
Lucas Verney b8ae8e9fa3 Add a way to report a bug, close #34 2018-08-26 17:48:07 +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 017bf34ca5 Fix a bug with markers 2018-08-20 12:03:55 +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 194c4cf3d7 Misc fixes with vibrate and sound 2018-08-01 19:29:39 +02:00
Lucas Verney d2bae9e532 Add statistics about the instance under the About section. 2018-08-01 17:54:48 +02:00
Lucas Verney 4f64204ff0 Add beep and vibration when coming close to a known report 2018-07-31 15:46:18 +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 da7e582cf9 Add a way to resend unsent reports, fix for #14. 2018-07-26 13:56:51 +02:00
Lucas Verney 79b4625dc9 Fix a PropType issue 2018-07-26 13:56:51 +02:00
Lucas Verney b9315a83cd Start working on a way to resend unsent reports 2018-07-26 13:56:42 +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 b792f2ec44 Complete translation of manual location picker + better guard for Map when user has not previously clicked on a button 2018-07-17 23:19:28 +02:00
Lucas Verney edadbd6393 Let user pick a location manually, fix for #3. 2018-07-17 22:49:00 +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 e9b4f41b1e Add an onboarding screen to get users started
Fix for #17.
2018-07-17 15:10:51 +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 a31dca5ab1 Better description of geolocation sharing in About section 2018-07-13 16:09:27 +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 bc52d4f929 Add 2 new report types: accident + misc. Fix #15. 2018-07-10 15:19:24 +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 9d4842b44c Clicking on a report now shows more infos and let users dismiss it
You should update your database by running
```
ALTER TABLE report ADD COLUMN (upvotes INTEGER NOT NULL, downvotes INTEGER NOT NULL)
```

Fix issue #8.
2018-07-06 15:39:35 +02:00
Lucas Verney 5c777138f4 Better feedback with connectivity issues when sending reports 2018-07-04 18:20:28 +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