News for hackers. Stuff that matters.
Re:Hacker News has native mobile view by cheald on Wednesday August 21, 2013 @07:22PM (#6253967)
The size of the comment box needs to be reduced. Right now, it's stretching out the comments pages.

Native: https://www.dropbox.com/s/tni84vod5giq9ky/Screenshot_2013-08...

Eliminated the 85% max width and reduced the comments box to 40 cols, and set padding: 0 on <body>:

https://www.dropbox.com/s/047b5zkheguk8lz/2013-08-21%2016.27...

Just remove the hardcoded 85% width and 60 cols and toss this into the CSS:

    form textarea         { width: 500px; }
    body > center > table { width: 85%;   }

    @media(max-device-width: 1024px) {
      form textarea         { width: 80%;  }
      body                  { padding: 0;  }
      body > center > table { width: 100%; }
    }
Re:Hacker News has native mobile view by fourstar on Wednesday August 21, 2013 @08:33PM (#6254298)
Why not `table { width: 100%;}` in the 2nd media query?
Re:Hacker News has native mobile view by cheald on Wednesday August 21, 2013 @08:34PM (#6254303)
There are many tables in the site, and the content is going to provide that sizing anyhow.
Re:Hacker News has native mobile view by lnanek2 on Wednesday August 21, 2013 @07:01PM (#6253888)
Seems pretty terrible. It has big huge white bars on the sides squishing the content to be nearly unreadable. I can't even manage to hit the arrows instead of the links as well.
Re:Hacker News has native mobile view by mrb on Wednesday August 21, 2013 @08:03PM (#6254153)
Agreed. Wasting margin space on an already tiny screen is ridiculous.
Re:Hacker News has native mobile view by dclowd9901 on Wednesday August 21, 2013 @07:55PM (#6254108)
Two words: Table markup?
Re:Hacker News has native mobile view by Lifebot on Wednesday August 21, 2013 @08:13PM (#6254203)
PG should just buy the design from this guy (or hire him): http://hn.premii.com/

Previously discussed: https://news.ycombinator.com/item?id=6178534

Re:Hacker News has native mobile view by bitserf on Wednesday August 21, 2013 @09:19PM (#6254484)
Works even better when you pin that to the home screen as a faux app.
Re:Hacker News has native mobile view by pudquick on Wednesday August 21, 2013 @09:25PM (#6254509)
... unless it's iOS 6 and you try to use the 'open in a new window' links (javascript window.open with a target of _blank) for the articles.

When pinned as a Web Clip, the site opens up fullscreen and addressbar-less and without tabs / as a single window. The attempts to 'open in a new window' just replace the HN mobile view altogether with the article and then strand you there without gestures or controls to move Back.

Re:Hacker News has native mobile view by jevinskie on Wednesday August 21, 2013 @09:28PM (#6254523)
How do you return to the HN UI after clicking a story when there isn't any browser chrome / back button? That is the only downside that I have seen from adding it to the home screen.
Re:Hacker News has native mobile view by bmj on Wednesday August 21, 2013 @10:01PM (#6254648)
I simply hit the home button, then restart the Web Clip.
Re:Hacker News has native mobile view by AndyKelley on Wednesday August 21, 2013 @07:54PM (#6254102)
This is a joke right? I just curled and diffed / and /?native_mobile and the result was empty.
Re:Hacker News has native mobile view by furyofantares on Wednesday August 21, 2013 @07:57PM (#6254125)
The query param in the submission is probably just to get around the duplicate submission rule, I think it uses user agent to determine which page to serve
Re:Hacker News has native mobile view by redthrowaway on Wednesday August 21, 2013 @08:05PM (#6254163)
>I think it uses user agent to determine which page to serve

If it does then it's broken. Typing the full url manually into my address bar resulted in the first time I've ever seen that version of the site, on Android or iOS.

Re:Hacker News has native mobile view by digitalmaster on Wednesday August 21, 2013 @09:54PM (#6254623)
look like a joke to me
Re:Hacker News has native mobile view by timthorn on Wednesday August 21, 2013 @07:12PM (#6253930)
Is there a way of choosing the regular view for a mobile device? Windows Phone rendered the old home page very well, but now each story takes up a lot more space and it's no longer possible to take in a large number of stories without a lot of scrolling.
Re:Hacker News has native mobile view by pudquick on Wednesday August 21, 2013 @07:34PM (#6254027)
Completely agree on this! I went scrolling for a 'Desktop view' link at the top/bottom, or somewhere in my settings that would flip it back, but I'm unable to find it.

I actually relied on the desktop view on my iOS device when any of the other third-party HN mobile views weren't quite getting me what I needed.

Loss of this view (without having to rely on a third-party App Store app that allows overriding the UserAgent) is rather saddening.

Re:Hacker News has native mobile view by theg2 on Wednesday August 21, 2013 @07:51PM (#6254090)
Yea, I'm a big fan of pinch and zoom and the new format on WP8 is worse.
Re:Hacker News has native mobile view by lux on Wednesday August 21, 2013 @08:09PM (#6254186)
I've seen several offers of mobile-optimized CSS for this site over the past while, yet this feels like a half-done job. On my iPhone 5 the margins are all off, the vote icons are still impossibly small, and the header is a mess. It looks like this isn't much more than an added viewport meta tag.

It is still an improvement, but it could be much better. I know the YC crew are busy folks, but you could throw a few bucks to the poster with the best mobile CSS and I'm sure people would be up for the challenge.

Re:Hacker News has native mobile view by kogir on Wednesday August 21, 2013 @08:07PM (#6254170)
All I did is add the following:

  <meta name="viewport" content="width = device-width">
I think it looks worse on my iPhone 5 and HTC One, and will probably back out the change. At least now I've proven it's not that simple.
Re:Hacker News has native mobile view by jack-r-abbit on Wednesday August 21, 2013 @08:15PM (#6254216)
FWIW, I see no difference on my Moto Photon... and it looks pretty much exactly the same (for better or worse) as it does in Chrome on Windows 7.
Re:Hacker News has native mobile view by hemancuso on Wednesday August 21, 2013 @06:58PM (#6253869)
I suspect the number of stories that get flagged is about to decline dramatically.
Re:Hacker News has native mobile view by 8ig8 on Wednesday August 21, 2013 @06:51PM (#6253843)
I just noticed it when checking on my iphone. That's all I know. Couldn't wait to share the news.
Re:Hacker News has native mobile view by joezydeco on Wednesday August 21, 2013 @07:59PM (#6254132)
Not that excited about it. Doesn't look great on iOS6: http://imgur.com/vM3LQJ1
Re:Hacker News has native mobile view by spydum on Wednesday August 21, 2013 @07:53PM (#6254097)
Same here, I thought I accidentally found some new safari zoom (i am constantly confused on all the iOS gestures)
Re:Hacker News has native mobile view by jack-r-abbit on Wednesday August 21, 2013 @07:24PM (#6253978)
Both of those look identical on my phone. And they both look identical on my PC. The only difference I see is that both versions on my phone are missing the [flag] option.
Re:Hacker News has native mobile view by solox3 on Wednesday August 21, 2013 @07:26PM (#6253986)
Flag is available when you are logged in. Like you said, there appears to be no difference whatsoever between the two versions.
Re:Hacker News has native mobile view by jack-r-abbit on Wednesday August 21, 2013 @07:32PM (#6254015)
doh! I should have remembered that. So they are totally the same on PC and phone for me.
Re:Hacker News has native mobile view by barbs on Wednesday August 21, 2013 @07:26PM (#6253985)
It's better than it was, but for viewing HN on my Android phone I use this app: https://play.google.com/store/apps/details?id=com.airlocksof...
Re:Hacker News has native mobile view by okso on Wednesday August 21, 2013 @07:05PM (#6253903)
Does the job well for the home page ! But comments are still as hard to read through.
Re:Hacker News has native mobile view by geerlingguy on Wednesday August 21, 2013 @07:56PM (#6254117)
Same here. The home page works great now, but comment pages are as difficult to read on phone as ever.

iPad looks a little more zoomed in, but not too aggressively so.

Re:Hacker News has native mobile view by meerita on Wednesday August 21, 2013 @08:08PM (#6254178)
I think this is a major misunderstanding.
Re:Hacker News has native mobile view by dave84 on Wednesday August 21, 2013 @07:30PM (#6254007)
I've seen this pop up a few times over the last few weeks. I just thought Safari was bugging out because I'd refresh and it'd be gone again. Hope it sticks around.
Re:Hacker News has native mobile view by oliveratkinson on Wednesday August 21, 2013 @07:23PM (#6253975)
I think its OK but needs some more design work - why not make a competition? surely theres enough people here to waste a few hours putting together a nice design
Re:Hacker News has native mobile view by dshibarshin on Wednesday August 21, 2013 @07:00PM (#6253881)
Why the margins on an iphone 5?
Re:Hacker News has native mobile view by cabacon on Wednesday August 21, 2013 @09:48PM (#6254600)
I just wanted to say "Thanks!" for the mobile view. I have found HN to be difficult to read on my ipod touch, and I'm glad you're working on fixing it up. I have nothing to say about the million-and-one suggestions about how it might be EVEN BETTER than what you've chosen to try for now, but I'm glad it's getting some attention.
Re:Hacker News has native mobile view by zacharydenton on Wednesday August 21, 2013 @08:21PM (#6254245)
Here's another HN mobile web app: http://hn.meteor.com/
Re:Hacker News has native mobile view by quail on Wednesday August 21, 2013 @08:45PM (#6254345)
Wow. Thanks for the link. I love this mobile version.
Re:Hacker News has native mobile view by snowwrestler on Wednesday August 21, 2013 @07:18PM (#6253950)
Works great for me so far.
Re:Hacker News has native mobile view by IanChiles on Wednesday August 21, 2013 @07:19PM (#6253955)
This is pretty cool, but how did you find this?
Re:Hacker News has native mobile view by sirkneeland on Wednesday August 21, 2013 @09:47PM (#6254596)
This may come as a bit of a shock, but it doesn't seem to be working in IE.
Re:Hacker News has native mobile view by hayksaakian on Wednesday August 21, 2013 @08:16PM (#6254219)
Was it just disabled?
Re:Hacker News has native mobile view by shortlived on Wednesday August 21, 2013 @07:58PM (#6254128)
Header needs work, but otherwise I love it.
Re:Hacker News has native mobile view by aneth5 on Wednesday August 21, 2013 @08:12PM (#6254200)
What's "native" about this mobile view?

And oh dear, does this look terrible on an iPhone 4 screen.