HackerTrans
TopNewTrendsCommentsPastAskShowJobs

JSdev1

no profile record

Submissions

Show HN: Hacker News Web UI – Dark theme, Real-time comments, + more

hackernews.pro
17 points·by JSdev1·5 лет назад·12 comments

comments

JSdev1
·4 года назад·discuss
'node'.split('').sort().join('') == 'deno'
JSdev1
·4 года назад·discuss
You may want to turn off the MSNBC, step outside and get some fresh air
JSdev1
·4 года назад·discuss
Ok I added styles that I am using for the site, I included Before and After screenshots, see link https://github.com/mdn/yari/issues/5389
JSdev1
·4 года назад·discuss
Why would they do that, what's the point beyond confusion? The whole thing is bad
JSdev1
·4 года назад·discuss
Agree 3 column layout is no good, that 3rd column should go back to being above the 2nd column as before, I added custom CSS to fix that
JSdev1
·4 года назад·discuss
Bad, I'd prefer native scrollbar, but only option for now is I added extra styling to improve
JSdev1
·4 года назад·discuss
I'm still working on it. There is a large amount of things to fix. This is the #1 source of web dev information, and from what I can tell they completely screwed it up with this "design update"
JSdev1
·4 года назад·discuss
What's up with the huge amount of whitespace? This is supposed to be an information dense website, most of the screen is empty white. Not liking this, who designs this stuff? How to revert back, or I just need to add custom styles?

Update: I added custom styles to remove 95% of the extra margins, padding, spacing, line-height, updated h1/h2/h3/h4 header styling, code highlight styling, and it looks 10 times better, I can actually read the information. Unfortunately I still prefer the previous version

Question: Why do these important sites never get actual user feedback before forcing out a major update as a big "surprise" ?
JSdev1
·5 лет назад·discuss
Server was restarting, the site loads fast
JSdev1
·5 лет назад·discuss
It's the same thing as HTTP. Websocket starts off as an HTTP request with cookies, headers etc. Use those just like HTTP to authenticate, and your Websocket server should pass the user data to the websocket object
JSdev1
·5 лет назад·discuss
I just launched this site with websockets: https://hackernews.pro Websockets used for updating Story/Comment data, and User presence
JSdev1
·5 лет назад·discuss
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
JSdev1
·5 лет назад·discuss
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
JSdev1
·5 лет назад·discuss
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
JSdev1
·5 лет назад·discuss
Javascript - Vanilla JS
JSdev1
·5 лет назад·discuss
Coding a new front-end interface for Hacker News
JSdev1
·5 лет назад·discuss
Because the entire strategy of one of the political parties is to divide people by race, class, sex using misinformation to deceive in order to gain political power
JSdev1
·5 лет назад·discuss
Vanilla JS is best I recommend sticking with that and improving your skills. Everyone thinks they need a framework but Vanilla is powerful if you know what you are doing