News for hackers. Stuff that matters.
Re:GitHub for Mobile by bla3 on Wednesday November 13, 2019 @02:29PM (#21528413)
Make the mobile website work well instead. Diff view is unusable, as are many other views. I'd much rather have a working web version than an app for GitHub (and almost all other services). Their UI is all document retrieval and matches the web model really well.
Re:GitHub for Mobile by maelito on Wednesday November 13, 2019 @02:58PM (#21528760)
I find myself often use the mobile version, then switch to the desktop view, zoom in and out, do something, switch back to mobile :-/
Re:GitHub for Mobile by Waterluvian on Wednesday November 13, 2019 @05:07PM (#21530152)
The main time I do this is when I want to search issues.
Re:GitHub for Mobile by philfreo on Wednesday November 13, 2019 @05:21PM (#21530305)
I'll echo this and the related/parent comments -- super common experience for me too. I WANT to use iOS Safari and frequently do -- I just wish their mobile web version was given more love/functionality versus being a stripped down version.
Re:GitHub for Mobile by wiredfool on Wednesday November 13, 2019 @05:11PM (#21530190)
I do this to upload a screen shot to an issue.
Re:GitHub for Mobile by emiliovesprini on Wednesday November 13, 2019 @06:10PM (#21530800)
diff on mobile? you mean adapting a UI based on 80ish monospace characters to a screen that fits in your pocket?

I don't think anything is impossible but it almost seems we would have to code differently for that to be viable.

Out of curiosity I've checked out terminal apps for both Android and IOS (Termux and ISH) and I like them quite a bit but would never use them for anything serious. Try them out and how you feel about using them for real stuff - for me, the enthusiasm dwindled and I felt like waiting until I had access to a desktop.

There's lots of room for improvement but they should focus on the more social aspects of Github like Issues and pull request discussion.

Re:GitHub for Mobile by enobrev on Wednesday November 13, 2019 @06:40PM (#21531055)
Something as simple as simultaneous horizontal scrolling can go a long way with a side-by-side diff and that should be pretty damned simple in a browser.
Re:GitHub for Mobile by emiliovesprini on Wednesday November 13, 2019 @07:53PM (#21531632)
Yes. I remember I read a guy on Twitter say he was part of a Github team focused on easy frontend wins and asking for suggestions. I'll let you know if I find it.
Re:GitHub for Mobile by larme on Thursday November 14, 2019 @02:02AM (#21533394)
I regularly programming on my iphone using the blink shell[0] with an external keyboard. I'm actually more focus when programming on the phone instead of a desktop/laptop. However when any kinds of visualization are involved I immediately go to desktop

[0]: https://github.com/blinksh/blink

Re:GitHub for Mobile by emiliovesprini on Thursday November 14, 2019 @10:02AM (#21535858)
Woah I had no idea people actually do this. I have all the questions. Do you use vim? How big is your iphone?
Re:GitHub for Mobile by TimTheTinker on Wednesday November 13, 2019 @06:24PM (#21530916)
Diffing can be nice for code review - which some may like to do during a minute or two of free time - hence on mobile.
Re:GitHub for Mobile by emiliovesprini on Wednesday November 13, 2019 @07:55PM (#21531644)
What version do Ipads use, desktop or mobile? If even only the smallest tablets used the mobile version I'd walk back my point. Diff review on tablets seem like a totally doable thing
Re:GitHub for Mobile by saagarjha on Thursday November 14, 2019 @03:22AM (#21533749)
It'll default to desktop, but you can pick.
Re:GitHub for Mobile by GordonS on Wednesday November 13, 2019 @06:19PM (#21530880)
I've got to agree - I'd rather grate my face than do a diff/merge on mobile.
Re:GitHub for Mobile by cj on Wednesday November 13, 2019 @06:17PM (#21530858)
Perhaps it's not possible to simply throw in a @media CSS sheet for mobile for an example like diff on a small screen.

I think bia3's point (maybe I'm wrong) is that it would be less buggy if it used the same underlying logic as github.com, but perhaps with a modified frontend (ie. m.github.com like the old days)

Re:GitHub for Mobile by emiliovesprini on Wednesday November 13, 2019 @07:48PM (#21531594)
Oh yeah that's a good point. I wasn't there in the old days but I'm all for desktop-mobile backend congruence.
Re:GitHub for Mobile by grawprog on Wednesday November 13, 2019 @05:03PM (#21530120)
Is there actually a way to clone or download a repository in mobile view? I always have to switch to desktop view. I've searched everywhere for the clone/download button and have never been able to find it on mobile.
Re:GitHub for Mobile by smoser on Wednesday November 13, 2019 @03:03PM (#21528822)
Still need an iOS app for push notifications.
Re:GitHub for Mobile by driverdan on Wednesday November 13, 2019 @06:47PM (#21531125)
Why would you want Github push notifications? Nothing on Github is urgent enough to disrupt your life like that.
Re:GitHub for Mobile by hombre_fatal on Thursday November 14, 2019 @12:33AM (#21533039)
Well, you could say the same thing about most notifications including most emails, yet people presumably like notifications so much they'll get them delivered straight to their wrist watch.

I don't see how Github is much different in this regard. Besides, maybe you want the notifications while on the clock.

Re:GitHub for Mobile by driverdan on Thursday November 14, 2019 @06:19PM (#21540605)
Email notifications should be disabled. Email is also never urgent enough to disrupt your life.
Re:GitHub for Mobile by nbar1 on Wednesday November 13, 2019 @08:11PM (#21531767)
I would quite like to know when a PR is in movement that I'm involved in.
Re:GitHub for Mobile by driverdan on Thursday November 14, 2019 @06:20PM (#21540613)
Why is that so important that it needs to disrupt you? Constant notifications are terrible for productivity.
Re:GitHub for Mobile by mdtusz on Wednesday November 13, 2019 @09:07PM (#21532111)
Email notifications.
Re:GitHub for Mobile by hombre_fatal on Thursday November 14, 2019 @12:35AM (#21533047)
I'd rather get an app notification than an email notification for pretty much everything I can think of. I'd be surprised if I wasn't in the vast majority on this.
Re:GitHub for Mobile by tenryuu on Thursday November 14, 2019 @07:08AM (#21534752)
Well, if I can consolidate all my notifications to email, then only one application on my phone needs to have a constant/reoccurring connection to a server for push notifications. Instead of fifteen of the things all acting independently.

Benefit of using an app notification always would come down to platform specific experiences. But replying to github threads over email has been something that I don't have to think twice about

Re:GitHub for Mobile by saagarjha on Wednesday November 13, 2019 @03:12PM (#21528939)
I'd think that emails can serve that purpose quite well, but now that there's a native app I'll see if it's any better.
Re:GitHub for Mobile by neilsimp1 on Wednesday November 13, 2019 @03:28PM (#21529138)
PWAs can do push notifications though. And then it's one codebase and not one for Android, one for iOS.
Re:GitHub for Mobile by aecorredor on Wednesday November 13, 2019 @03:29PM (#21529158)
Do PWA push notifications already work on iOS browsers?
Re:GitHub for Mobile by thosakwe on Wednesday November 13, 2019 @03:50PM (#21529388)
Nope, and it wasn't on the list of WebKit goals that was on the front page this week.
Re:GitHub for Mobile by toxik on Wednesday November 13, 2019 @05:27PM (#21530371)
And thank god for that. Such a bad idea imo. I only get those from annoying sites, like a dark pattern. Ugh.
Re:GitHub for Mobile by baroffoos on Wednesday November 13, 2019 @07:43PM (#21531548)
Browsers ask permission first. Also I don't see how having to install an app is any better other than being better for devs to track you.
Re:GitHub for Mobile by ceejayoz on Wednesday November 13, 2019 @10:36PM (#21532547)
I might install one app per hundred sites that annoyingly prompt for notification permissions, though.
Re:GitHub for Mobile by saurik on Thursday November 14, 2019 @10:39AM (#21536221)
And I install one app per hundred sites that annoyingly prompt me to install their app so they can give me push notifications (or, worse, a working website because they didn't bother even trying to build their product as a website anymore because of the lack of push notifications; it is ridiculous). So? The site is going to prompt me either way. This argument makes no sense: of course I would rather get promoted for the one feature I don't want to give them instead of an attempt to upsell me on an entirely different experience after being served crippled content... that is a total no brainer.
Re:GitHub for Mobile by wilg on Wednesday November 13, 2019 @03:34PM (#21529216)
No
Re:GitHub for Mobile by throwGuardian on Thursday November 14, 2019 @02:21AM (#21533478)
To be honest, diff on mobile is a narrow use case. Also, given git's treatment of lines as atomic units of versioning, the data model didn't lend itself to mobile friendly views