4chan-x
4chan-x copied to clipboard
[enhancement] Sort comments by replies
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.
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.
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!
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/.
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.
Maybe each time you hit the button to sort?
@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?
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.
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.
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.
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.
Requested again in https://boards.4chan.org/g/thread/57731826
Any updates on this?
With uBlock Origin, you can hide all posts in a thread that don't have any replies.
- Right click on the page and choose "Block Element..."
- Empty the text box that shows up and add the following filter:
###delform > div > div[class="thread"] > div:not(:has(span[class="container"]:has(*)))
- Hit Preview and the thread will be filtered to posts with replies.
- 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.
- 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):
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.
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