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

Real time fetch and show #2287

Open
mmarif4u opened this issue Aug 10, 2017 · 6 comments
Open

Real time fetch and show #2287

mmarif4u opened this issue Aug 10, 2017 · 6 comments
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality

Comments

@mmarif4u
Copy link

Currently i guess there is no ajax technology used for fetch and show things specifically in issues comment system and notifications which can reduce the load of refresh and will be more real time instead. Means, that i no need to refresh to know that some one commented on the issue or i have notifications for action.

There could be other areas which also can have this feature for usability and better productivity.

Any thoughts?

@sapk
Copy link
Member

sapk commented Aug 10, 2017

Some of the pages use Vue to display dynamic content. The improvement of api and the related documentation is the first step and we are going in that direction but we try to keep in mind that some folk disable JS and gitea should still be usable in those cases.

@lafriks
Copy link
Member

lafriks commented Aug 10, 2017

I think it should be done using websockets just like github is doing it with notification and link "Refresh"

@lunny lunny added topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality labels Aug 11, 2017
@mmarif4u
Copy link
Author

Websockets would be great for two way communication for stuffs like updating the notification counter/badge, pulling the latest comments etc.

@bkcsoft
Copy link
Member

bkcsoft commented Aug 24, 2017

Anyone here tried having 10000 websockets open to the same server? :trollface:

EDIT: My point being, use long-polling with ETAGs instead... it's usually much faster

@andrew-boyarshin
Copy link
Contributor

@bkcsoft I love using this golang websocket library. It's super fast, has zero-copy upgrade and was designed specifically to handle heavy loads.

@stale
Copy link

stale bot commented Feb 11, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Feb 11, 2019
@lunny lunny added issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented and removed issue/stale labels Feb 11, 2019
@mmarif4u mmarif4u changed the title Real time fetch and show with Ajax Real time fetch and show Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/confirmed Issue has been reviewed and confirmed to be present or accepted to be implemented topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality
Projects
None yet
Development

No branches or pull requests

6 participants