Closed aidantorrence closed 3 years ago
Visit the preview URL for this PR (updated for commit edf562c):
https://tcl-31-smart-shopping-list--pr30-at-va-10-next-purcha-dot3hvx2.web.app
(expires Fri, 12 Nov 2021 16:37:41 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
UPDATE: Ignore this comment. I was working off an old branch. I can delete if that is a best practice.
Thanks for working on this. I created a new list, put 'carrots' on the list, and marked it as purchased. The token for this new list was 'cat fine valve'.
Then, I looked in the database and saw this image which seems like it doesn't have all of the fields showing:
I think estimatedPurchaseDate and totalPurchases are missing. Please let me know if I'm misunderstanding the way your feature should work.
Compare to another item on another list that was already in the database that does seem to have all of the fields showing:
UPDATE: Ignore this comment. I was working off an old branch. I can delete if that is a best practice.
I'm not sure, but I just have asked in the slack, but I think, in calculateEstimate
here
estimatedPurchaseDate
, you need to send the values of the attribute days that select in the radio button.
Description
We added functionality that calculates an estimate of the number of days for the next purchase using the calculateEstimate utility and records it to the firestore.
Related Issue
closes #10
Acceptance Criteria
Type of Changes
Updates
After