Lucas Verney
aed7497d57
Bump dependencies
2018-11-25 17:43:54 +01:00
Lucas Verney
dcfa5c5897
Remove useless i18n strings and restore the fetching info alert
2018-11-08 23:37:20 +01:00
Lucas Verney
14e28694e0
Use dismissible alerts instead of dialogs to notify about errors
2018-11-07 23:18:45 +01:00
Lucas Verney
22c68454ec
Rework the way Map is initialized
2018-11-07 22:25:31 +01:00
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
06c02f6ece
No need for global catchall when fetching reports
2018-10-16 15:15:11 +02:00
Lucas Verney
4ff645cc43
Filter reports returned by the API based on map center
...
Only keep reports which are around the map center in the data returned
by the server. Filtering is done client-side for privacy reasons.
2018-10-15 09:11:41 +02:00
Lucas Verney
19cbb3165f
Better spawn of the notification
2018-09-21 15:11:31 +02:00
Lucas Verney
dca0f62394
Add a setting to allow permanent notification or not.
2018-09-21 15:11:31 +02:00
Lucas Verney
04ac3538a4
Basic implementation of notification
2018-09-21 15:11:31 +02:00
Lucas Verney
34a1a93a53
Show speed to user, fix for #37 .
2018-09-11 14:54:30 +02:00
Lucas Verney
5d84c6a0e6
Fix a bug when position cannot be fetched
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
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
316527b575
Fix a bug with sharing map view
2018-08-25 16:09:38 +02:00
Lucas Verney
7a7cd21376
Add a way to playback GPX tracks as mock locations
2018-08-23 15:03:47 +02:00
Lucas Verney
d9ec9219f9
Restore accuracy
2018-08-15 12:38:03 +02:00
Lucas Verney
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
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
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
Lucas Verney
bb926abbc4
Fix broken chained catch in Promises
2018-08-02 10:49:47 +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
169076dffa
Better error messages on geolocation fetching errors
2018-07-17 23:27:07 +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
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
Lucas Verney
8921833619
Use store to get nosleep setting in map view
2018-07-17 16:22:18 +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
57552197a9
Show details for the nearest report
2018-07-13 15:04:51 +02:00
Lucas Verney
e9b4593abf
Fix OpenGraph icon, OG does not support SVG
2018-07-11 16:54:02 +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
6c5d62ad69
Better handling of the case when heading is zero
2018-07-09 11:56:15 +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
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
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
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
f499538717
Reset error value when clicking the retry button to fetch location
2018-06-29 15:09:39 +02:00
Lucas Verney
4493dc35fe
Only start NoSleep after the first user interaction
2018-06-28 15:08:56 +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
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