msupply-foundation / mobile

Open source mobile app for medical inventory control
http://msupply.org.nz/mobile
Other
42 stars 27 forks source link

Allow user to acknowledge Cold Chain Mobile temperature breaches #4429

Open adamdewey opened 3 years ago

adamdewey commented 3 years ago

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.

image

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

  1. User to be able to see unacknowledged breaches and to be able to acknowledge (and dismiss) them.

Perhaps by pressing on the breach statistic panels under the graph?

image

  1. 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.

  2. The orange danger circle would need to be updated to flash for unacknowledged breaches only.

image

  1. The orange dashboard badge would also need to be updated to only show unacknowledged breaches.

image

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.

kat-ms commented 3 years ago

Am taking a look at this now (have been fiddling more than actually implementing haha). Few thoughts..

adamdewey commented 3 years ago

Hey Kat - nice!