Lurker News
Today we'd like to introduce five features and one moderator.

1. You can collapse comments in threads. If you're logged in, collapses persist across page refreshes and devices for a week.
2. You can tell which way you voted and undo a vote if you want. An 'unvote' or 'undown' link appears after a post's timestamp when you vote.
3. Save and share the best stories and comments. Click on a post's timestamp to go to its page, then click 'favorite' at the top. Your favorites are linked from your profile, and you can browse other users' from theirs.
4. On the front page and /newest, click 'hide' if you no longer want to see a story. The next story in the list will slide up at the bottom. If you change your mind, visit /hidden and click 'unhide'. If you're logged in, hidden stories persist for a week.
5. Find out which stories were the most popular on HN on a given day by visiting /front?day=yyyy-mm-dd. You'll see all the front page stories for that day, sorted by how much time they spent there. For example, Alan Kay's AMA had the most front page time on June 20: https://news.ycombinator.com/front?day=2016-06-20.
Finally, I'm pleased to introduce sctb, a.k.a. Scott Bell, as a Hacker News moderator. Scott has been moderating HN incognito for a long time, but starting today he and I will be sharing the public part of the job. Since Scott is familiar with all aspects of HN moderation, you shouldn't notice any changes in practice; this is just an internal refactoring to enable such innovations as vacations and a day off. Scott is my cofounder from Skysheet (YC W09), an excellent programmer with a meticulous eye for detail, and a thoroughly decent human being. Please welcome him and be nice!

Comments (451) 179 threads

aleem5 replies#
Some UI issues and recommendations.

1. The up/down arrows after a vote leave behind a clickable void. That means you can still click that void after you have voted. If you changed the visibility on .votelinks instead of the buttons this would get fixed. Though even better UX would be to have togglable up/down buttons ala stackoverflow and others.
2. Why not provide the favourite link directly on the comment instead of forcing an extra click and page load. If it's a UI clutter issue maybe consider adding star and flag UNICODE characters. Again, having togglable icons for the same would be nice.
3. The collapse icon would be better off on the left for improved UI consistency.
EDIT: UNICODE characters don't show in comment. Is this a bug? They show in the textarea while composing the comment.
EDIT2: Add the following User CSS using your preferred browser addon for a bit of cleanup.

    .togg {
      float: left;
      margin-right: 5px;
    }

    .votearrow {
      margin-bottom: 10px;
    }
dmix1 reply#
The "pointer" cursor state remaining after clicking an up/down arrow looks like it was rushed or not quite finished.

I understand HN likes to keep things limited, which has been a real benefit to the overall UX on HN. But minimalism is often something that requires more time to get right, rather than just the result of having spent less time working on it. I feel like that might have been the issue here.

dang#
Alas, one can spend plenty of time working on something, care quite a bit about one's minimalism, and still have bugs.

That one should be fixed now.

hacker422 replies#
It would also be handy to have some visual guides for the indentation levels of nested comments as on Reddit. I've hacked my own indentation marks using a CSS injection for now, but this is clearly still not optimal:

    @-moz-document url-prefix(https://news.ycombinator.com/) {
      td { vertical-align: top }
      td > img { background: repeating-linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0) 38px, rgba(0,0,0,0.3) 38px, rgba(0,0,0,0.3) 40px); margin-top: 4px; height: 12px!important; }
      div.votearrow { padding-bottom: 3px; background: url('http://localhost/uparrow.png') !important; background-size: 12px 20px !important; width: 12px!important;}
    }
I've also increased the size of the voting arrow because it's just uncomfortably small. By Fitt's law [0], smaller buttons require more time and effort to click!

[0] https://en.wikipedia.org/wiki/Fitts%27s_law

arviewer2 replies#
Proper nesting layout will only work if they use proper nesting. Given the limitations - great job! I only use the first two lines as the png does not load.
y4mi#
of course it doesn't.

the url leads you to localhost. you'd need a local webserver which serves your preferred upvote picture.

hacker42#
Try this:

    background: url("data:image/svg+xml,") !important;
basseq1 reply#
Riffing off your code, this extends the bars all the way up/down.

  td.ind > img {
      background: repeating-linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0) 38px, rgba(0,0,0,0.1) 38px, rgba(0,0,0,0.1) 40px);
      margin-top: 0px;
      height: 100%;
  }

  table.comment-tree td,
  table.comment-tree tr,
  table.comment-tree th,
  table.comment-tree,
  table.comment-tree tbody,
  table.comment-tree table {
      margin: 0;
      padding: 0;
      border-spacing: 0;
  }

  table.comment-tree td.default {
      padding: 0.5em 0.5em 1em 0.5em;
  }

  table.comment-tree td.ind {
      padding: 0 0.5em;
  }
hacker42#
Slight addition using wider, shadowy gradients to conceal some aliasing issues:

    td.ind > img { opacity: 0 }
    td.ind {
        background:
            linear-gradient(to left, rgba(246,246,240,1) 0px, rgba(246,246,240,1) 14px, rgba(246,246,240,0) 14px),
            repeating-linear-gradient(to right, rgba(0,0,0,0) 0px, rgba(0,0,0,0.03) 39px, rgba(0,0,0,0) 40px);
     }
