Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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