News for hackers. Stuff that matters.
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by oknoorap on Tuesday January 11, 2022 @06:23AM (#29890093)
I made this a year ago, https://hnchan.netlify.app
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by cpayne624 on Tuesday January 11, 2022 @08:54AM (#29891450)
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.

Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by JSdev1 on Tuesday January 11, 2022 @10:47AM (#29892879)
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
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by lecarore on Monday January 10, 2022 @05:57PM (#29884170)
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
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by JSdev1 on Monday January 10, 2022 @06:04PM (#29884269)
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

Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by manuel_w on Monday January 10, 2022 @06:04PM (#29884273)
Agree. I really like the dense/space saving presentation. It reminds me of these stock exchange screens.
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by AtomicOrbital on Tuesday January 11, 2022 @08:59AM (#29891506)
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
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by JSdev1 on Tuesday January 11, 2022 @10:54AM (#29892997)
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
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by dusted on Wednesday January 12, 2022 @04:24AM (#29904131)
The site is literally still loading while typing this comment..
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by JSdev1 on Wednesday January 12, 2022 @01:51PM (#29911214)
Server was restarting, the site loads fast
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by livinglist on Monday January 10, 2022 @05:23PM (#29883661)
what language and framework did u use?
Re:Show HN: Hacker News Web UI – Dark theme, Real-time comme... by JSdev1 on Monday January 10, 2022 @05:30PM (#29883769)
Javascript - Vanilla JS