You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when a user checks the “Mark item as purchased” input next to an item name, the current date is stored as the dateLastPurchased in the database, and the input remains checked for 24 hours.
If users mark an item as purchased by mistake, they are unable to undo this action.
To address this, users should be able to uncheck the "Mark item as purchased" input to revert the item's purchased status and keep the previous dateLastPurchased in the database.
Acceptance criteria
Users can check and uncheck the "Mark item as purchased" input next to an item.
Checking the input store the current date as dateLastPurchased in the database.
Unchecking the input changes the item's status to not purchased and keep the previous dateLastPurchased stored in the database.
Users are provided with clear information about the effect of checking and unchecking the input.
Notes
Feedback related to the checkbox status can be provided to users in different ways. One possibility is to display the lastPurchaseDate of an item next to its name inside the “List” view and update it based on the input.
Another option could be to create a new “Item” view, where users could navigate by clicking on the item's name. In this view, users could find more detailed information about the item, such as total purchases, last purchased date, etc. and find the changes when checking or unchecking the input.
The text was updated successfully, but these errors were encountered:
Summary
Currently, when a user checks the “Mark item as purchased” input next to an item name, the current date is stored as the dateLastPurchased in the database, and the input remains checked for 24 hours.
If users mark an item as purchased by mistake, they are unable to undo this action.
To address this, users should be able to uncheck the "Mark item as purchased" input to revert the item's purchased status and keep the previous dateLastPurchased in the database.
Acceptance criteria
Notes
Feedback related to the checkbox status can be provided to users in different ways. One possibility is to display the lastPurchaseDate of an item next to its name inside the “List” view and update it based on the input.
Another option could be to create a new “Item” view, where users could navigate by clicking on the item's name. In this view, users could find more detailed information about the item, such as total purchases, last purchased date, etc. and find the changes when checking or unchecking the input.
The text was updated successfully, but these errors were encountered: