Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Add "LIKE" option to the post #34

Open
Mayuresh-22 opened this issue Dec 31, 2023 · 2 comments
Open

[feat] Add "LIKE" option to the post #34

Mayuresh-22 opened this issue Dec 31, 2023 · 2 comments
Labels
enhancement New feature or request HARD Issues with this labels has HARD level difficulty SWOC S4 Issues with this labels are officially for Social Winter of Code program

Comments

@Mayuresh-22
Copy link
Owner

What is expected?

At present, there is no provision for users to express their liking for any post. It would be helpful to add a like button, preferably an icon, to the post. The addition can be done with the help of Javascript. It must be ensured that the Like count is stored in the database every time a user hits the like button. The like count needs to be updated and stored in the database.

Things to keep in mind:

  1. If the user clicks the like icon the icon should fill with the theme colour (you can achieve this simply by changing the image)
  2. After the user has liked the post, the like option should remain coloured to indicate that the user has already liked the post.

Please try it out, and if you encounter any difficulties, I'll be here to assist you.

@Mayuresh-22 Mayuresh-22 added enhancement New feature or request SWOC S4 Issues with this labels are officially for Social Winter of Code program HARD Issues with this labels has HARD level difficulty labels Dec 31, 2023
Repository owner deleted a comment from aindree-2005 Jan 24, 2024
@tanbirali
Copy link

I want to work on this, can you please assign me this

@Mayuresh-22
Copy link
Owner Author

hey @aindree-2005, thats great. Should I assign it under SWOC 24?
Make sure you understand the requirements specified above clearly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HARD Issues with this labels has HARD level difficulty SWOC S4 Issues with this labels are officially for Social Winter of Code program
Projects
None yet
Development

No branches or pull requests

3 participants