this post was submitted on 18 Jun 2023
25 points (100.0% liked)

/kbin meta

63 readers
1 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 2 years ago
 

Download it from greasyfork

This userscript for kbin enhances the comment section adjusting the layout and adding a line to the left of each comment and its replies that lets you collapse them. The design is inspired by some custom subreddit stylesheets, and new reddit surprisingly enough (you know what they say about broken clocks).

Personally, I think this is the best way to handle collapsing comments here's a screenshot.

A video of it in action

If you don't have a userscript manager extension installed, you can install Tampermonkey, and then open the greasyfork link above.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 years ago* (last edited 2 years ago) (8 children)

Love this, it works great and adds clarity to the comments! I'm using it in conjuction with @SirPsychoMantis's user script, and the two are happily coexisting together. There's some visual bugs due to the two having the same function but appending additional characters in different places, but it's working fine.

EDIT: So on mobile, it kinda breaks. See here.

[–] [email protected] 1 points 2 years ago (6 children)

I just released an update with a bunch of improvements for mobile, now you can collapse comments by tapping anywhere on them! (It shouldn't interfere with any of the buttons aside from the language dropdown, but let me know if it does)

[–] [email protected] 1 points 2 years ago (1 children)

Hey I just got your script and the above mentioned user script, and I noticed you put your settings into the drop down menu, when you could just do it like the other script and put it where the cogwheel is for theme. I think you should maybe change it to there, since I had to go through your code to see if you even had settings.

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

Great idea, but the main issue with that is that it isn't compatible with mobile Safari. I'll figure out some way to make it clearer

Edit: I misunderstood what you said, I could put it there, but I plan on releasing the config page I'm working on as a library that anyone can use in their scripts to easily add a config

load more comments (4 replies)
load more comments (5 replies)