Commit Graph

15 Commits

Author SHA1 Message Date
Lucas Verney 903ad14bbc Add a service worker and cache assets
Assets are served from the local cache preferably. They are fetched from
the network if not available. This new addition also enables the "Add to
homescreen" in Chrome/Chromium.

Fix #22.
2018-10-26 14:15:56 +02:00
Lucas Verney b06ba60816 Use singleclick event listener on map, fix #35 2018-08-28 14:49:21 +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 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 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 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 ac518944d1 Fix a bug with Chrome, #4 2018-06-30 23:24:06 +02:00
Lucas Verney e65be07fc1 Better icons for reports and matching markers 2018-06-27 14:59:45 +02:00
Lucas Verney f30d000f92 Show the reports as soon as they are added in the db 2018-06-26 11:39:43 +02:00
Lucas Verney 2d27e72b33 Initial commit 2018-06-25 18:29:57 +02:00