GitHub announced the addition of new features to make code review faster and more flexible. These include ways to find what you're looking for more quickly, the ability to view comments with more context, and the ability to pick up where you left off.
"Pull requests with many changes sometimes require review from several people with different areas of expertise," says Fabian Perez on the GitHub blog. "If you’re a Ruby expert, for example, you might want to focus just on the Ruby code and ignore any changes made to HTML and CSS files. You can use the new files list to search by extensions like .rb, .html, etc. You can also filter by filename if you know what you’re looking for."
"Not all teams review code the same way. The most popular style on GitHub is reviewing all changes in a pull request at once, making the pull request the unit of change," Perez adds. "Some teams choose to use a commit-by-commit workflow where each commit is treated as the unit of change and is isolated for review."
You'll be able to access the new commits list in the review bar to find the commit you want to review, and GitHub also added pagination and new keyboard shortcuts. You can use the ? key to view the list when viewing pull request.
For picking up where you left off, there's a new timeline indicator.
You can read up more on all the updates here.
Images via GitHub