4chan-x icon indicating copy to clipboard operation
4chan-x copied to clipboard

[enhancement] Sort comments by replies

Open omperus opened this issue 10 years ago • 13 comments

An option to sort comments by the amount of replies they have would be a nice way of seeing the "hot" comments without browsing the entire thread.

omperus avatar Sep 08 '14 02:09 omperus

Not to be a negative nancy but just based on principle I'm against this "enhancement". It could create a system where people would attempt to be the top comment by getting lots of replies and all the other opinions would be disregarded, which goes against the whole 4chan mindset wherein everyone is equal and "anonymous" and only judged by the content of their comment.

Of course, this depends on how many people use 4chan X and how many of them would use this feature.

ghost avatar Sep 08 '14 17:09 ghost

I doub't it would change a thing, people already do things to get the most reactions, and im not saying it to be a default, just a option like a button or something that i can press to sort them. How else im going to see the best porn gifs? i dont want to browse trough 200 of them!

omperus avatar Sep 08 '14 21:09 omperus

I've been thinking about this and I actually like the idea as long as it doesn't change the page layout to be Reddit style. I can see how having a sort of button at the top of the thread when you enter to go directly to the top comment would be useful especially on boards like /b/ or /gif/.

050

Now the problem is ~~how~~ when do you calculate the "hottest" reply when the thread is updating and the top comments can change at any time.

ghost avatar Sep 09 '14 20:09 ghost

Maybe each time you hit the button to sort?

omperus avatar Sep 09 '14 21:09 omperus

@ccd0 what's the consensus on this feature request? I wrote up a little extension to sort comments in the way originally detailed, but I'm not certain it's done in a reasonable way (it just inserts higher-rated posts before others). Should I submit a PR?

aierou avatar Dec 07 '15 05:12 aierou

On the technical side, we need to fix Unread so that it isn't so easily screwed up by something rearranging the posts without telling it. Look at what had to be done in QuoteThreading; that's what we need to get rid of. It ought to be possible to implement sorting the posts by anything you like as a userscript completely separate from 4chan X.

As for the usefulness of sorting by reply count, I'm dubious about it, but it's often easier to see the usefulness of something when there's a working implementation.

ccd0 avatar Dec 07 '15 06:12 ccd0

in the way originally detailed

Missed that at first. Is that just because you aren't finished with it, or do you really want to browse with all threads sorted by replies? It breaks the flow of discussion, and on most boards the posts with the most replies are just shitty troll posts.

ccd0 avatar Dec 07 '15 17:12 ccd0

At this point it's not much more than a proof of concept -- I'm getting accustomed to the codebase and wanted to implement a simple feature. I agree that it tends to highlight shitty troll posts, but I would still consider those posts to be popular, and therefore rightfully highlighted. I think this feature tends to appeal more to lurkers who want to see the most controversial or exciting posts in a thread.

That being said, I think that it needs to be opt-in. Maybe supported with additional sorting methods and default configuration. This definitely means that Unread needs to be fixed to support randomly ordered posts. I've started looking into that, just haven't had the time to delve further yet.

aierou avatar Dec 07 '15 19:12 aierou

I think it'd be a fine feature if it also brought with it a way to expand each post in a threaded view that displayed all of its replies under it. Kinda like contextual quote threading. On Dec 7, 2015 12:16 PM, "aierou" [email protected] wrote:

At this point it's not much more than a proof of concept -- I'm getting accustomed to the codebase and wanted to implement a simple feature. I agree that it tends to highlight shitty troll posts, but I would still consider those posts to be popular, and thus rightfully highlighted. I think this feature tends to appeal more to lurkers who want to see the most controversial or exciting posts in a thread.

That being said, I think that it needs to be opt-in. Maybe supported with additional sorting methods and default configuration. This definitely means that Unread needs to be fixed to support randomly ordered posts. I've started looking into, just haven't had the time.

— Reply to this email directly or view it on GitHub https://github.com/ccd0/4chan-x/issues/120#issuecomment-162629183.

zixaphir avatar Dec 08 '15 00:12 zixaphir

Requested again in https://boards.4chan.org/g/thread/57731826

ccd0 avatar Nov 28 '16 14:11 ccd0

Any updates on this?

omperus avatar Sep 03 '19 08:09 omperus

With uBlock Origin, you can hide all posts in a thread that don't have any replies.

  1. Right click on the page and choose "Block Element..."
  2. Empty the text box that shows up and add the following filter: ###delform > div > div[class="thread"] > div:not(:has(span[class="container"]:has(*)))
  3. Hit Preview and the thread will be filtered to posts with replies.
  4. You can then right click in the page and hit "Reload Frame" (I'm on Chrome) to remove the prompt and allow you to interact with the page.
  5. Reload the page to bring back all replies.

This will greatly decrease the amount of garbage you need to sift through to find your highly popular posts. There's no point in permanently creating the filter because hovering over replies will no longer work if that reply doesn't also have at least a reply. Example (I'm hovering over the second reply, but it is not showing up): Screenshot (1)

The other problem is you will need to delete the filter to be able to see the posts with no replies again. So don't create the filter, just stick to the preview.

tonijarjour avatar Aug 17 '20 17:08 tonijarjour

This needs to be added. I could understand not adding it then but now that 4chan is in full enshittification mode this needs to happen stat

Drakyry avatar Dec 08 '23 06:12 Drakyry