Lurker News
We just deployed a new attempt to make HN work better on mobile. Should we keep it? Feedback, please.

Comments (287) 204 threads

Zombieball#
Agreed, big fan here (iPhone 6, iOS 9.1)
jamesk_au#
Significant improvement. Please don't bail.
Donzo#
I didn't even have to put my device in landscape mode and pinch to read this post title. WTG.
tillinghast1 reply#
Viewport "bug" is a "feature" in iOS—change the textarea's font-size to 16px to override the auto-zoom.
gideon_b1 reply#
This works very well:

@media screen and (-webkit-min-device-pixel-ratio:0) { select:focus, textarea:focus, input:focus { font-size: 16px; } }
It uses a css selector only available on iOS devices and enables a larger font to prevent zoom.
[Original concept] http://stackoverflow.com/a/16255670/209005

colinbartlett#
There are quite a few good code snippets and suggestions for improvements to the CSS here.

I only wish there was some collaborative environment we could use to request changes to the code be pulled in and utilized.

Daneel_#
This is what I see in Chrome on iOS 9.0.2 / iPhone 6s: http://i.imgur.com/idgEFon.png

While I definitely support the larger format, I'd like to see the top bar laid out in a more mobile-friendly manner. Currently it feels like I've done Ctrl + Plus on the page a few too many times, rather than the site being properly optimised. Shrink the font by one notch and I'm reasonably happy. I realise that this is a work in progress though.
Great start though! My vote goes to 'Keep'.

joezydeco4 replies#
But why does horizontal mode (my standard casual reading mode) look so blown out? ==> http://imgur.com/5Z6q6wI

(iOS 9, iPhone 5, Safari)

hluska#
I use the same environment -- iPhone 5c, iOS 9 and Safari and have the exact same experience.

Personally, I'd like the old mobile display back!!
Edit - I noticed that the OP was logged out in the screenshot, so I tried it again. Here is an image of the screen when I am not logged in:
http://imgur.com/xuhywK6
Here is the image of the screen when I am logged in:
http://imgur.com/kHjbFWz
The only difference between the two cases is that I was too lazy to log out, so I just pulled up the page in private mode.
I wish I had an iPhone 6 as I'd like to try this case with the OP's environment.

kylec1 reply#
Looks like they need to use -webkit-text-size-adjust: 100%
chris_wot#
If they can fix this, then I'm all for the new layout!
ploxiln1 reply#
fwiw, as of right now wide view looks fine (full-width) in firefox on android.
Natanael_L#
I'm on Firefox Mobile right now on my tablet, a Samsung Galaxy Tab Pro 8.4. The full site looks perfectly good with the only exception that "click targets" are annoyingly small.

My suggestion is that each user should be able to set his desired text size / DPI resolution per device (tracked via cookies of course), so that I can have properly clickable comment links and upvote buttons and so on on my tablet, and keep everything as before from my laptop.

joezydeco#
I'm changing my opinion to "revert until tested better". This is way too messy.
kercker#
"This is the viewport bug when you try to enter a comment."

This viewport bug appears when I just open the comment page.

Serow225#
Keep - but dang et. al. can you make the comments link target touch area slightly bigger somehow? It's way to easy to launch the article link when you're trying to tap the comments link.
vesinisa1 reply#
It's an improvement, but the up/down-vote buttons are still way too small to hit comfortably.
what_ever#
That's true even on desktop.
ggreer3 replies#
Thank you for making this. My one suggestion would be to make the upvote/downvote arrows larger and farther apart. I'd say around 5% of my votes on mobile are incorrect. Often I'm lazy about zooming in to make sure I hit the correct arrow.

Actually, I'd like that change on larger devices as well. I've often misvoted on my Surface. As large touchscreens become more popular (iPad Pro, the Surface line, etc), I could see this becoming a problem for more users.
Edit: I see white margins on my iPhone 5, but not on my iPhone 6. It looks like you need to tweak the media query in the following css:

    @media only screen
    and (min-device-width : 375px)
    and (max-device-width : 667px) {
    ...
The iPhone 5's device width is 320px. Changing that 375 to something lower should fix the issue.
kylec#
I'm curious why there needs to be a lower bound at all
akamaka3 replies#
Alternately, how about being able to undo a vote, like reddit?
eru2 replies#
I remember we discussed that. I think once-for-all votes were an attempt at social engineering to shape the site.
vixsomnis#
It's a bit reminiscent of the purported ancient Rome thumbs-down (or thumbs-up).
PhasmaFelis6 replies#
I'm really curious what it was trying to social-engineer. I've seen dozens of sites with vote buttons and all of them except HN allow you to change your vote, because why wouldn't you? It's easy to engineer and obviously superior.

Continue this thread — 6 replies

ggreer#
I'm not against that, but I bet it would require a lot more work than a styling change.
dredmorbius#
I've heard via email that this is in the cards.
lewisl9029#
Agreed on the need for larger vote buttons.

What about placing the vote buttons on the left side of the ranking number?
There would be less of a chance to misclick and end up clicking the article link instead. You would also have the opportunity to make more room for the vote buttons since you can then afford to place the ranking number closer to the article title, since the ranking number is non-interactive.

sinatra2 replies#
Please please keep it. It's not perfect (comment text still small, buttons & links are small, etc), but it's much better than before.

There are surely hundreds of web designers who'd be more than happy to submit their proposals for fixing the mobile markup for free. It's disappointing to see that the website that I spend the most time on on my phone still didn't have a mobile markup till today. Thank you for doing this. Now, please let's move forward, not backward.

kdamken#
This 1000x. As a frontend dev I'd be happy to volunteer to invest the time to make sure this works on the current range of viewports.
jrvarela56#
HN could get a full redesign (with mobile) by opening up to submissions. I would bet plenty of designers would love to get a shot at getting recognition for revamping this site.
jamesjyu1 reply#
Awesome! Yes, keep it, and please press on. Here's some feedback:

- The tap targets for the menu at the top (new, threads, etc) is too small. You can make it bigger, and put the more little-used items into a "more" button.
- The tap target to get to the comments and flagging are way too small. Flagging isn't common, so that could be more hidden. Comments could be a right arrow button to the right of the title link. Comments are really important in HN, so it should be easy to get to.
- Upvote target is way too small.
- Body text for comments are too small.
In essence, I recommend restarting from scratch with a new template for mobile. Just making some css tweaks is a good first step, but maintaining a separate template that optimizes for mobile will be worth it.

cmelbye#
These are good suggestions, and probably easy things to tweak.

Load more comments