I want to see the updated total number of dislikes immediately after I dislike a blog post, so that I can instantly see the impact of my interaction and understand how others are reacting to the content.
Description:
Enhance the current blog dislike feature to return the updated total number of dislikes whenever a new BlogDislike is added. This will enable the frontend to display the current dislike count in real-time after a user interacts with the blog post, providing immediate feedback and improving user engagement.
Requirements:
Modify the existing BlogDislike endpoint to include the updated total number of dislikes in the response after a new dislike is added.
Ensure that the query retrieving the total dislikes is optimized, especially for blog posts with a high volume of interactions.
The dislike count should be consistent and accurate across different users and sessions.
Implement appropriate error handling to ensure that any issues during the dislike addition process do not disrupt the retrieval of the total dislike count.
Acceptance Criteria:
After a user adds a dislike to a blog post, the API response should include the total number of dislikes for that post.
The dislike count should be updated in real-time, allowing the frontend to reflect the latest data immediately.
The system should efficiently retrieve the updated dislike count without negatively affecting response times, even for blogs with high interaction volumes.
The total dislike count should accurately reflect the current number of dislikes at the moment of the latest interaction.
The dislike count should be consistent across different sessions and users.
The system should handle any errors during the dislike addition process gracefully and return appropriate error messages without disrupting the overall functionality.
Expected Outcome:
When a user adds a new dislike to a blog post, the API will return the total number of dislikes for that post.
The frontend will update the UI to reflect the new dislike count immediately, providing users with real-time feedback on their interaction.
Users will see the impact of their dislike action instantly, which may encourage further engagement with the content.
The system will maintain accurate and consistent dislike counts, improving user trust and satisfaction with the platform.
Performance optimizations will ensure that high interaction volumes do not degrade the user experience.
User Story:
I want to see the updated total number of dislikes immediately after I dislike a blog post,
so that I can instantly see the impact of my interaction and understand how others are reacting to the content.
Description:
Enhance the current blog dislike feature to return the updated total number of dislikes whenever a new BlogDislike is added. This will enable the frontend to display the current dislike count in real-time after a user interacts with the blog post, providing immediate feedback and improving user engagement.
Requirements:
BlogDislike
endpoint to include the updated total number of dislikes in the response after a new dislike is added.Acceptance Criteria:
Expected Outcome:
https://www.loom.com/share/4734ee3303684799bc3534b468013b2a