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

Bake fire and slime comments client-side rather than server side #435

Open
iamflorencejay opened this issue Dec 17, 2022 · 3 comments
Open

Comments

@iamflorencejay
Copy link

When I see comments, fire and slime buttons are waiting to update rather than appearing it earlier and process it server side afterwards.

@kekkyojin
Copy link
Collaborator

On Android, view's rendering is always done client side using data retrieved from the server. There is a thread which is periodically executed which fetches comment's reactions amount.

I am unable to fully understand what are you requesting. Maybe that server tells client to update the amount on realtime -the websocket way- instead of await 5 seconds until those amounts are updated?

@iamflorencejay
Copy link
Author

On Android, view's rendering is always done client side using data retrieved from the server. There is a thread which is periodically executed which fetches comment's reactions amount.

I am unable to fully understand what are you requesting. Maybe that server tells client to update the amount on realtime -the websocket way- instead of await 5 seconds until those amounts are updated?

There is a delay, when you click on comments and click the like or dislike button. You can make a user confused whenever it is clicked or not.

@iamflorencejay
Copy link
Author

IMG_20230109_005926
also, for some reason, it renders the second comments' fire slime data for a little while, and it updates when you close it

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

2 participants