-
Notifications
You must be signed in to change notification settings - Fork 27
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
Comment reply: Updated content only appears after page refresh #247
Comments
Might be that we only listen to the comment create but not the comment update events. |
Still a bug |
I looked at the code and the same issue appears when deleting a comment. in fact, in both cases, we do not commit our action and use mutation to change the state of the comment. so the vuex store is still in old state when the submit the change. the value only gets updated when at the reload because the store is populated from the API entirely. |
Hi, I could solve the issue. i still need to address same issue when deleting comment. i will add comments on discord and submit the code for revision soon |
@Gerald1614 that's amazing, you already joined our Discord Server? If not: https://discord.gg/6ub73U3 |
yes, I did. i just do not know in which topics those things are discussed. I just also solved the issue with the delete part. let me know how you want me to proceed. |
@Gerald1614 great 👍 send us a work-in-progress pull request, so we can give you early feedback. Prefix the title with |
Describe the bug
After editing a comment reply the updated content is not instantly shown but only after a page refresh.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After saving the comment the updated version appears.
The text was updated successfully, but these errors were encountered: