TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pull Request File Tree Feedback

103 点作者 isbadawi大约 3 年前

18 条评论

eloisius大约 3 年前
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 未加载
ydnaclementine大约 3 年前
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 未加载
politelemon大约 3 年前
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 未加载
OliverGilan大约 3 年前
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 未加载
tomasreimers大约 3 年前
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 未加载
jameslao大约 3 年前
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 未加载
obilgic大约 3 年前
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>
noname120大约 3 年前
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>
dandigangi大约 3 年前
One of the few things worth actually stealing from BitBucket. Lol
评论 #30647532 未加载
marceloabsousa大约 3 年前
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>).
radicality大约 3 年前
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 未加载
svnpenn大约 3 年前
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 未加载
BugsJustFindMe大约 3 年前
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.
croddin大约 3 年前
That seems very useful for large pull requests. GitHub is starting to look more and more like VS Code.
评论 #30647917 未加载
eat_veggies大约 3 年前
I&#x27;ve been using the Octo Tree extension for this, but it&#x27;s so great to have it built-in !
lh15大约 3 年前
This is why I’ve enjoyed using Bitbucket more than GitHub. Nice to see github adding it
duxup大约 3 年前
I like it as a quick glance on generally what is up.<p>I don’t like scrolling until I see “holy cow wat”.
williamscales大约 3 年前
This kills the Octotree.