refined-hacker-news icon indicating copy to clipboard operation
refined-hacker-news copied to clipboard

Keep inline editing of comments on same page

Open stinos opened this issue 6 years ago • 1 comments

When clicking edit for a comment the inline editing form shows (just like for creating a comment), but after clicking the Update button HN navigates to the comment editing page (https://news.ycombinator.com/edit?id=xxx) instead of staying on the original page. Acoording to the HN thread for this that's a backend issue, it's how Hacker News handles the forms after they have been submitted

stinos avatar Jun 13 '19 17:06 stinos

Thanks for opening this issue.

On further thought, I think this is very much possible. The form should submitted using fetch() which will make an HTTP request in the background. After this, the page can be refreshed.

I'll work on this issue for the next extension update. Cheers!

plibither8 avatar Jun 13 '19 17:06 plibither8