12. As a user, I want to view a list of my shopping list items in order of how soon I am likely to need to buy each of them again so that it’s clear what I need to buy soon. #13
Inactive (when there’s only 1 purchase in the database or the purchase is really out of date [the time that has elapsed since the last purchase is 2x what was estimated])
AC:
Items in the list are shown as visually distinct (e.g., with a different background color on the list item) according to how soon the item is expected to be bought again: Soon, Kind of soon, Not soon, Inactive
Items should be sorted by the estimated number of days until next purchase
Items with the same number of estimated days until next purchase should be sorted alphabetically
Items in the different states should be described distinctly when read by a screen reader
Possible item states are as follows:
AC: