Live data from Hacker News

GitHub's on your phone

github.com

11–20 of 86 posts

Re: GitHub's on your phone

#11

Interesting that they decided not to do a responsive design. Instead, it serves up different HTML if you send a phone user-agent. I've been trying to decide if this is a good idea for my own project.

Well I guess it's because that gives them the ability to slim down the page size even more, you can only get so far with CSS media queries.

Re: GitHub's on your phone

#12
I've been hoping this would happen for a long time. Most of the views look really good, but I'm not very excited about the code view. The font on the code is bigger than necessary, in my opinion, and the word-wrap on the code text just makes it really hard to read.

Displaying code on a narrow window is difficult, but I'm not convinced that this is the right solution. I'd prefer to be able to zoom out.

Re: GitHub's on your phone

#13

Interesting that they decided not to do a responsive design. Instead, it serves up different HTML if you send a phone user-agent. I've been trying to decide if this is a good idea for my own project.

I'm not that experience with responsive design, but recently I wondered that myself and, for what I saw, I concluded that is too much effort to make it responsive in that level.

Responsive feels great with huge/big/medium displays. With tiny ones I would go with a specific layout (like github did).

Re: GitHub's on your phone

#14
post #13

Interesting that they decided not to do a responsive design. Instead, it serves up different HTML if you send a phone user-agent. I've been trying to decide if this is a good idea for my own project.

I'm not that experience with responsive design, but recently I wondered that myself and, for what I saw, I concluded that is too much effort to make it responsive in that level. Responsive feels great with huge/big/medium displays. With tiny ones I would go with a specific layout (like github did).

Yeah, it definitely depends on the use case. Some websites just "make sense" on responsive layouts. Others… not so much :)

Re: GitHub's on your phone

#17
post #10

Interesting that they decided not to do a responsive design. Instead, it serves up different HTML if you send a phone user-agent. I've been trying to decide if this is a good idea for my own project.

For us, it made sense. Our desktop site is pretty large. Check the graph in the blog post- the mobile pages are about 1/10th the size of the desktop CSS and JavaScript. By avoiding a responsive design, we can make things load disproportionately faster for our use case. On top of that, it's isolated so we're less likely to break views by adding features later. Pretty fun.

Zach, what was the reasoning behind using such large text for the code view? Will there be a zoom in/out option? Or a text size preference?

Re: GitHub's on your phone

#20
post #17
post #10

Earlier quoted context omitted.

For us, it made sense. Our desktop site is pretty large. Check the graph in the blog post- the mobile pages are about 1/10th the size of the desktop CSS and JavaScript. By avoiding a responsive design, we can make things load disproportionately faster for our use case. On top of that, it's isolated so we're less likely to break views by adding features later. Pretty fun.

Zach, what was the reasoning behind using such large text for the code view? Will there be a zoom in/out option? Or a text size preference?

To make it easy to read code. :) It feels pretty comfortable- squinting isn't fun.

We tend to avoid user preferences. If it ends up being a problem, we'll lower the text size at some point.

Post reply on HN