Open adamdewey opened 3 years ago
Am taking a look at this now (have been fiddling more than actually implementing haha). Few thoughts..
Hey Kat - nice!
I think it's fine to not be super obvious that it can be clicked for now - as it's the same for cold chain SA. You don't know you can long press the orange thing unless you read the manual I guess?
I think an acknowledge all approach is fine too, as long as it's per sensor!
The cumulative thing - perhaps we can just leave that for now. In future it might be nice if the user can reset the cumulative status manually (e.g. if they've thrown out expired stock and replenished and want to start monitoring cumulative total again from now)
Is your feature request related to a problem? Please describe.
In the Cold Chain Standalone (SA) app we allow the user to acknowledge temperature breaches. This means that you can use the dashboard to see the overall status of unacknowledged breaches currently in the system.
https://user-images.githubusercontent.com/19318937/135774494-f73e44b4-ae7d-4383-ac2e-17ec7de71b2e.mp4
However, with Cold Chain Mobile (M) there doesn't appear to be a way for users to acknowledge the breaches.
Could we add some similar functionality to M?
Describe the solution you'd like
Perhaps by pressing on the breach statistic panels under the graph?
Would need to update the panels to only show numbers for unacknowledged breaches too, or it would be confusing for the user if the numbers didn't change after they had acknowledged them.
The orange danger circle would need to be updated to flash for unacknowledged breaches only.
Implementation
A description of how the solution would best be implemented in the code base
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.