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

[FIX]: Add Number Of BlogDislike To Data Returned When User Dislikes A Blog #933

Open
2 tasks
chimeziriobioha opened this issue Aug 22, 2024 · 0 comments
Open
2 tasks

Comments

@chimeziriobioha
Copy link
Contributor

Description

Currently, when a user dislikes a blog post, the API response does not include the updated total number of dislikes. To enhance user feedback and engagement, and save computing power and cost, the backend should be modified to return the total number of dislikes for a blog post whenever a new dislike is added. This update will allow the frontend to display the updated dislike count immediately after the action is performed, improving the overall user experience.

Expected Behavior

When a user dislikes a blog post, the API response will include the updated total number of dislikes for that post.

Screenshots

Current response schema
blog dislike return data

Acceptance Criteria:

  • Stick to the changes required to fix the particular bug mentioned in description.
  • Do not change other people's code without appropriate permission.

Testing:

  • Write test for all updates requiring one
  • Ensure all existing tests passes [without tampering], alongside the new ones added
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

No branches or pull requests

1 participant