6 ms·
GitHub's on your phone
- dsyph3r 13y agoThis is by far one of the best updates GitHub has made recently. Using the current GitHub on a mobile device is difficult and slow. Really pleased to see this done!
- Spiritus 13y agoHmm, they forgot the news feed. Or have I gone blind?
- thinker 13y agoLooks like Github used Angular.js. Would be interesting to hear how they settled on that. I've been using it for a side project and so far have had a positive experience.
- deleted 13y ago[deleted]
- uptown 13y agoPretty sure they use PJAX.
- 1qaz2wsx3edc 13y agoI don't think they are. It's really minimalistic. Just Zepto & a small bit of scripting for the navbar.
- diggan 13y agoZepto I think. Can't tell if it's only the Zepto code but have a look on it here: https://gist.github.com/VictorBjelkholm/6003702 https://gist.github.com/VictorBjelkholm/6003702
- cleverjake 13y agoI don't see any sign of angular - what makes you think that they did?
- gnufied 13y agoYes, definitely not angural.js. It would be still interesting to see their mobile webapp stack.
- bkbleikamp 13y agoIt's currently very simple. The mobile app is just part of our main web app. We use the same models and controllers as our desktop views. We have separate markup, different bundles for mobile JavaScript and CSS, and separate view models[1]. [1] http://warpspire.com/posts/mustache-style-erb/ http://warpspire.com/posts/mustache-style-erb/
- jbrooksuk 13y agoWOOOOOO! This has been driving me insane. Trying to read issues and repositories, and I'm there pinching and panning around getting lost and frustrated. Thank you GitHub <3
- llambda 13y agoI'm not sure what took GitHub so long to _finally_ implement a mobile view for the site, but thank you. I have been waiting for this to happen for years, quite literally. Edit: It's worth noting I've heard plenty of counter arguments to using GitHub from my phone. But I will say, sometimes I want to check out a project and possibly browse source and lo and behold I'm not at my desktop. For this reason alone, a mobile GitHub makes sense. Glad to see it at long last.
- kmfrk 13y agoPerhaps the move to a wide, non-developer audience finally did it?
- cleverjake 13y agocould you elaborate?
- orta 13y agoIt was recently the feature of a blog post: https://github.com/blog/1557-github-flow-in-the-browser https://github.com/blog/1557-github-flow-in-the-browser
- mataug 13y agoEven with the ability to CRUD files from the browser I don't think github would fit non dev audience with well. Most normal people use word processor or a spreadsheet program, those files aren't well suited for git and you can't edit them on github
- jwarren 13y agoI bet they're not far off though. .docx and .xlsx files are (mostly) just zipped XML files: http://en.wikipedia.org/wiki/Office_Open_XML http://en.wikipedia.org/wiki/Office_Open_XML
- deleted 13y ago
- kevin1024 13y agoInteresting 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.
- holman 13y agoFor 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.
- daegloe 13y agoZach, 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?
- holman 13y agoTo 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.
- xnxn 13y agoIt seems a bit extreme on my Nexus 4... http://i.imgur.com/hagaiLR.png http://i.imgur.com/hagaiLR.png
- ville 13y agoSpeaking of the code view, any plans on adding code commenting capability on mobile? This has been a bit difficult to use on a phone because the click target is so small on the desktop version. I can't resist doing code reviews even when I'm away from keyboard :)
- 13y ago
- timothya 13y agoI'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.
- deleted 13y ago[deleted]
- the_mitsuhiko 13y agoSeems not fully deployed yet or not a full feature. The overview page if you're not signed in, as well as all profiles don't seem to have ombile versions. Same with the news feed.
- kickingvegas 13y agoAgreed. While I'm happy to see effort here, it seems half-baked. Among the many things not there: * Create new issues * Add tags to issues * View milestones * View diffs
- clone1018 13y agoThey'll probably want to steer all mobile users to their Github app.
- jmathai 13y agoI don't understand this line of thinking. If I'm a Github user and I'm on the website from a phone and go to create an issue then that's actually what I'm hoping to do.
- ben336 13y agowhich only exists (in a full form) for Android. I think they're just focusing on a fast read only implementation, with the tradeoff being fewer features.
- deleted 13y ago[deleted]
- diggan 13y agoWhoops, the users profile page is redirect to desktop view. Is that on purpose?
- jbarnette 13y agoYup, we're focusing on the pages most likely to be clicked through on mobile first.
- joeblau 13y agoFrom Windows Mobile 8, I see a blue border around images that are linkable [1]. [1] - http://i.imgur.com/bglIKU5.jpg http://i.imgur.com/bglIKU5.jpg
- alanctgardner2 13y agoCan I just say that this is the worst "feature" in the world? It's not just mobile, desktop IE adds a border to images with links by default. As a non-web developer knocking up a site, I didn't think to suppress borders on random elements, and people were asking why the site was ugly in IE 9. Why isn't there a common, default stylesheet across browsers? Please?
- rmrfrmrf 13y agouhh...css reset? also * { border: 0 }
- nathos 13y agoyou want http://necolas.github.io/normalize.css/ http://necolas.github.io/normalize.css/
- joeblau 13y agoI think <blink> was probably worse :). I probably would never even visit GitHub from my mobile device, but I just wanted to point that out.
- qntmfred 13y agoIs there a way to change which branch of the repo you're browsing?
- carlosdp 13y agoAbout time! This is awesome!
- Afforess 13y agoKinda useless without the newsfeed. :/
- late2part 13y agoGithub's in your base, killing your dudes! (OUTAGE!!)
- jordanthoms 13y agoAre there updates coming for the Android apps also, or is the focus on mobile web? The Android app doesn't support the one thing I could reasonably do on my phone - reviewing pull requests.
- catshirt 13y agowow, finally! this comes very welcome. although i suppose i must now bid farewell to another one of my repositories :) http://github.com/catshirt/github-mobile http://github.com/catshirt/github-mobile
- oscardelben 13y agoFun fact: years ago I started building an ipad app for Github, but it was rejected multiple times by Apple because users could use it to create a new account but then Apple wouldn't get any commission. https://github.com/oscardelben/GithubBrowser https://github.com/oscardelben/GithubBrowser
- CoryG89 13y agoWhat do you mean Apple wouldn't get any commission? For creating new GitHub accounts? Am I missing something?
- jakebellacera 13y agoI think what ocscardelben meant was that Apple wouldn't get any commission off of new, paid, GitHub accounts.
- oscardelben 13y agoYES
- k-mcgrady 13y agoApple wants devs to use in-app purchase to sell things in apps . If you don't they don't get their 30% cut of all sales. It's the same reason Amazon can't sell books in the Kindle app, they have to direct users to the website.
- BHSPitMonkey 13y agoIt's the same problem Dropbox had a while back. Apps using the Dropbox SDK (including the main Dropbox app) showed an interface where you could log into your Dropbox account or click a button to let you sign up for one. Since Dropbox has some paid account plans (like GitHub), Apple decided that this functionality violated its rule stating that all spending that takes place inside the app must happen using the In-App Purchase API so that Apple can get its 30%.
- joeblau 13y ago
- graue 13y agoI'm sad to see this didn't come with a responsive design for the main site. You get horizontal scrollbars everywhere if your window is thinner than ~1000 pixels, making it impossible to have code + GitHub side by side on a laptop without some serious annoyance. The repo redesign made it worse, as now all the in-project links (issues, pulls, wiki...) are offscreen. I'd happily work around this by using the mobile view from my desktop browser (as you can do on Wikipedia and many news sites), but GitHub doesn't seem to have made that possible, either. If any GitHubbers are reading, please make the design (at least a little bit) responsive!
- DivisibleByZero 13y agoWhen I saw the headline I was really hoping this meant that made their site responsive. Github is pretty much unbearable using a tiling window manager.
- shanselman 13y agoYa, I just resized expecting to see the mobile site "pop" in but it's a whole 'nother app!
- CaptchaReader 13y agoIf it was responsive, all they would be doing is "hiding or relocating stuff", but the size (in KB) of each page would be the same for mobile and desktop. That would make it unusable on a mobile. They NEEDED to do different pages for each, and make it much lighter for mobile.
- edvinbesic 13y agoCouldn't this be somewhat mitigated by using progressive enhancement versus graceful degradation?
- rjvir 13y ago"Our phones, on the other hand, aren’t great for creating things but they’re perfect for browsing and reading content." Tell that to Instagram, Vine, Twitter, or Smule. Mobile phones are amazing creation tools.
- ben336 13y agoAny examples of mobile being great for mid-longform text/code content? Github isn't an image site, and the type of content created on it is usually (not always) longer than 140 characters.
- vecinu 13y agoAll of the tools you mentioned can be replaced by their desktop counterparts. I would argue against using your mobile device to create relevant content. I know people want an all-in-one toolkit that does everything great but let's go with history on this, it won't work. A jack of all trades is good but a specialized tool will always be better. Instagram < Camera + Filter Vine < Video camera + Editing Twitter < (Medium seems to be getting more popular, maybe 140 characters really isn't the future) I've never heard of Smule. Again, this is simply my opinion but I feel like some folks are too fast to do everything on their 'mobile device' (let's not call it a smartPHONE).
- gambogi 13y agoInstagram, Vine, Twitter, and the like were not written on phones. You're just deliberately misconstruing their point.
- ontouchstart 13y agoI started an experiment of writing my blog purely on an iPhone via github web UI. (https://github.com/ontouchstart/blog https://github.com/ontouchstart/blog). Since the mobile view doesn't have the EDIT option, I have to switch to desktop version to edit my posts. I believe I am a minority in github users. :-)
- gms 13y agoHow do I close an open pull request from this view? I don't see it.
- grobie 13y agoSo you're trying to tell me my phone isn't even the right device to make line comments in pull requests?
- zhenjl 13y agoHm..is it me or there's no way to switch branch using the mobile view..
- tomchristie 13y agoMostly pretty great, but it'd be nice to see a couple of controls that have now disappeared. I can't close or reopen issues anymore, which is something that's super useful to be able to do on the go. Also there's no way to edit files from the mobile view. Again, something I've often found really useful for quick docs fixes, or adding contributors to the credits after merging a pull request.
- swah 13y agoI remember they didn't go with a full client side app for the desktop version, instead opting for something like pjax. What did they do there, media queries?
- 6ren 13y agoHow can I get the mobile version on my desktop?
- AndyKelley 13y agoOctodroid is still the winner, in my opinion.
- Bosence 13y agoIs that Jurassic Park in the background of the first image???
- technoweenie 13y agoYes! Now guess the background of the second image :)
- cholmon 13y ago"Ferris, get off of the float!"