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

/kbin meta

4 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 1 year 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
[–] Grimlo9ic@kbin.social 1 points 1 year ago* (last edited 1 year ago) (1 children)

Currently using on mobile, the larger touch area for collapsing/uncollapsing works great in practice. I also see the modified scaling, and for the most part it's well done!

Although I can still force it to cut off some text if I find a discussion that goes deep enough. Not a huge issue though.

https://i.imgur.com/cvLr6fI.jpg

EDIT: I noticed that as a consequence of making the collapse activate on one click, highlighting portions of the comment (for example if you want to quote it) is now difficult. On desktop, you have to hold the mouse click then press Ctrl + C, otherwise if you let go of the click and collapse the comment, nothing is captured to the clipboard.

On Android though, since a tap and hold action on a word makes the context menu pop up, this doesn't happen, you can select the phrase you want to copy without the comment collapsing.

I'll probably keep using this on mobile, and use the other script for desktop.

[–] artillect@kbin.social 2 points 1 year ago (1 children)

I just released another update, you should be able to highlight text without the comment collapsing for now. I've also added an option to toggle collapsing comments by clicking anywhere on them, you can access it by clicking your username in the top right, then go to "Userscript Settings" and the option should be there

[–] Grimlo9ic@kbin.social 1 points 1 year ago (1 children)

I appreciate the work you're putting in! The latest version no longer gets text cut off on the right side. However now the longer comments no longer get that expand option.

https://i.imgur.com/fWLVAt9.jpg

[–] artillect@kbin.social 1 points 1 year ago

Try updating to 1.3.5, it should be back!