boolean-uk / team-dev-frontend-client

1 stars 11 forks source link

Like Comments - functionality #127

Open akibria-dev opened 1 year ago

akibria-dev commented 1 year ago

Requirements

UI Approach

Code structure

Wireframe

The wireframe doesn't exist for this yet

UI Functionality

chris2733 commented 1 year ago

Looks good!

dogezen commented 1 year ago

Can you detail what DATA you will send to the API ENDPOINT and what API ENDPOINT you'll use to add/remove the likes?

The current API does not really do what you think: it doesn't store a list of userIds that liked a comment, it is slightly different to this. Unliking requires finding the Like object and marking it as unliked.

georgeroth commented 1 year ago

https://youtu.be/2syzdwzB_0k?t=23

georgeroth commented 1 year ago

Done, can you please take a look @dogezen ?