NirachaMarchett / capstone-expiration-tracking-app

https://capstone-project-chi-rouge.vercel.app
0 stars 0 forks source link

US2: Item Expiration Overview #5

Open NirachaMarchett opened 1 year ago

NirachaMarchett commented 1 year ago

Value proposition

As a user I want to see an overview display so that I know how many items are already expired, how many items are expiring in one day, and how many items are expiring in 2 days.

Description

Screenshot 2023-08-01 at 22 05 02

Acceptance criteria

Tasks

size: M

CJAkkuec commented 1 year ago

Very good 👍 I think your tasks may benefit from an additional mention of the business logic (-> determines how data may be shown, stored, created, and altered) that handles the calculation of the days remaining before expiration.

Also, while basic wireframes are totally fine, I think this one may benefit from some additional context. Where are we in the app right now? Is this a new page? The page with the GroceriesList ...?

Roland-Hufnagel commented 1 year ago

Hi. just two things: As CJ said: YOU should determine how to implement the business logic so a task could be: Create a function that filters the data by expiration-date. Use this function three times to display the corresponding count of groceries. And so on.

I thought your list of groceries from US1 is displayed on the homepage. Now you want to display the expiration-list on the homepage. What will happen with the grocery-list?? Maybe this is the time, you need a navigation (homepage and grocery)?

NirachaMarchett commented 1 year ago

Hi Roland, thank you so much for your feedback. The list of all the grocery items will be displayed on the homepage (including the expired items). The overview displays the sum of expired items, number of items expiring in 1 and 2 days.