Similar news and inline comment replies

by
in pipedot on (#61RE)
When submitting a story for a piece of news, which site do you link to? Depending on the popularity of the news, many dozens of organizations may have written an article on the topic. Some articles may lack proper grammar/citations or exist behind a paywall. Some sites may have abusive advertisements or frivolous JavaScript usage. You can exclusively use your favorite source, or link to several of the more popular news sites, or simply rely on the user to search for more information.

To help readers find more information, the site will now include a "Similar" button at the bottom right of the story box. Clicking on the link will show you a list of similar news articles to current topic.

Eagle-eyed viewers may have also noticed a new "Inline Reply" option in their profile settings. After a few weeks of limited roll-out, this option is now enabled by default for logged in users. Of course, you should have JavaScript enabled to use this new feature.

Re: Inline reply (Score: 1)

by bryan@pipedot.org on 2015-04-01 06:18 (#66HK)

The story appears immediately, the comments take about 10 seconds.
10 seconds? Using firebug, my worst case (even on stories with more than a hundred comments) is around 40ms to load the comments. The JavaScript version of comments is just a rather small JSON request and shouldn't take nearly that long.

However, if you are using an older computer with a weak CPU or network connection, I would highly recommend disabling the WYSIWYG editor. I've tried several other editor libraries but have currently settled on the rather bulky CKEditor. With 2 megabytes of JavaScript spread over 200 files, CKEditor is kind of a pig. I may switch to an different editor if the library gets any more bloated or if I find a lighter weight alternative.
Post Comment
Subject
Comment
Captcha
40, 36, twenty four, eleven or 94: which of these is the highest?