-
Notifications
You must be signed in to change notification settings - Fork 138
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
Manually update GPS location of asset #922
Manually update GPS location of asset #922
Conversation
…-asset-gps-location
- Added a component that requests geoLocation coordinates and manually creates a scan to record the current position - Update asset/actions-dropdown to have the 'Update GPS coordinates' action - Added a new migration that adds a flag called manuallyGenerated to Scan model - Updated useFetcherWithReset hook. Removed the spread of fetcher as it might cause issues - Updated the createScan service function to take latitude, longitude and manuallyGenerated props - Created endpoint /api/asset/scan which allows to create a scan for a certain asset, using a POST request
- Updated Last position details header - Added row to display the source of data (manual or scan) including a explanation tooltip - updated parseScanData to also include manuallyGenerated
@carlosvirreira @jurrejansen this is being deployed to testapp: https://github.com/Shelf-nu/shelf.nu/actions/runs/8798728248 and ready for testing |
@DonKoko Functionality wise I can't find anything. Just some front-end things.
https://github.com/Shelf-nu/shelf.nu/assets/76112272/fcd3667f-d4d4-4532-a54f-a63ceefd4ee0
|
…-asset-gps-location
…-asset-gps-location
…e them more consistent
This we should create a separate issue for so we can solve it properly and everywhere. The other point is solved. |
General updates:
Front-end updates: