Added
- A possibility to create areas. To create an area, click on the Areas checkbox in map controls (top right corner of the map), then in the top left corner of the map, click on a small circle icon. This will enable draw tool, allowing you to draw an area. When you finish drawing, release the mouse button, and the area will be created. Click on the area, set the name and click "Save" to save the area. You can also delete the area by clicking on the trash icon in the area popup.
- A background job to calculate your visits. This job will calculate your visits based on the areas you've created.
- Visits page. This page will show you all your visits, calculated based on the areas you've created. You can see the date and time of the visit, the area you've visited, and the duration of the visit.
- A possibility to confirm or decline a visit. When you create an area, the visit is not calculated immediately. You need to confirm or decline the visit. You can do this on the Visits page. Click on the visit, then click on the "Confirm" or "Decline" button. If you confirm the visit, it will be added to your timeline. If you decline the visit, it will be removed from your timeline.
- Settings for visit calculation. You can set the minimum time spent in the area to consider it as a visit. This setting can be found in the Settings page.
- POST
/api/v1/areas
and GET/api/v1/areas
endpoints. You can now create and list your areas via the API.
⚠️ Visits functionality is still in beta. If you find any issues, please let me know. ⚠️
Fixed
- A route popup now correctly shows distance made in the route, not the distance between first and last points in the route.
What's Changed
- Bump tailwindcss-rails from 2.6.1 to 2.6.3 by @dependabot in #136
- Bump turbo-rails from 2.0.5 to 2.0.6 by @dependabot in #135
- Areas and visits by @Freika in #131
Full Changelog: 0.9.4...0.9.5