Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GPS info to task and project #69

Open
antirais opened this issue Jan 8, 2019 · 4 comments
Open

Add GPS info to task and project #69

antirais opened this issue Jan 8, 2019 · 4 comments

Comments

@antirais
Copy link
Contributor

antirais commented Jan 8, 2019

Additional GPS information aids project managers to assure that the work was done in specific location, e.g construction workers. It would be nice to also see the map with a pin while reviewing tasks afterwards.

@anuko
Copy link
Owner

anuko commented Jan 9, 2019

This may make sense for orgs that must track user locations, in situations where IP is not enough, which is already included. If someone wants to implement this, I suggest making this and IP tracking option configurable (turned on or off) on group level, and introduce another table for tracking data only, this way we don't flood the database with unneeded data for groups that do not require location tracking.

@dalers
Copy link

dalers commented Jan 9, 2019 via email

@anuko
Copy link
Owner

anuko commented Jan 11, 2019

Unless I am missing something, and if I understand the GPS wish correctly, the idea is to use client-side HTML5 geolocation API, built into modern browsers. If users allow such tracking, then transmit and store coordinates and accuracy on the server in Time Tracker database for future reference, together with browser IP that we already provide.

User-defined fields are server-side things. In terms of implementation complexity, custom fields are more complex, as more fields would inevitably complicate reports queries (which are not simple already) and rendering, and other related things.

These two, in my opinion, do not belong together. Also this violates the Unix design principle "do one thing and do it well".

@antirais
Copy link
Contributor Author

Unless I am missing something, and if I understand the GPS wish correctly, the idea is to use client-side HTML5 geolocation API, built into modern browsers. If users allow such tracking, then transmit and store coordinates and accuracy on the server in Time Tracker database for future reference, together with browser IP that we already provide.

Yes, I ment HTML5 geo API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants