Southclaws / storyden

With a fresh new take on traditional bulletin board forum software, Storyden is a modern, secure and extensible platform for building communities.
https://www.storyden.org/
Mozilla Public License 2.0
85 stars 9 forks source link

Add like button to threads #216

Open Southclaws opened 6 days ago

Southclaws commented 6 days ago

This was added to the API a long time ago, it's a simple PUT or DELETE request to /likes/posts/{post_id}

Bonus: like button can play a cute animation when clicked to like or un-like.

Placement: left of collection menu

image

5AIPAVAN commented 2 days ago

can i work on this :-) @Southclaws (i had some experience with like button in my project)

Southclaws commented 2 days ago

Awesome, thanks for offering to contribute @5AIPAVAN! If you need any guidance, let me know.

The best place to start is ThreadItem which renders a <RichCard> where the controls prop contains the footer row components, which is where the Like button is probably best located, though if you have a better idea feel free to experiment!