Commit Graph

59 Commits

Author SHA1 Message Date
19cbb3165f Better spawn of the notification 2018-09-21 15:11:31 +02:00
dca0f62394 Add a setting to allow permanent notification or not. 2018-09-21 15:11:31 +02:00
04ac3538a4 Basic implementation of notification 2018-09-21 15:11:31 +02:00
34a1a93a53 Show speed to user, fix for #37. 2018-09-11 14:54:30 +02:00
f0fc8f287d Drop Moment.JS, use custom small lib for relative dates and formatting 2018-08-29 12:08:18 +02:00
948962987c Move GPX export function and matching node_modules to the same chunk as the map 2018-08-28 16:50:57 +02:00
718791e95f Use a loader when lazy loading Map view, to ensure a direct feedback is given to the user 2018-08-28 16:31:03 +02:00
5d84c6a0e6 Fix a bug when position cannot be fetched 2018-08-26 17:48:07 +02:00
6f8b3ada2c Autorotate mode when clicking the compass icon
Also fix a bug with sharing current position.
2018-08-26 17:48:07 +02:00
d24c326b01 Fix a bug in automatic refetch of reports after a given distance 2018-08-26 17:48:07 +02:00
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
316527b575 Fix a bug with sharing map view 2018-08-25 16:09:38 +02:00
7a7cd21376 Add a way to playback GPX tracks as mock locations 2018-08-23 15:03:47 +02:00
f5517b292d Fix a missing translation in Onboarding 2018-08-16 11:41:20 +02:00
d9ec9219f9 Restore accuracy 2018-08-15 12:38:03 +02:00
77433bcab5 Vibrate at opening of the Map rather than upon leaving Onboarding, ensure the notification should be displayed and seen by user 2018-08-13 20:18:14 +02:00
6a70deec70 Upgrade to Webpack 4 + improve the build system 2018-08-06 23:29:17 +02:00
7ccf427685 Upgrade dependencies and group all polyfills in a dedicated file 2018-08-05 15:47:28 +02:00
05cb92d8e3 Store complete GPX data
Rework the store to keep track of everything useful for building a full
GPX trace.
2018-08-03 17:15:03 +02:00
bb926abbc4 Fix broken chained catch in Promises 2018-08-02 10:49:47 +02:00
530184a817 Scroll back to top between onboarding steps. Fix #27. 2018-08-02 10:21:30 +02:00
194c4cf3d7 Misc fixes with vibrate and sound 2018-08-01 19:29:39 +02:00
d2bae9e532 Add statistics about the instance under the About section. 2018-08-01 17:54:48 +02:00
aca68fb2e3 Better handling of skip onboarding setting 2018-08-01 11:35:49 +02:00
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
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
5e1c3e47fc Add occitan translation + better names for locales in Settings
Huge thanks to Quentin for this translation! https://framagit.org/phyks/cyclassist/merge_requests/1
2018-07-20 15:37:14 +02:00
169076dffa Better error messages on geolocation fetching errors 2018-07-17 23:27:07 +02:00
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
edadbd6393 Let user pick a location manually, fix for #3. 2018-07-17 22:49:00 +02:00
a67462fab0 Explain what permissions are used for in the onboarding 2018-07-17 17:04:49 +02:00
959cdba36c Force user to click at least once on a button before showing the map, otherwise NoSleep might not work 2018-07-17 16:37:46 +02:00
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
8921833619 Use store to get nosleep setting in map view 2018-07-17 16:22:18 +02:00
e9b4f41b1e Add an onboarding screen to get users started
Fix for #17.
2018-07-17 15:10:51 +02:00
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
57552197a9 Show details for the nearest report 2018-07-13 15:04:51 +02:00
e9b4593abf Fix OpenGraph icon, OG does not support SVG 2018-07-11 16:54:02 +02:00
27631855af Proper aria labels for buttons 2018-07-11 01:14:54 +02:00
3e2e034fc8 Store settings in store, fix #12 2018-07-10 14:32:48 +02:00
1f9c0bd623 Heading is provided by browser in degrees but consumed by Leaflet in radians 2018-07-09 18:37:55 +02:00
ae9f3892c7 Display a polyline with the previous positions 2018-07-09 15:25:18 +02:00
6c5d62ad69 Better handling of the case when heading is zero 2018-07-09 11:56:15 +02:00
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
4cd2d49db9 Let user disable sleep prevention 2018-07-03 19:01:56 +02:00
37413a7e21 Some fixes for nosleep and moving the map around 2018-07-03 18:48:41 +02:00
df187ad8ca Use a regular click on map to add reports in specific location 2018-07-02 18:39:35 +02:00
1b3082d02a Fix centering of the map, fix #5 2018-07-02 18:39:13 +02:00
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
f499538717 Reset error value when clicking the retry button to fetch location 2018-06-29 15:09:39 +02:00