134 comments

[ 3.2 ms ] story [ 188 ms ] thread
(comment deleted)
Guess that is highly subjective. I do like the current, compact layout better. Also there is more text per line and in your layout (on mobile) the eye does have to jump more which I find a bit more strenous.
Hey, thanks for showing this! I like how it looks on my phone, it's just the right amount of information for a small screen. I think you could keep some of the orange/beige styling, at least in the title bar.

It's however a disaster on my PC. My favourite thing about HN is how I can read top 25 titles by just opening the website, similar to how old Reddit works. That being said, it's not a problem with your website, the better part of modern design language is enshittified by design and lobotomizes the information density to kindergarten levels.

It is definitely more visually appealing, but not user-friendly at the desktop level.

Thanks for your information, I think I will focus on working for mobile version.
> The goal is to enhance the user experience and interface

What are the top user pain points your solution is attempting to address (i.e. what are your product requirements)?

This is a great question. "Be modern" is not a measurable goal and cannot guide development.

Better layout on mobile, more accessible actions, keyboard shortcuts, all those things say "modern" to me, and would be very welcome. Making the background white and adding 100px of empty space between each paragraph, less so.

Jts wanna make it easy to read on mobile version.
The repo gets more into detail under "Milestones"
Not really. Those are just additional features. Sure, of course, some of the user requirements are self-evident from the feature (e.g. the "support dark mode" one), but "what are the pain points you are trying to solve?" should be the starting point, not something you back into after you have your feature list. For example, the top item there is "support PWA". Why? Is this something people actually care about or would use? I'm not even asking this question rhetorically, but I honestly don't know the answer.
On the current site I get 13 stories on my phone. On yours 4. The icons on the left seem wasteful. If you want them, put them with the title. The up vote is easier to use.
Hey, seems very nice!

Is there a noscript/basic (x)html mode for us?

It looks pretty but I find the density of the classic layout more useful for skimming for relevant articles (less scrolling).
I think it would be easier to read if the line spacing of the titles were much smaller, and similar design tweaks to help the eye group and prioritize information. It's a little mentally painful to read compared to the old styling.
Reminds me of the false “front page of the internet”. Thanks, I hate it
It would be better if you provided constructive feedback over emotional or meme-ish commentary. it would help the author improve and the rest of us understand.
This is probably an unpopular opinion, but I find the full ISO date a bit distracting.

IMO the date is alright when you're seeing multiple ungrouped items from different days, or for closely inspecting when something was posted. But when a list has items that are mostly from the same day, I personally find the full date redundant and distracting. I mostly focus on the hours and am always bit afraid that I might "miss" that one item is from a totally different day, since my eye is in the hours/minutes.

I would prefer just the hour to be there, but what I find even better is the "X minutes ago" format (when everything is mostly from the same day), as even the full hour makes me do a bit of metal calculation.

Eh... "x minutes ago" should really only be used if within the last few hours. After that I prefer exact timestamps. I really, really don't like seeing "yesterday" because I am not sure if it is the server's yesterday or my yesterday. I don't like going on YouTube and seeing "uploaded 1 year ago" when it can be any time between 1-2 years.
yep its best to have the ago for say hours but once it gets past a month or so its better to have dates
(comment deleted)
"Eh... "x minutes ago" should really only be used if within the last few hours"

Yes, that's what I mean by "everything is from the same day".

This feels very much like a solution in search of a problem.

The web design trend toward less and less information density is a troubling one.

The posted site has the same amount of information as Hacker News' own pages. Information doesn't become less "dense" just because the kerning and whitespace increases.

Information is what is being conveyed by the text, that is a property of the language used, not the text layout itself. Smaller letters packed into a smaller space doesn't mean more information, it just means things are harder to read.

> More, smaller letters packed into a smaller space doesn't mean more information

What smaller space are you talking about? The browser window dimensions don't change. On vanilla HN at the default zoom level, I can see ~22 submissions. Whereas with the posted site, I can only see ~9. How is that not less information density?

Again, and for the last time because I know it's going to be pointless, because people here have some weird hostility towards proper typography and design - information is a property of language and information density is a separate property from the density of the text itself.

That you see fewer items per line and fewer lines in your monitor does not mean there is less information on the page. It's same information, it's just spread out more. If you switched to a larger monitor, the information density would not magically increase. If you switched to a smaller monitor, it would not decrease. The information density remains the same regardless of the layout, because it's coming from HN's API and the same data sources that populate HN's own page.

> It's same information, it's just spread out more.

Maybe I'm being dense, but isn't density mass per volume, or more specifically here: headline per screen area? So spreading out information would make it less dense.

> weird hostility towards proper typography and design...It's same information, it's just spread out more.

This sounds like some kind of delusion web designers tell themselves to justify pushing out UI changes that users don't want.

"It's the same information but just more spread out" is quite literally the definition of reduced information density.

You're trying to make pointless semantic distinctions, so I'll put it bluntly: I think a screen where I can see a lot less info all on the screen at once, and where I need to scroll and scroll to see more info, is less efficient and useful to me than one where I can see more on-screen at once.

