-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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: Chat Messages Do Not Update in Real-Time (GraphQL Subscriptions Not Utilised) #3230
Comments
@palisadoes If you think we should be implementing this, I would like to work on this and PalisadoesFoundation/talawa-admin#3691 in pair for convenient devops. |
Same applies here too use Graphql subscriptions |
@varshith257 Graphql subscriptions provide web sockets under the hood, yes we won't add it separately, I wanted issue to be more descriptive but it became unclear, I have modified it. Thankyou for helping. |
I'll assign this to you. This will make you exceed your 2 issue limit as an exception |
Thank you so much sir, I’ll ensure that you find the results truly exciting. |
My exams are about to end, will finalize shortly, please don't consider as inactive. |
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. |
Apologies for delay due to exams,Completing by 12EOD. |
Current Problem
At present, our chat system requires a full-page reload to fetch new messages. This negatively impacts user experience by:
Proposed Solution
We are already using GraphQL Subscriptions, which leverage WebSockets under the hood for real-time updates. However, our frontend is currently not fully utilising GraphQL Subscriptions to fetch new messages dynamically. Instead, the page requires a full reload to reflect new messages.
To improve real-time messaging, we should ensure the frontend subscribes to GraphQL Subscriptions for instant message updates. This eliminates the need for polling or manual reloads.
Approach
Frontend: PalisadoesFoundation/talawa-admin#3691
Benefits of This Improvement:
Next Steps:
The text was updated successfully, but these errors were encountered: