Commit Graph

40 Commits

Author SHA1 Message Date
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
aa3d2065a9 Settings should not take all available space 2018-06-28 22:49:52 +02:00
4493dc35fe Only start NoSleep after the first user interaction 2018-06-28 15:08:56 +02:00
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
e65be07fc1 Better icons for reports and matching markers 2018-06-27 14:59:45 +02:00
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
f30d000f92 Show the reports as soon as they are added in the db 2018-06-26 11:39:43 +02:00
e961a8dbb1 Display reports on the map 2018-06-26 11:04:23 +02:00
dd4075b18c Use NoSleep to prevent sleep of the phone 2018-06-25 23:57:33 +02:00
2d27e72b33 Initial commit 2018-06-25 18:29:57 +02:00