Open marthakeezy opened 5 months ago
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 :)
Triage, waiting for @adamdewey to decide on severity
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.
Severity Normal is good
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.
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.
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.
Expected behaviour 🤔
I think it would be really good to either:
@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:
Your environment 🌱