Skip to content

Show likes#329

Merged
armanmoztar merged 12 commits intodevfrom
show-likes
Mar 7, 2025
Merged

Show likes#329
armanmoztar merged 12 commits intodevfrom
show-likes

Conversation

@malcolmm20
Copy link
Contributor

Proposed Changes

Closes #307

  • added get_detailed_posts function. Performs query that returns post with number of likes, views, and whether user has liked/viewed.
  • changed the get_posts endpoint to call get_detailed_posts
  • added unlike endpoint (DELETE /........./like)
  • added unread indicator (dot to the right of the time on post card)
  • added like button along with number of likes on posts

image

@malcolmm20 malcolmm20 self-assigned this Mar 3, 2025
@armanmoztar armanmoztar merged commit 991202c into dev Mar 7, 2025
6 checks passed
@armanmoztar armanmoztar deleted the show-likes branch March 7, 2025 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Track unread posts and number of likes

2 participants