Top all-time · #11878
Josh Tumath
Personal blog · joshtumath.uk/postswebprogramming
Josh Tumath's personal blog at joshtumath.uk covers web and programming. Since 2024, 6 different Hacker News readers have linked it 6 times, most often “How I refactored the BBC navigation bar; and a follow-up FAQ”. No feed was found, so read it on the site itself.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
Linked for a post about a BBC navigation bar component that broke on external monitors because of a screenX === 0 check, and a follow-up on why that check exists and how the code was refactored.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- How I refactored the BBC navigation bar; and a follow-up FAQ3 people · 3 mentions · first linked 2024-11-19
- A BBC navigation bar component broke depending on the external monitor2 people · 2 mentions · first linked 2024-11-08
What Hacker News says?
Some people are pretty negative about the code presented here (which the author criticised in a second post[0]), which makes me wonder, as someone who thankfully hasn't programmed anything non-trivial in Javascript in years: Is checking for (0,0) actually bad code, or is it simply making the most of a bad API? Bear in mind the following: > Also, thank you to Patrick H. Lauke from TetraLogical (editor of the Pointer…
Comment linking /posts/2024-11-18-how-i-refactored-the-bbc-navigation-bar-and-a-follow-up-faq/
on “A BBC navigation bar component broke depending on the external monitor”Submitted A BBC navigation bar component broke depending on the external monitor as a story · 294 points
HN discussionI've just posted another blog post to provide context and answer some questions people had. Like why are we checking screenX === 0 in the first place? Why do we want different behaviour depending on keyboard or mouse inputs? And I've explain how I've refactored it to prevent more mishaps. I hope it's helpful. https://www.joshtumath.uk/posts/2024-11-18-how-i-refactored-...
Comment linking /posts/2024-11-18-how-i-refactored-the-bbc-navigation-bar-and-a-follow-up-faq/
on “A BBC navigation bar component broke depending on the external monitor”Submitted How a BBC navigation bar broke depending on which external monitor it was on as a story · 4 points
HN discussionSubmitted Try text scaling support in Chrome Canary as a story · 2 points
HN discussionSubmitted How I refactored the BBC navigation bar; and a follow-up FAQ as a story · 2 points
HN discussion