You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think it's already purposed but I think that it would be nice to have an automatic refresh for discussion page so we not need refresh it manually.
I did some search and it look it's possible to do it without javascript.
I tried it on a test instance and it work but if I add it in bootstrap.php it refresh on all pages.
I would try to reduce it to only refresh the discussion page.
If someone have a tips how recognize discussion page from normal page I will try to make a PR.
Cheers.
The text was updated successfully, but these errors were encountered:
As a quick hack, you may just add the JS based refresh with a timeout in the decryptComments method of the PasteDecrypter object, which only gets called when displaying a paste with comments. This still has the downside that on password protected pastes you have to type in the password over and over again.
For a PR I would prefer a proper solution. If we had the comment pagination feature as outlined in #5 we could use that to easily poll the server for new comments be requesting the last page only and updating the comment list on-page (=without refresh), if needed. Hence I label this request for the same milestone as #5.
rugk
changed the title
Refresh discussion page each 10 seconds
Refresh discussion page every 10 seconds
May 11, 2017
Hello,
I don't think it's already purposed but I think that it would be nice to have an automatic refresh for discussion page so we not need refresh it manually.
I did some search and it look it's possible to do it without javascript.
I tried it on a test instance and it work but if I add it in bootstrap.php it refresh on all pages.
I would try to reduce it to only refresh the discussion page.
If someone have a tips how recognize discussion page from normal page I will try to make a PR.
Cheers.
The text was updated successfully, but these errors were encountered: