A new version of the commit details page is now available in public beta!
This new page, which is enabled by default, lets you quickly understand and navigate the changes in a commit with improvements to filtering, commenting, and keyboard navigation.
What’s new 🎉
Here are a few of the noteworthy changes:
- Floating comments: Code comments float over the diff when selected. To select, click on the commenter’s avatar to the right of the line.
- Comment counts: To help you identify files with comments, the number of comments for a file now appears in the file tree.
- Keyboard navigation within diffs: You can now navigate around changed lines in the diff using the
up
anddown
keys on your keyboard. A new context menu also makes it easier to comment, copy, and select. - Quick view switching: Switching between unified and split views no longer reloads the page.
- Filter by file extension: Easily filter changed files by file extension in the diff to see the content most relevant to you.
- Filtered out diffs hidden: When filtering the file tree, diffs are filtered as well, allowing you to reduce distraction and see the files you care about most.
Next steps 📣
To give feedback, ask questions, or report a bug join us in the feedback discussion.
To opt out of the preview, go the Feature Preview dialog on your profile, select New Commit Details Page, and click Disable.
To learn more about viewing commits, see About commits.