Commit Graph

24 Commits

Author SHA1 Message Date
Lucas Verney 368c799933 Fix report fetching and closest report emphasis 2019-01-18 08:25:48 +01:00
Lucas Verney 76f54932bf Migrate to localforage to support asyncStorage mode 2019-01-04 14:23:39 +01:00
Lucas Verney 09e5a2d4e2 Show nearest reports, handling the area of the report (not only as a
point, but polygon as well)
2018-11-29 09:31:52 +01:00
Lucas Verney 80b650c2a9 Delete reports when downvoting them 2018-10-25 11:27:54 +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 f0fc8f287d Drop Moment.JS, use custom small lib for relative dates and formatting 2018-08-29 12:08:18 +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 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 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 194c4cf3d7 Misc fixes with vibrate and sound 2018-08-01 19:29:39 +02:00
Lucas Verney aca68fb2e3 Better handling of skip onboarding setting 2018-08-01 11:35:49 +02:00
Lucas Verney 66b110e9ef Hide details when clicking upvote/downvote 2018-07-30 20:35:52 +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 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 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 57552197a9 Show details for the nearest report 2018-07-13 15:04:51 +02:00
Lucas Verney 9d6ed7e74c Better handling of expiration of GCUM and accidents report types. 2018-07-10 15:55:45 +02:00
Lucas Verney 3e2e034fc8 Store settings in store, fix #12 2018-07-10 14:32:48 +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 f30d000f92 Show the reports as soon as they are added in the db 2018-06-26 11:39:43 +02:00