ccd0 / 4chan-x

Adds various features to anonymous imageboards.
https://www.4chan-x.net/
Other
982 stars 132 forks source link

[enhancement] Sort comments by replies #120

Open omperus opened 10 years ago

omperus commented 10 years ago

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.

ghost commented 10 years ago

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.

omperus commented 10 years ago

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!

ghost commented 10 years ago

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.

omperus commented 10 years ago

Maybe each time you hit the button to sort?

aierou commented 8 years ago

@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?

ccd0 commented 8 years ago

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 commented 8 years ago

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.

aierou commented 8 years ago

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.

zixaphir commented 8 years ago

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" notifications@github.com 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.

ccd0 commented 7 years ago

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

omperus commented 5 years ago

Any updates on this?

tonijarjour commented 4 years ago

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.

Drakyry commented 9 months ago

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