Skip Navigation
/kbin meta @kbin.social wahming @kbin.social

Collapse comment thread?

Is there any way to collapse comments and their children in the interface? Seems like a fairly basic feature but I can't find it.

12
12 comments
  • SOOOOOO after finally setting up my kbin dev environment I went ahead and wrote some code to add support for EXACTLY this on the official kbin codebase!

    GIF of it in action:
    demo

    I have a PR up for it already here: https://codeberg.org/Kbin/kbin-core/pulls/167

    Now just need @ernest 's approval and once it's merged you'll be able to do this on kbin without any modifications!!!

    edit: clicking on a comment now also hides its content (other than the username), making it even more clear which threads are collapsed! (similar to apollo) – updated the demo gif

    • Nice! Would it be possible to use a little +/- icon somewhere on each comment instead of having it be clicking anywhere on the comment? I could see myself very regularly accidentally collapsing stuff when I don't mean to.

      • I love the huge touch target for mobile friendliness, and I've done some work to make sure accidental collapses don't happen (if you mean to select text it won't collapse, if you click on a link or a button it won't collapse either!)

        is there a common situation where you'd accidentally collapse stuff when you dont mean to?

12 comments