-
-
Notifications
You must be signed in to change notification settings - Fork 848
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
Bug: Likes and Comments for User Posts not working #1688
Comments
@palisadoes I would like to work on this issue. Please assign this to me. |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Unassigning due to no activity or open PR. |
Sorry for the delay. Due to my college exams, I was not able to spare enough time for the issue. Now as my exams are finished, I will raise the PR as soon as possible. I'm working on the issue and have completed more than half of the work. Please reassign it to me. I've already resolved the issue with
Here's the current state: talawa-admin-likes-comments.webm |
@Doraemon012 Thanks for the update! I have reassigned you. |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Describe the bug
The likes and Comments card which shows comment for specific post in User is not working because
ORGANIZATION_POST_LIST
query is missinglikedBy
andcomments
array which are responsible for above features in UI.In
src/Screen/UserPortal/Home/Home.tsx
when we we look at code for rendering posts we requirelikedBy
andcomments
array to be returned byORGANIZATION_POST_LIST
results which is not being returned as a result above features don't work.To Reproduce
Steps to reproduce the behavior:
Expected behavior
On liking or commenting the posts (in user's Organization Dashboard) the changes made should be persistent and be able to render on screen even after reload
Actual behavior
On liking or commenting the posts (in user's Organization Dashboard) the changes made are wiped out. as on reload the new data is not being fetched due to missing attribute in query.
Screenshots
Missing.likedBy.and.Comments.UI.mp4
The text was updated successfully, but these errors were encountered: