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 ability to upsert sensor location and log location changes #2277

Closed
2 tasks done
Tracked by #1955
roxy-dao opened this issue Sep 25, 2023 · 0 comments
Closed
2 tasks done
Tracked by #1955

Add ability to upsert sensor location and log location changes #2277

roxy-dao opened this issue Sep 25, 2023 · 0 comments
Assignees
Labels
Build Tested: Dev Issue cannot be tested in build but tested by dev enhancement New feature or request feature: coldchain
Milestone

Comments

@roxy-dao
Copy link
Contributor

roxy-dao commented Sep 25, 2023

Is your feature request related to a problem? Please describe 👀

Sensor mutations need to be updated to allow for updating location and log any changes to a sensor's location in the activity_log table. Will need #1493 to be done first to save the hassle later.

Describe the solution you'd like 🎁

  1. Update sensor mutations to allow user to update sensor location.
  2. Log sensor location changes
    • Add new enum SensorLocationChanged to activity_log table.
    • Log sensor location changes in /sensor/update.rs from: location x to: location y

Estimate

3 hours

Moneyworks Jobcode 🧰

OMS:COLC

@roxy-dao roxy-dao added enhancement New feature or request needs triage labels Sep 25, 2023
@roxy-dao roxy-dao changed the title Add ability to upsert sensor location and log if location has been changed Add ability to upsert sensor location and log location changes Sep 25, 2023
@roxy-dao roxy-dao self-assigned this Oct 17, 2023
@AnushaUp AnushaUp added the Build Tested: Dev Issue cannot be tested in build but tested by dev label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Tested: Dev Issue cannot be tested in build but tested by dev enhancement New feature or request feature: coldchain
Projects
None yet
Development

No branches or pull requests

3 participants