Screenshot: https://i.imgur.com/f2WfHyp.png

Unfortunately it breaks on the 'threads' page.

dang2 replies#
#1 should be fixed now. Thanks!

Re #2: yes, clutter (icons don't solve the clutter problem, and HN's design is emphatically textual), plus there should be a bit of a speed bump before favoriting much as there is before flagging.

krapp#
> clutter (icons don't solve the clutter problem, and HN's design is emphatically textual)

Even if you don't want to add more icons, you could still improve the visual elements you have (the vote arrows.) Links with title tags around Unicode glyphs would arguably be more textual than empty divs with gif arrow backgrounds and no accessible text fallbacks.
I still think they should work something like this: https://jsfiddle.net/84q0zecv/10/ even without the colors I think it communicates the states well, and is visually not that different from what the site already has.

Houshalter1 reply#
What about discoverabiliy? I doubt most users are aware flagging or favoriting comments is possible.
dang#
That's definitely a problem, which we're thinking about.
fazzone#
Re: #3, I think when Reddit first implemented comment tree collapsing they also put the button on the right, but I saw a thread where someone pointed out that since the length of usernames is variable, putting the button on the left makes it impossible to mass collapse/uncollapse several comments by only moving the mouse vertically. After that they moved the collapse icon to the left, which I think is a much better UX.
sctb#
Regarding Unicode, we do strip the most distracting codepoint ranges: emoticons, dingbats, misc symbols, etc.
trjordan9 replies#
Suggestion: Can you move the collapse button to the left of the username? One way I tend to use nested comment threads is reading all top comments, collapsing as I go.

Great stuff, overall -- thanks!

spicyj6 replies#
That would certainly increase the number of accidental votes.
logicallee1 reply#
...which is now not a problem.
IanCal1 reply#
It's not as much of a problem, but if people are regularly trying and failing to perform the action they want it's a UI wart.

Continue this thread — 1 reply

ihuman1 reply#
Reddit does it that way, and I haven't seen any of the developers complain about accidental votes.
TeMPOraL#
Because accidental votes are not a problem when you can undo a vote, which is now possible as well.
LeifCarrotson2 replies#
As it stands, I have already accidentally clicked "ago" and gone to a comment permalink when I wanted to collapse a thread. Not much better.
kbenson#
Since collapse persists on page loads, hopefully it is better now. Then again, we can un-vote now, so I think we're back to having the behavioral advantages and disadvantages being close enough that it's a toss-up what any particular user thinks is more of a problem.
bduerst#
Why not double-click the comment body to collapse/expand? or maybe some other behavior that isn't creating a click minefield.
davidsawyer#
I feel like it would be worth the trade-off.
losvedir#
But at least now we can undo upvotes/downvotes so it's not as much of an issue as before!
bdcravens#
I've used HN Enhancement Suite for a while, and that really wasn't a problem.
cloudaphant#
This would be appreciated here too. The functionality is great but it feels unnatural where it's currently positioned.
jacobolus#
More generally, can you try to adjust it so that the [-] button doesn’t move around after being clicked?

The spacing above the username at the top of the comment shouldn’t change when a thread is collapsed.

WayneBro#
I would say: left of the vote button too.
gbersac#
+1
doublerebel#
I agree -- the Hacker News Collapse Chrome extension works this way, and I have become accustomed to it.
insin#
Making it a slightly bigger target with a dash would also be useful: [–] instead of [-]
tripzilch#
yes. it doesn't make sense from any design perspective. alignment is an important visual signifier and usability design tool.

there is no reason why vote arrows would be aligned across posts (it suggests a connection where there is none), while there are several for the collapse buttons.
this is textbook user interface design!

duncanawoods1 reply#
Great features, thanks!

The one feature I can't believe I lived without that the HN Enhancement Suite chrome extension provides, is highlighting unread comments since your last visit. It actually makes it worthwhile revisiting e.g. a 200 comment thread when there are now 300 comments without just reading all the same comments again and being unable to spot the new ones.
If it became supported cross device by HN itself I would be very grateful.

dang4 replies#
Yes. Another user has argued for this effectively and persuaded us to do some version of it.
gedrap#
Yay. I often find threads where I have an educated guess that there will valuable comments but the thread is very new, not many comments yet, ends up as yet another HN tab that I left open and then go through them all once or twice a week... Although maybe that's not a bad thing - that saves tons of time ;)
kuschku2 replies#
The simple hack I use in my own extension to provide that feature on reddit without Gold just simply logs the timestamp of every visit of the thread in a cookie, and then allows to select "new comments since visit X", and then just computes the comment time back into a timestamp, compares, highlights.

If HN would provide the actual timestamp in ISO format, as reddit does it, we could've had that a lot simpler a lot earlier.

Continue this thread — 2 replies

Continue this thread — 2 more replies

splawn74 replies#
I bet whoever has the top comment on this one is going to see their karma go up and down as everyone tests out the unvote and undown feature. :)

Continue this thread — 74 replies

Load more comments