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

iSC/Cold chain: fixed range for date filters excludes breaches that might be ongoing #4251

Open
marthakeezy opened this issue Jun 24, 2024 · 5 comments
Assignees
Labels
bug Something is borken feature: coldchain needs design Needs PO/UI/UX designer input Priority: Should have Severity: Normal Bugs which have an acceptable workaround. Moderate/tolerable user impact. Next minor release.

Comments

@marthakeezy
Copy link

marthakeezy commented Jun 24, 2024

What went wrong? 😲

Cold chain -> Monitoring

When accessing Monitoring, by default the date filter will only show the last 24 hours. While date filter is editable, the first glance the user gets would be the last 24 hours. The filter value remains the same across all three tabs - Monitoring, Breaches and Log.

Screenshot 2024-06-24 at 4 19 13 PM

Cold chain -> Breaches

Because of the filter described above, the breaches actually do not show up unless they happened in the last 24 hours. So the beginning time of the breach has to fall within the date range that is set by default for the user to see it straight away without having to change any details.

I wonder if it creates a false picture of the site having no breaches. Because the first screen the user sees is 'No Temperature Breaches Found' and the users might not even realise they have date filters on or might not pay attention. I definitely got caught by this the first time I used Cold chain after the filters were fixed, and it took me solid 10 minutes to figure out breaches don't show up because of the filter.

Screenshot 2024-06-24 at 4 19 40 PM

Expected behaviour 🤔

I think it would be really good to either:

  • Always show the ongoing breaches, regardless of the date filter. Maybe Unacknowledged breaches should always be shown too.
  • Or remove the default date setting specifically for 'Breaches' tab to allow all breaches to be shown.

@adamdewey might have more thoughts on what would be best for the user :) I personally think default date filter would be good to minimise the information shown on the screen straight away, but we need to have exceptions for the ongoing breaches or those, that haven't been acknowledged.

How to Reproduce 🔨

Steps to reproduce the behaviour:

  1. Produce a breach that is older than 24 hours
  2. Go to Cold chain -> Monitoring
  3. Note the default date/time in the date filter
  4. Navigate to Breaches -> see the breach that is older than your time range not appear
  5. Confusing!

Your environment 🌱

  • Open mSupply Version: V2.1.0-RC2
  • Legacy mSupply Central Server Version: V7.15.05
  • Platform: Desktop App on Windows
  • Database type: SQLite3
@marthakeezy marthakeezy added bug Something is borken needs triage needs daily triage New bug to be triaged by the release team feature: coldchain Severity: Normal Bugs which have an acceptable workaround. Moderate/tolerable user impact. Next minor release. labels Jun 24, 2024
@marthakeezy
Copy link
Author

marthakeezy commented Jun 24, 2024

Marked as Severity: Normal as in my opinion it's impacting the users who don't pay heaps of attention and will only glance over, and once they see there are no issues they wouldn't think twice to check if anything is wrong and rather trust what the screen is showing. The only reason I went digging was because I knew there should definitely be a breach and for some reason it wasn't showing :)

@CarlosNZ CarlosNZ removed the needs daily triage New bug to be triaged by the release team label Jun 25, 2024
@andreievg
Copy link
Collaborator

Triage, waiting for @adamdewey to decide on severity

@andreievg andreievg added the needs design Needs PO/UI/UX designer input label Jun 27, 2024
@adamdewey
Copy link
Contributor

Yes, agree - the tab should show breaches that have any part of them that fall within the current date range.

Should apply to both ongoing and ended.

@adamdewey
Copy link
Contributor

Severity Normal is good

@andreievg
Copy link
Collaborator

Functionally makes sense to include ongoing breach. Maybe a little bit harder on technical end, because of end date time not populated before breach is finished.

@andreievg andreievg self-assigned this Aug 5, 2024
@andreievg andreievg added this to the Refactor fortnight milestone Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is borken feature: coldchain needs design Needs PO/UI/UX designer input Priority: Should have Severity: Normal Bugs which have an acceptable workaround. Moderate/tolerable user impact. Next minor release.
Projects
None yet
Development

No branches or pull requests

5 participants