by aleem · 10y ago · 0 comments
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;
} @-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! 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;
} 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.pngUnfortunately it breaks on the 'threads' page.
background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='20'><polygon points='0,20 12,20 6,0' style='fill:rgb(179,179,179);stroke:none;' /></svg>") !important;the url leads you to localhost. you'd need a local webserver which serves your preferred upvote picture.
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.
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.
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.
That one should be fixed now.