Review commit-by-commit, improved filtering, and more in the pull request “Files changed” public preview
Source: GitHub Changelog
Overview
A major feature gap with the classic “Files changed” page (review commit‑by‑commit) is now closed, and commit filtering has been improved in this update to the pull request “Files changed” experience!
- You can now review all commits, a subset of commits, or a single commit directly from the new “Files changed” page.
- Previously, filtering to a single commit redirected you to the classic view in the Commits tab. With this update, you stay on the “Files changed” page whether you are viewing all commits, selected commits, or an individual commit.
We’ve also simplified all “Files changed” URL routes under a new path (/changes). Existing /files (and /commits/:sha) URLs will continue to work, but they redirect to the equivalent /changes route when the new feature is enabled.
The commit filter has been streamlined and now requires fewer clicks to choose a range or a single commit. You can open it from the toolbar or by pressing C if you’ve enabled single‑key shortcuts.
📁 File filter improvements
The file filter now shows a blue dot indicator when filters are applied. A new Clear filters option appears on the filter menu to reset all filters back to their default state.
🚀 Performance
Improving performance is one of our top priorities, and you will continue to see both small and large improvements over the coming weeks. Recent improvements include:
- Improved responsiveness of resizing the file tree
- Faster performance when toggling Minimize comments or Split / Unified settings
🔧 More fixes and improvements
- Improved: Clicking the Refresh button when new changes are pushed to the pull request no longer triggers a full (and often slow) page refresh.
- Fixed: The Comments side panel no longer reports an error when resolving a comment that is already resolved.
- Fixed: Nonstandard characters in the file path (like a comma) no longer cause diffs to fail loading.
- Fixed: The
linguist-generatedattribute in.gitattributesis now appropriately respected. - Fixed: The
Tkeyboard shortcut once again focuses on the file filter field and shows the file tree if necessary. - Fixed: The
Ckeyboard shortcut once again opens the commit filter.
🧪 Try it out
The new commit‑by‑commit review and commit selector are available in the new “Files changed” experience. If you are still using the classic experience, click Try the new experience at the top of the classic “Files changed” page.
❤ Feedback
Your feedback is important. You can report problems, ask questions, and view known issues in the “Files changed” preview feedback discussion.