You can make all the arguments you want about what "semantic density" really means, but I don't care. The other site is objectively worse for me, and many others, so we don't need to be lectured to about what "proper design" is. If you like it better, congrats, knock yourself out.

The "weird hostility" probably has more to do with your opinions being presented as "proper typography and design" followed by frankly incoherent arguments wherein you try to tell people their preferences are incorrectly stated.
I studied design. I know what an en-dash is, and an em-dash, and I know when to use them. I know about reading gravity, and page furniture and leading and kerning and ligatures and all that stuff. I love that stuff.

But in the end "Proper typography" is just a set of general guidelines. They are not unbreakable rules; nor are they applicable to every audience in every situation. In fact, one design rule that I remember is to "understand your audience".

I think the audience for Hacker News generally prizes economy, efficiency, time and information density; wants to see more LOC on screen not less, and probably a reasonable percentage spend their day looking at screens like this:

https://miro.medium.com/v2/resize:fit:1400/0*cZ0wb7K2E6qtZtt...

(This is an exaggeration, but exaggerations are useful for understanding sometimes).

It's less a wierd hostility to proper typography, and more an understandable hostility to affecting what is comfortable and efficient; lastly don't underestimate the power of an idiosyncratic design: it has character, it is recognisable, and it stands out.

On that 'modern page' I see 6 items without scrolling, on the traditional page 22 items.

TBH that new page looks like part of the CSS is missing because of all that wasted screen space ;)

Doubt the HN audience has any wish to scroll through 300 screens of one phrase per screen, even if their solo founder SaaS sites are done like that :)
I define density as information per unit of screen space. (Not information per word, which is a different measure. Useful, but different.)

I'm on Firefox on Ubuntu right now, 1920x1080. Classic HN shows me 19 headlines in one screen, along with point counts. So let's say, 38 pieces of information per screen. The submitter's app shows me 5 headlines and point counts, so 10 pieces of information. Classic gives me nearly four times the info per screen.

Don't get me wrong, the uncluttered view is pleasant to look at, but HN is the kind of site where density pays off.

On that basis, the classic view is

Go over to Reddit, sounds like you'll love their new design...

Often excessive whitespace and 'spreading out' the content is a dark pattern, used to make you scroll more (or load more pages) and view more ads along the way.

(comment deleted)
This actually reminded me of one of the design changes Slashdot made about two decades ago that made me stop using it. It was clear that designers came in and in an attempt to "prettify" the site (added tons of unnecessary whitespace, perhaps a better font and color scheme) clearly had no idea how users, especially frequent users, used the site. It became impossible for me to find highly rated comments so I just stopped using Slashdot.

So many of these design trends you see are due to the "tyranny of the marginal user" (there was a fantastic post on HN about this a while ago). That is, once you get your core users, design changes get made to try to appeal to people who apparently "only have one working thumb" and all they're capable of doing is scrolling.

I get that HN might not be the most "user-friendly" site for brand new users, but so what? It takes a couple mins to read the site guidelines and figure out what's going on. There is no need to make the site less appealing to frequent users in an attempt to lower the already pretty low bar for new users.

My personal conceptualization (for which I have no real evidence) of the general design goals of large social media platforms is that they seek to emulate the experience of cable television. One local minima of this design is the experience of channel-surfing but with ML driving the "next" button (see: TikTok). I suspect that presenting the user with only one or two posts at a time is useful not only for determining which post to attribute the next user action to but also for triggering addiction through intermittent reinforcement.

To pursue this design pattern further I would suggest that OP continue to reduce the post density by incorporating meta tag images and videos. Additionally, adding "friendly" animations for upvotes would be useful. Slot machines are a great example of the type of slow-ish, satisfying animations designers at Facebook appear to be emulating.

However, I think the main issue is that most users of HN don’t come here to "veg out and channel surf". There’s a reason the McMaster Carr catalog and the Sears catalog ended up looking extremely different.

I would suspect that the average HN user is here to feel connected to the technology startup community and understand the latest technical trends and opinions. I further assume that they are someone who values their time and enjoys learning new things. Using these assumptions I would suggest robust keyboard navigation and "url threading" (a quick way to see other posts which contain the same url) as UI improvements which may be more appreciated. Github’s interface may be a good place to draw inspiration.

It's what happens when we seek the most common denominator to design. I doubt large companies that do comparison testing do this without the numbers to back it up.
I like high information density, but HN does have troubling click target density. On a phone I often misclick links if I don't zoom in first to make the target bigger than my finger. A design change that made UI links (not UGC links) more like buttons, without adding padding elsewhere for that trendy sparse look, would be quite nice. I think it could even be applied when a feature detection script sees a touch screen, so as not to inconvenience mouse users.
(comment deleted)
My vote is to keep Hacker News working when JavaScript is disabled. This proposed design would break that. Also, the classic Hacker News interface is more information dense, which is good.
Looks pretty; the first thing I noticed is that on your site I only see the top 5 links, on HN I see the top 20 links. HN displays 4x more information in the same space.
Cool to try things out and share them. Would be good to hear what problems you are trying to address. "Modern" isn't very descriptive.
Yup, I jts realize it... Cannot change the subject again
The only improvement I desire to the HN UI, is a redesign of the link widgets on comments. On Mobile, they are too small and tightly packed. They should span the width of the comment, so my fat fingers have larger hit boxes.
One thing I noticed right away is that links open in a new tab, vs classic HN they open in the same tab. I use HN almost always on mobile, and this behavior means that it's much more difficult to go "back" after clicking on a link. I have to close a tab, which is cumbersome on most mobile browsers.
On a 4k screen at 150% DPI scaling on Windows, in FireFox, I can see 30 items without scrolling on the current layout for https://news.ycombinator.com/

