Comments on the modal actually represent the comments in firestore
Users can now add comments
Users can now delete comments
The modal now only takes up part of the page
Added general styling and time stamp to when comment was sent
Fix our yelp API so only restaurants show up in the response
Portions of this code that utilized AI generation
None
Screenshots (optional)
How to Test
Open the app and login to a user, start the backend server and the firestore emulator.
Use postman to follow a user that has posts in firestore. (might have to comment out middleware because it doesn't like the follow route)
Go to friend tab in the app. You should see posts made by the user you followed in step 2.
Click on the comments icon.
See the comments modal. You can now add comments (might have to comment out middleware because it doesn't like the comment route). The trash can icon will be disabled/grayed out until you post your own comment. Once you do, pressing the trash can icon will show a delete button next to comments you (current user) own.
Checklist
[x] I have added/updated relevant documentation, and I have followed the coding style guidelines.
[x] I have checked for any potential conflicts with other branches and fixed any merge conflicts.
Description / Changes Made
Portions of this code that utilized AI generation
None
Screenshots (optional)
How to Test
Checklist