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

1 stars 2 forks source link

Issue #8: item checkbox #24

Closed alenamedved closed 2 years ago

alenamedved commented 2 years ago

Description

Extras:

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

before

After

after firebaseExample

Testing Steps / QA Criteria

  1. Run the application, navigate to listView and confirm checkboxes are next to items.
  2. Click one of the checkboxes, then refresh the app and confirm that checkbox remains checked.
  3. Navigate to firebase, find your shopping list and confirm that purchasedDate for this item was saved as a number.
  4. To test the 24 hour function: change the purchasedDate for checked item in firestore to 1643653903254 (Jan 31 in js in milliseconds) and return to your shopping list and confirm that checkmarked has been removed.
github-actions[bot] commented 2 years ago

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

https://tcl-36-smart-shopping-list--pr24-am-sm-item-checkbox-kk5m4sn8.web.app

(expires Sun, 13 Feb 2022 19:33:24 GMT)

πŸ”₯ via Firebase Hosting GitHub Action 🌎