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: Added Like and Dislike features Successfully Issue 87 #102

Merged
merged 4 commits into from
Jun 4, 2024

Conversation

MeetDOD
Copy link
Contributor

@MeetDOD MeetDOD commented Jun 3, 2024

Pull Request Resolves[#87 ]

Title: Added Like and Dislike features.

Description

  1. Users can like and dislike the posts.
  2. Each user can like and dislike a particular post only once (eg: one user cannot like/dislike multiple post multiple times).
  3. User cannot like/dislike while logout, he/she must do login to access like/dislike feature.
  4. Backend: Developed prisma schema, two controller(like/dislike), two routes.
  5. Frontend: Updated IPost state, fetched and displayed.

Related Issues

Fixes #87

Changes Made

New Feature: Added Like and Dislike of a post .

Video

styleShare.mp4

I certify that I have carried out the relevant code of conduct and provided the requisite screenshot for validation by submitting this pull request.

Thank You for this contribution.

Copy link

vercel bot commented Jun 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
style-share ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 4, 2024 6:47am

Copy link

github-actions bot commented Jun 3, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link
Owner

@VaibhavArora314 VaibhavArora314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

everything looks good, just two things

  1. the like and dislike buttons look too different from the current theme. if possible can we use someway that it looks good with background.
    image
  2. move the like and dislike button near the title

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 4, 2024

Ok so, basically i remove the red and green color and only the thumbs will have its colors white and fill white only for both like/dislike .

@MeetDOD
Copy link
Contributor Author

MeetDOD commented Jun 4, 2024

@VaibhavArora314

  1. I done the flex and item-center but it doesn't look good near to the title.
  2. so i put the buttons below the title now it looks good.

Example:

image

If you don't like this, then tell me i will do the necessary changes respectively !

@VaibhavArora314 VaibhavArora314 merged commit 4f94c94 into VaibhavArora314:main Jun 4, 2024
3 checks passed
Copy link

github-actions bot commented Jun 4, 2024

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Like & Dislike Feature for every posts in styleshare
2 participants