{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":839294528,"defaultBranch":"main","name":"tcl-77-smart-shopping-list","ownerLogin":"the-collab-lab","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-08-07T10:17:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/53383537?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726713097.0","currentOid":""},"activityList":{"items":[{"before":"cece0fb067a1c1875b944cb3b4ddc2b392e586ed","after":"9c0bf6f64393f6bf2633ee3a58d672ecb30a3a77","ref":"refs/heads/bb-fz/sort-by-purchase-urgency","pushedAt":"2024-09-19T04:46:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"update the shopping list api readme to include the new comparePurchaseUrgency info","shortMessageHtmlLink":"update the shopping list api readme to include the new comparePurchas…"}},{"before":"6d8fdd0ca5494f6bf68015770a0b2c19afab7655","after":"cece0fb067a1c1875b944cb3b4ddc2b392e586ed","ref":"refs/heads/bb-fz/sort-by-purchase-urgency","pushedAt":"2024-09-19T04:15:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"cleaned up pseudo code from firebase.ts and implemented overdue logic for buying status\n\nCo-authored-by: Falak ","shortMessageHtmlLink":"cleaned up pseudo code from firebase.ts and implemented overdue logic…"}},{"before":"badabe594a4111ae808f5a7ff7767e4d401f6edc","after":"6d8fdd0ca5494f6bf68015770a0b2c19afab7655","ref":"refs/heads/bb-fz/sort-by-purchase-urgency","pushedAt":"2024-09-19T03:32:33.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"added urgency status to list item check box\n\nCo-authored-by: Falak ","shortMessageHtmlLink":"added urgency status to list item check box"}},{"before":null,"after":"badabe594a4111ae808f5a7ff7767e4d401f6edc","ref":"refs/heads/bb-fz/sort-by-purchase-urgency","pushedAt":"2024-09-19T02:31:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"created comparePurchaseUrgency function\n\nCo-authored-by: Falak ","shortMessageHtmlLink":"created comparePurchaseUrgency function"}},{"before":"f823aebdf142e590f819155480f48571dd1400ca","after":null,"ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-15T22:13:28.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"}},{"before":"5ea939bd2f1d2beaee1e185a54eb867e281425bf","after":"855a7c23b117c94b78ba537828bc7519cc2fee76","ref":"refs/heads/main","pushedAt":"2024-09-15T22:13:10.000Z","pushType":"pr_merge","commitsCount":11,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"},"commit":{"message":"Merge pull request #34 from the-collab-lab/ma-fz/duplicate-or-emptyitem\n\nIssue # 10 Prevent user from adding duplicate or empty item to the list","shortMessageHtmlLink":"Merge pull request #34 from the-collab-lab/ma-fz/duplicate-or-emptyitem"}},{"before":"654a7330206c0b493d3f102629d434f3f8f17704","after":"f823aebdf142e590f819155480f48571dd1400ca","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-15T19:33:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"},"commit":{"message":"reverse refactor of normalizedInputName to allow digit","shortMessageHtmlLink":"reverse refactor of normalizedInputName to allow digit"}},{"before":"0b1fd5925aa6461ceef5bd83609cb7a6fd5be453","after":null,"ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-15T19:05:16.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"}},{"before":"7bacfe6318322cd9b6d3232350cfb0cbebde4e46","after":"5ea939bd2f1d2beaee1e185a54eb867e281425bf","ref":"refs/heads/main","pushedAt":"2024-09-15T19:05:12.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"Updating dateNextPurchased with smart calculation of new date (#33)\n\n* created getDaysBetweenDates function\r\n\r\nCo-authored-by: Ross Clettenberg \r\n\r\n* getting the last updated date of the item\r\n\r\nCo-authored-by: Ross Clettenberg \r\n\r\n* update getDaysBetweenDates to only return whole numbers\r\n\r\nCo-authored-by: Ross Clettenberg \r\n\r\n* update updateItem function to calculate a new dateNextPurchased and save to DB\r\n\r\nCo-authored-by: Ross Clettenberg \r\n\r\n* added clarification comment for previousEstimate variable\r\n\r\nCo-authored-by: Ross Clettenberg \r\n\r\n* removing accidental import of random last func\r\n\r\n* put testing console.log in for showing the changes\r\n\r\nCo-authored-by: Ross Clettenberg \r\n\r\n* removed console.logs\r\n\r\n* switch to Math.floor to make sure focus is on full days passed\r\n\r\n---------\r\n\r\nCo-authored-by: Ross Clettenberg ","shortMessageHtmlLink":"Updating dateNextPurchased with smart calculation of new date (#33)"}},{"before":"16efcabb633a02160026f95ce859a810a753e85d","after":"0b1fd5925aa6461ceef5bd83609cb7a6fd5be453","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-15T18:58:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"switch to Math.floor to make sure focus is on full days passed","shortMessageHtmlLink":"switch to Math.floor to make sure focus is on full days passed"}},{"before":"ff10339ffd05c880a5df77f7d2e4441e440e8488","after":"654a7330206c0b493d3f102629d434f3f8f17704","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-15T18:12:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"},"commit":{"message":"refactor normalizedInputName to accept digits","shortMessageHtmlLink":"refactor normalizedInputName to accept digits"}},{"before":"912fc2c795fb11c03a52f9c12f867be64a64915a","after":"16efcabb633a02160026f95ce859a810a753e85d","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-15T15:04:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"removed console.logs","shortMessageHtmlLink":"removed console.logs"}},{"before":"a1deb441c67c8f01f857ad74b43e773e10e78b04","after":"ff10339ffd05c880a5df77f7d2e4441e440e8488","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-13T06:50:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zahrafalak","name":"Falak ","path":"/zahrafalak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/143557661?s=80&v=4"},"commit":{"message":"change punctuation regex to also check for spaces in the duplicate input","shortMessageHtmlLink":"change punctuation regex to also check for spaces in the duplicate input"}},{"before":"8ece0591420c2f71748e7d6b7fb47763cc5a0eba","after":"a1deb441c67c8f01f857ad74b43e773e10e78b04","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-13T06:34:55.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"},"commit":{"message":"updated toast notifications with descriptives for duplicate item names","shortMessageHtmlLink":"updated toast notifications with descriptives for duplicate item names"}},{"before":"c92e31e87135e69c3421ce17a40205f0eed1d525","after":"8ece0591420c2f71748e7d6b7fb47763cc5a0eba","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-13T06:25:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zahrafalak","name":"Falak ","path":"/zahrafalak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/143557661?s=80&v=4"},"commit":{"message":"Change some variable names to more descriptive ones","shortMessageHtmlLink":"Change some variable names to more descriptive ones"}},{"before":"eb21d28900954f026f0509506719ad45eae6258a","after":"c92e31e87135e69c3421ce17a40205f0eed1d525","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-13T01:52:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zahrafalak","name":"Falak ","path":"/zahrafalak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/143557661?s=80&v=4"},"commit":{"message":"Fix the handleSubmit function to return early if validation error caught","shortMessageHtmlLink":"Fix the handleSubmit function to return early if validation error caught"}},{"before":"b32123657e433b0ee65e29b34b08ff5bd38f053e","after":"eb21d28900954f026f0509506719ad45eae6258a","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-12T23:17:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zahrafalak","name":"Falak ","path":"/zahrafalak","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/143557661?s=80&v=4"},"commit":{"message":"Change validation function to return specific errors. Change handleSubmit function to return early if validationError is detected","shortMessageHtmlLink":"Change validation function to return specific errors. Change handleSu…"}},{"before":"7995534f571444c2602ae26dc36eeae1b62e1d5d","after":"b32123657e433b0ee65e29b34b08ff5bd38f053e","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-12T06:29:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"},"commit":{"message":"refactored validateItemString to check for duplicate item names entered and add only original names to shopping list","shortMessageHtmlLink":"refactored validateItemString to check for duplicate item names enter…"}},{"before":"e7d07d18c862275f4e25788c0b87eecccd55aa9b","after":"912fc2c795fb11c03a52f9c12f867be64a64915a","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-11T20:39:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"put testing console.log in for showing the changes\n\nCo-authored-by: Ross Clettenberg ","shortMessageHtmlLink":"put testing console.log in for showing the changes"}},{"before":"2d30a264afd684f22860cd905ef838f59a103175","after":"e7d07d18c862275f4e25788c0b87eecccd55aa9b","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-11T20:23:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"removing accidental import of random last func","shortMessageHtmlLink":"removing accidental import of random last func"}},{"before":"26221fb208a0411e1ab7bbcc1a02def615ad847b","after":"2d30a264afd684f22860cd905ef838f59a103175","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-11T20:21:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"added clarification comment for previousEstimate variable\n\nCo-authored-by: Ross Clettenberg ","shortMessageHtmlLink":"added clarification comment for previousEstimate variable"}},{"before":"30396a44c31476ce4f1d72b7c78a0c11934c947d","after":"26221fb208a0411e1ab7bbcc1a02def615ad847b","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-11T20:18:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"update updateItem function to calculate a new dateNextPurchased and save to DB\n\nCo-authored-by: Ross Clettenberg ","shortMessageHtmlLink":"update updateItem function to calculate a new dateNextPurchased and s…"}},{"before":"1b8f48293d82b75b328d118f45b2154f50c4158c","after":"30396a44c31476ce4f1d72b7c78a0c11934c947d","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-11T20:14:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"update getDaysBetweenDates to only return whole numbers\n\nCo-authored-by: Ross Clettenberg ","shortMessageHtmlLink":"update getDaysBetweenDates to only return whole numbers"}},{"before":"30e9066fc3c8406581dee5dfbb8c5e22558ccc84","after":"1b8f48293d82b75b328d118f45b2154f50c4158c","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-11T19:39:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"getting the last updated date of the item\n\nCo-authored-by: Ross Clettenberg ","shortMessageHtmlLink":"getting the last updated date of the item"}},{"before":null,"after":"30e9066fc3c8406581dee5dfbb8c5e22558ccc84","ref":"refs/heads/bb-rc/update-next-purchase-date","pushedAt":"2024-09-11T19:22:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"created getDaysBetweenDates function\n\nCo-authored-by: Ross Clettenberg ","shortMessageHtmlLink":"created getDaysBetweenDates function"}},{"before":"9a554691469b83b4a04bb9cbe14fb799fa07daca","after":"7995534f571444c2602ae26dc36eeae1b62e1d5d","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-11T04:49:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"},"commit":{"message":"refactored toast notifcations to correctly display item names validated for emptiness or punctuaction marks","shortMessageHtmlLink":"refactored toast notifcations to correctly display item names validat…"}},{"before":null,"after":"9a554691469b83b4a04bb9cbe14fb799fa07daca","ref":"refs/heads/ma-fz/duplicate-or-emptyitem","pushedAt":"2024-09-11T04:06:38.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eternalmaha","name":"Maha Ahmed","path":"/eternalmaha","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/102927550?s=80&v=4"},"commit":{"message":"refactored validateTrimmedString to normalize punctuation errors and added a toast error to notify user of empty item name","shortMessageHtmlLink":"refactored validateTrimmedString to normalize punctuation errors and …"}},{"before":"01c5762a7acff675e8e3611ae6cdcbc5b3934f03","after":null,"ref":"refs/heads/bb-ma/mark-item-purchased","pushedAt":"2024-09-08T18:22:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"}},{"before":"6dcf2e706391e730879d18d01b1ae8cca8837e3b","after":"7bacfe6318322cd9b6d3232350cfb0cbebde4e46","ref":"refs/heads/main","pushedAt":"2024-09-08T18:21:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"Mark item as purchased & update DB (#31)\n\n* updated the updateItem func in api to take parameters & use firebase func\r\n\r\n* skeleton of updateItem if purchased\r\n\r\n* updateItem changed to increment purchases and update dateLastPurchased\r\n\r\n* update the checkbox input to have my dynamic prop values\r\n\r\n* added toast and the updateItem call using the inputs checked status to update the purchase info\r\n\r\nCo-authored-by: Maha Ahmed \r\n\r\n* removed the
    tags list items don't have
  • \r\n\r\n* added a 24 hrs later check function in date utils\r\n\r\n* added useEffect to determine if 24hrs has passed\r\n\r\n* added toast that let's user know know item already marked as purchased in last 24 hrs\r\n\r\nCo-authored-by: Maha Ahmed \r\n\r\n* refactoring conditonal check of purchase date to render a marked purchase\r\n\r\n* refactored the dependency in useEffect for better accuracy\r\n\r\n* update to use Pick Utility Type, added a try...catch block, directly set updates fields\r\n\r\n* correct the math of the 24hr check and update func name\r\n\r\n* moved the setChecked for marking as purchased into success toast, removed redundant checks for under 24hr purchase error\r\n\r\n* update the shopping list api doc for the updateItem change\r\n\r\n* updated purchaseDate with more concise logic, added disabled to checkbox, removed toast.error for recheck in 24hr\r\n\r\n* updated ListItem to use tagged unions\r\n\r\nCo-authored-by: Maha Ahmed \r\n\r\n* fixed the merge conflict issue\r\n\r\nCo-authored-by: Maha Ahmed \r\n\r\n* updateItem rethrows error it catches so that toast of ListItem can trigger the error correctly\r\n\r\n---------\r\n\r\nCo-authored-by: Maha \r\nCo-authored-by: Maha Ahmed ","shortMessageHtmlLink":"Mark item as purchased & update DB (#31)"}},{"before":"79eec1f6cbe3bd5c8bdb677fd4f50771cd3765ad","after":"01c5762a7acff675e8e3611ae6cdcbc5b3934f03","ref":"refs/heads/bb-ma/mark-item-purchased","pushedAt":"2024-09-08T18:19:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bbland1","name":"Brianna","path":"/bbland1","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/104288486?s=80&v=4"},"commit":{"message":"updateItem rethrows error it catches so that toast of ListItem can trigger the error correctly","shortMessageHtmlLink":"updateItem rethrows error it catches so that toast of ListItem can tr…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xOVQwNDo0Njo0Ny4wMDAwMDBazwAAAAS6abXv","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xOVQwNDo0Njo0Ny4wMDAwMDBazwAAAAS6abXv","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0wOFQxODoxOToxMi4wMDAwMDBazwAAAASwOhwE"}},"title":"Activity · the-collab-lab/tcl-77-smart-shopping-list"}