Check out the latest updates to the new pull request “Files changed” page public preview, including submodule support, improvements to the review submission panel, and lots of fixes.

✨ Improved review submission panel

Based on your feedback, the panel for submitting a review now appears below the Submit review button and allows the page to be scrolled. It still shows pending comments, but the buttons are much closer and require less mouse travel. You can also now submit your review by pressing Command (or Ctrl) + Enter.

If you have pending comments, you can click the Expand this section button in the header of the panel to expand the panel to the full height of the page as shown in this video:

🔗 Submodule support

When a submodule reference is updated in a pull request, the changes being introduced in that update are now listed and can be reviewed individually. This helps you understand the actual changes being introduced in an update to a submodule.

Screenshot of a diff on the pull request Files Changed page for an update to a submodule reference in the pull request

🔧 Fixes

  • Fixed: The option to ignore whitespace-only changes is no longer reset when refreshing the page and is remembered for each pull request.
  • Fixed: Previously, showing changes from all commits would not show the latest changes if the page was filtered on a subset of commits.
  • Fixed: The animation that appears below the changed files no longer loops.
  • Fixed: Various issues with pending comments not appearing or appearing incorrectly on the review submission panel.
  • Fixed: Unexpected blank lines are no longer added when copying multiple lines of a diff.
  • Fixed: Expanding hunks in a diff would previously fail or not honor the setting to ignore whitespace-only changes.
  • Fixed: Delays when switching between tabs when viewing a pull request with a large number of changes have been reduced.

🚧 Known issues

The new page still has some gaps that we plan to address, including:

  • Reviewing a single commit
  • Applying multiple suggested changes (batching)
  • Keyboard shortcuts for showing / hiding comments and annotations

Also, the new page is still limited to only showing the first 300 files of the pull request. If you need to view larger pull requests, you can switch over to the classic page.

Check out the feedback discussion for an up-to-date list of known issues.

❤️ Feedback

If you haven’t tried the improved experience yet, click the Try the new experience link at the top of the existing pull request “Files changed” page.

Your feedback is super important to us! To report problems, ask questions, see the latest news, and more, visit the feedback discussion.

Disclaimer: The UI for features in public preview is subject to change.