TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pull Request File Tree Feedback

103 pointsby isbadawiabout 3 years ago

18 comments

eloisiusabout 3 years ago
I’d settle for them making PRs as useful as they were in 2015, before they messed up some of the most basic functionality: showing the diff, and showing review comments. They hide big diffs behind a “load more” link, and as a result people often fail to code review the most substantial part of a change because they scan right past it, thinking it’s a removed file or binary or something. Then, once you submit a review, they only show 10 comments. In the middle, there’s an easy-to-miss “load more comments” button.<p>These are the two most fundamental features of a PR. How could they decide so few as 10 is the right number of comments?
评论 #30647828 未加载
评论 #30647958 未加载
评论 #30647850 未加载
评论 #30648110 未加载
评论 #30649754 未加载
评论 #30647811 未加载
评论 #30650968 未加载
评论 #30649979 未加载
ydnaclementineabout 3 years ago
Not sure if this is well known, but press period `.` when viewing a PR, repo, or file and github will send you to a in-browser visual code editor. Able to make commits in there too, perfect for [nit] comments
评论 #30647863 未加载
评论 #30647693 未加载
评论 #30647441 未加载
politelemonabout 3 years ago
Bitbucket Server and Gitlab have this feature and it&#x27;s quite useful for very large pull requests as you can easily see the folder structure of the file you&#x27;re reviewing, for that bit extra bit of visual context. Bitbucket&#x27;s search box is slightly better because it also does a code search within the PR, it helps you quickly find specific words (say, a class name) across all the changed files. Gitlab&#x27;s only does a file name filter.<p>Though relatively late, I am glad it&#x27;s coming to Github, more people can benefit from this kind of pull request presentation.
评论 #30647698 未加载
评论 #30647449 未加载
OliverGilanabout 3 years ago
Funny but Azure Repos actually has had this feature for a while. When I first joined Microsoft I was shocked that all our teams used Azure Repos instead of GitHub considering we own GitHub but as I&#x27;ve used Repos more and more I&#x27;ve actually come to like it more than GitHub itself. A lot of the UI is cleaner and more intuitive than GitHub to me now, maybe just from using it a lot.
评论 #30647598 未加载
评论 #30648294 未加载
评论 #30650619 未加载
tomasreimersabout 3 years ago
Hi! I am one of the authors of <a href="https:&#x2F;&#x2F;graphite.dev" rel="nofollow">https:&#x2F;&#x2F;graphite.dev</a>, we are basically a really fancy client to GH that lets you review others PRs without making them change their workflow at all (posts everything to GH etc)<p>We&#x27;ve had a file tree for some time now (along with some of the other feedback I&#x27;m seeing in this thread, large diffs etc).<p>If anyone wants to give it a spin, happy to give you an invite :)
评论 #30649138 未加载
jameslaoabout 3 years ago
If anyone is interested, I&#x27;ve been building a code review tool called Crocodile[0] that lets you review GitHub PRs. It has a similar file browser to the left plus floating comments, threaded discussions, and more.<p>[0] <a href="https:&#x2F;&#x2F;www.crocodile.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.crocodile.dev&#x2F;</a>
评论 #30650423 未加载
obilgicabout 3 years ago
Back in the day I created something similar for CLI, which lets you diff any change in tree format.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;oguzbilgic&#x2F;tiri" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;oguzbilgic&#x2F;tiri</a>
noname120about 3 years ago
I&#x27;m currently using Octotree[1]. It has more features than this proposed GitHub implementation. Namely, files have icons, count of added&#x2F;removed lines is displayed inline, comments are displayed inline (super easy to jump from comment to comment), etc. For now I&#x27;ll keep using Octotree but I&#x27;m curious of the direction this implementation will take.<p>[1] <a href="https:&#x2F;&#x2F;www.octotree.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.octotree.io&#x2F;</a>
dandigangiabout 3 years ago
One of the few things worth actually stealing from BitBucket. Lol
评论 #30647532 未加载
marceloabsousaabout 3 years ago
If you don&#x27;t want just a tree but also a semantic diff that tells you what types and methods where actually changed check out Reviewpad (<a href="http:&#x2F;&#x2F;reviewpad.com" rel="nofollow">http:&#x2F;&#x2F;reviewpad.com</a>).
radicalityabout 3 years ago
After many years at Facebook I’ve recently switched jobs and have to use GitHub now for work. Compared to Phabricator (FB’s code review tool), the GitHub code review (and code merge) processes seems extremely basic and clunky.
评论 #30654007 未加载
评论 #30652831 未加载
svnpennabout 3 years ago
What&#x27;s ironic is that discussion pages, like the one linked here, are broken on mobile. Maybe they should focus on that first.<p>Also, I hate repos that convert issues to discussions. Might as well close the issue, as discussion is usually a graveyard.
评论 #30648050 未加载
BugsJustFindMeabout 3 years ago
Display performance switching between files in Safari is terrible on very large PRs. I don&#x27;t know what it could be doing. Maybe something to do with text reflow? But it&#x27;s almost unusable.
croddinabout 3 years ago
That seems very useful for large pull requests. GitHub is starting to look more and more like VS Code.
评论 #30647917 未加载
eat_veggiesabout 3 years ago
I&#x27;ve been using the Octo Tree extension for this, but it&#x27;s so great to have it built-in !
lh15about 3 years ago
This is why I’ve enjoyed using Bitbucket more than GitHub. Nice to see github adding it
duxupabout 3 years ago
I like it as a quick glance on generally what is up.<p>I don’t like scrolling until I see “holy cow wat”.
williamscalesabout 3 years ago
This kills the Octotree.