the-collab-lab / tcl-31-smart-shopping-list

1 stars 0 forks source link

As a user, I want to mark an item on my shopping list as purchased so the app can learn how often I buy different items. #24

Closed gabynr closed 3 years ago

gabynr commented 3 years ago

Description

We added a checkbox that adds a last purchased date to the database. The checkbox is automatically unselected after 24 hours (10 seconds for testing)

Related Issue

closes #8

Acceptance Criteria

Type of Changes

Type
:bug: Bug fix
:sparkles: New feature
:hammer: Refactoring
:100: Add tests
:link: Update dependencies
:scroll: Docs

Updates

Before

image

After

image

Testing Steps / QA Criteria

github-actions[bot] commented 3 years ago

Visit the preview URL for this PR (updated for commit c3e04d9):

https://tcl-31-smart-shopping-list--pr24-at-bn-checkbox-for-2-k0z5qzhe.web.app

(expires Sat, 06 Nov 2021 14:29:40 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

bajancode commented 3 years ago

I don't have much to add to Mike's comments, I like the use of 10 seconds for testing! It's not part of the acceptance criteria but maybe as a team for the final app we should add the ability to uncheck something as well. Great work!

aidantorrence commented 3 years ago

I don't have much to add to Mike's comments, I like the use of 10 seconds for testing! It's not part of the acceptance criteria but maybe as a team for the final app we should add the ability to uncheck something as well. Great work!

Great catch, we added this!