HN: Please add Reddit style collapsible comments
311 points| AndyKelley | 10 years ago | reply
It's a huge usability problem.
It's dead simple to program.
Please?
311 points| AndyKelley | 10 years ago | reply
It's a huge usability problem.
It's dead simple to program.
Please?
[+] [-] MaxfordAndSons|10 years ago|reply
[+] [-] Normal_gaussian|10 years ago|reply
Indent guides? Yes please. I often find myself wanting to find and read all the replies to a particular comment (it is often posing a question or defending an opinion I find questionable).
[+] [-] andrewflnr|10 years ago|reply
[+] [-] unknown|10 years ago|reply
[deleted]
[+] [-] ghayes|10 years ago|reply
[+] [-] snowwrestler|10 years ago|reply
[+] [-] kuschku|10 years ago|reply
[+] [-] threeseven37|10 years ago|reply
[+] [-] mratzloff|10 years ago|reply
- Arrows indicated which way I voted instead of disappearing completely.
- I could change my up or down vote on a comment after making it. When viewing on a phone it's easy to fat finger the wrong arrow. If there's a concern about changing votes long after a discussion, gate it by time.
[+] [-] yoha|10 years ago|reply
[+] [-] chollida1|10 years ago|reply
I get that "Left-pad as a service" is interesting to many people here(182 comments at the moment), but I've never really done any web development at all in my life and I am never really going to be interested in any javascript or node.js link.
Similarly I'm guessing most people won't care about my favorite topics quantitative finance or algorithmic trading.
It might cut down on the weekly posts where someone complains that HN is going to shit because a story made the front page and they just can't believe someone would find it interesting.
[+] [-] striking|10 years ago|reply
[+] [-] dsr_|10 years ago|reply
Because that's what that story is actually about.
[+] [-] thoughtpalette|10 years ago|reply
- Improved readability design
- Retina screen support
- User following
- Super fast inline replies
- Quick profiles with social network info when hovering over usernames
- Filtering of stories based on terms and phrases / domain or user
- Endless scrolling
- Collapsible comment threads
- Direct link to Google Cache version
- Social sharing for Twitter, Facebook, Google+, Buffer
https://chrome.google.com/webstore/detail/hackernew/lgoghlnd...
(not affiliated in any way with this, just love it)
[+] [-] shostack|10 years ago|reply
[+] [-] kuschku|10 years ago|reply
[+] [-] 55555|10 years ago|reply
We already hide things if our collective mind thinks it's a bad idea, but I'm not sure it's beneficial to let this occur on an individual basis.
If everyone thinks what I am saying is wrong, then this comment will get whited out and sent to the bottom, but if only you think it's dumb, maybe you should still have to read it.
I kinda like the current way.
[+] [-] bargl|10 years ago|reply
[+] [-] SpaceCadetJones|10 years ago|reply
[+] [-] darawk|10 years ago|reply
I use it all the time. I read as much of the comment tree as i'm interested in, then collapse the root node to move on to the next one. It makes it easier than having to scan down and do visual indentation tracking.
[+] [-] DougWebb|10 years ago|reply
Internally, there's obviously tracking of parent/child relationships, but adding container elements so that the children can be hidden would require getting rid of the table-based layout and replacing it with a nested div-based layout. The markup and styling changes would be fairly simple, but none of us know what the impact is on the backend, or on anything that depends on the markup structure that may or may not be in HN's control. My guess is that these non-technical impacts are the driving force behind keeping the markup as it is, which prevents the kind of features you want.
[+] [-] pas|10 years ago|reply
Find the indent.
For every row that has larger indent (until one with the same indent), set display: none.
For this row, mark it collapsed (even by putting a div around the current content, un-displaying it and putting a "show thread" button/link there).
So indent is width of the "invisible pixel", easy to query, isn't it?
What am I missing?
[+] [-] andrewflnr|10 years ago|reply
[+] [-] Namrog84|10 years ago|reply
[+] [-] verandaguy|10 years ago|reply
[+] [-] tkel|10 years ago|reply
Here it is: https://addons.mozilla.org/en-US/firefox/addon/hn-collapse
Also on github: https://github.com/tomkel/hn-collapse
[+] [-] alecco|10 years ago|reply
[+] [-] simonswords82|10 years ago|reply
Why is it that the discuss option isn't available on posts that are job adverts?
I think it would be useful/interesting to allow casual conversation about job postings.
[+] [-] yoha|10 years ago|reply
If you look in the relevant folder, you may notice it was initially designed for Word Press (WP.user.js), more precisely SlateStarCodex, and seems to work for most such blogs. SSC.user.js is just meant to improve the styling of SlateStarCodex.
[1] http://sinon.org/userscripts/HN.user.js
[+] [-] tedmiston|10 years ago|reply
http://hn.premii.com/
[+] [-] znpy|10 years ago|reply
[+] [-] nexxer|10 years ago|reply
[+] [-] Grue3|10 years ago|reply
[+] [-] justJanne|10 years ago|reply
Take https://www.reddit.com/r/geopolitics/comments/4a46s0/china_h... – the indent markers at the left actually allow to collapse that comment
[+] [-] yoha|10 years ago|reply
[+] [-] bryanlarsen|10 years ago|reply
[+] [-] logn|10 years ago|reply
[+] [-] mpwoz|10 years ago|reply
https://github.com/mpwoz/jumper
It's very lightweight and doesn't clutter up your screen with an icon since that's literally the only use case. I haven't gotten around to publishing it on the web store yet unfortunately so you'll have to install manually.
[+] [-] bkyalpl|10 years ago|reply
1 : https://github.com/premii/hn
[+] [-] bkyalpl|10 years ago|reply
[+] [-] alpb|10 years ago|reply
[+] [-] pdkl95|10 years ago|reply
I wrote this userscript a while ago.
edit:
In light of the left-pad brouhaha, maybe I should mention that my userscript doesn't have any dependencies - not even an embedded jquery.