Show HN: Hacker News Web UI – Dark theme, Real-time comments, + more
hackernews.proI made this a year ago, https://hnchan.netlify.app
This is useful thx.
Feature suggestion: add the ability to toggle `white-space: nowrap` on the post titles. I turned it off in devtools & it still looks pretty good. Could maybe use a px or 2 of vertical margin between titles to better delineate, but not necessary. Or, alternatively, add tooltips.
Nice work.
Thanks for suggestion, I added Tooltip to Story titles, I forgot to add that previously. Also note, if you want to scroll the entire section you can shift + wheel scroll to horizontal scroll, or middle mouse button drag to horizontal scroll if you want to see more titles at same time
Much better than what I expected to see. But i'm not sure what the use case here. Who wants to see absolutely all comments posted in real time ? I didn't really see a login button, or filters. At least it's (very) compact
I use the main page to view New Stories, Top, and Hot stories without needing to refresh the page. Latest Comments are nice to have on the side to see what people are discussing. Hide columns if you are not using them. I think the main feature though is the Story view, I like collapsed top-level comments and clicking on comment body to easily expand/collapse (works well on Mobile), and getting notified with link to new comment while in Story view. You can leave the page open and come back later and see new comments. I just added new feature: tab title gets updated with new comment count so you can see how many new comments while in other tabs
Login was going to add if people like the page. From what I understand there is no HN OAuth, so people would need to enter username/password which is a negative. There is a nice search feature but it is hidden, I want to integrate it better with the site. Feedback is appreciated
Agree. I really like the dense/space saving presentation. It reminds me of these stock exchange screens.
dark theme should not be pure black as for some including me its hard to view my eyes get an afterglow ... dark brown is much better ... take inspiration from the dark theme of stackoverflow.com
I checked out the StackOverflow dark theme, the brown background was too bright for my eyes for a dark theme, but for this HN UI the Comments in the Story views do have a light grey background, so you must be referring to the Main page Story titles on black
The site is literally still loading while typing this comment..
Server was restarting, the site loads fast
what language and framework did u use?
Javascript - Vanilla JS