On this proposed format, I can see ten.

I believe the existing page is definitely more dense than it needs to be, but I don't think migrating to so much whitespace that it's 30% of the information that it was is a good ratio. I think I'd be happy with anything over 20 readable headlines (without scrolling) on a new format.

honestly, there is so much that I didnt like after getting a 4k screen that i went back to 2k.
(comment deleted)
I like the look. But make it obvious comments and titles are actionable.

Edit: the readme lacks any information about how it can be installed

On a 14" MBP the new version has 6 posts visible on initial load while the old version has 22 posts, a -73% reduction in information density. Not ideal.

It looks like the vote buttons were moved to the right to so that there would not be both vote buttons and post type icons on the left side of the post title. I would argue that vote buttons are more important and should get priority. Maybe remove the post type icons and instead add tags to post title? Then you can put the vote buttons back on the left side where they belong. If you do decide to keep the post type icons, there is way too much white space inside of the circles.

I don't understand why there is a "#" in front of the usernames. Hashtags are typically used to indicate topics rather than people. Unless this is sort of callback to IRC days where operators in front of names indicate server hierarchy.

If you are going to do all-white background I would like option to switch to dark mode.

I do like the timestamps though.

I get 9 posts on my 14" MacBook--still not great. I don't know what it is with (IMO excessive) whitespace on modern UIs.

Usability for me is about speed and convenience--see my rendering[0] on the opposite end of the scale--all stories for the day loaded on one long page. Click the date heading for yesterday's. It was made for reading while commuting (with intermittent internet) years ago and I just kept using it on desktop.

[0] https://hackerer.news

>> whitespace on modern UIs ... Usability

Here here! But you're understating it.

Less information dense, and smaller fonts is an appalling use of type, and layout. These first principals about type, font, page layout, they are about readability, and scalability...

We have 600 years of printing, of typography to lean on. Thats 600 years of refinement on line length, spacing and size. The human eye didn't evolve in the last two decades all these lessons still apply!

All that would make sense if I were reading the page but here I'm scanning the titles to find the few stories of interest in a forest. Optimizing for scanning shouldn't require so much scrolling and Load more.
I don't think it's possible to make everyone happy here. I find it a lot faster and easier to scan the titles when there's more whitespace between them. If they're too close together, I'll end up constantly losing my place and rereading the same ones multiple times, or accidentally read two lines at the same time. I can't be the only person with this problem.
I have a hunch that the reason for the excessive space is that it is much easier to make it look good.

I'm really good with frontend, but I only have quite limited design training. I can whip out a good non-dense layout pretty quickly.

On the other hand, pretty much every (good) information-dense layouts I ever worked with had to be properly designed by a professional.

Maybe the reason for that is just fashion, I'm constantly informed by what I see and it's easier to replicate, whereas something that "breaks the rules" needs a better professional.

> The goal is to enhance the user experience and interface, making it more user-friendly and visually appealing

I don't want to sound discouraging, but the thing you need to realize is most of us are here because we like its user interface, not despite it. If you're looking to enhance the site you should improve on its strengths, not change it to something it isn't.

Hacker News loads instantly all the time and I think I speak for most here that we don't want all these extra JS or Next React wizardry.

(comment deleted)
I'll have to admit, that "modern" website loads a bit faster for me (1.23s vs 1.83s), but that's probably because its visitors count is way lower than on original HN. And, funny thing, the single resource that increases load time over a second is hot-linked y18.svg from HN.

Transfer sizes are so much different: 276.73 kB vs 14.23 kB transferred with compression. And original HN still could improve transfer size by removing IE8 support for triangle icon rotation from CSS.

To conclude: UI and UX experiments are a good thing, keep them coming, as web technologies are not standing still.

Thanks for you sharing benchmark result.
You've removed a lot, but not added anything. Except hash signs in front of usernames. I don't get it.

Why remove the hover on links? Does having 3 separate links on each item with no visual clarity "enhance the user experience"?

As a solely mobile user of HN, my fat fingers much prefer your layout to the current one, which requires a lot of precision or zooming in to find relevant links.
If on android, install Harmony
Or if on the iOS side of the fence, I’ve found the Octal app is fantastic
I just two-finger zoom in and out for those tiny voting arrows. I’d rather have the main use case be packing more data in so I don’t have to scroll around as much.
...and it's a PITA. Even old.reddit got tap target sizing for arrows "right."
If on iOS Safari, you can easily (and permanently) increase font size for HN to the desired level. (Font size adjustments are remembered per website.)