
GitHub Enhances Pull Request ‘Files Changed’ Page in Public Preview
GitHub has recently introduced updates to its new pull request “Files changed” page, which is currently available in public preview. The enhanced version aims to provide a more efficient and user-friendly experience for developers when reviewing pull requests of varying sizes.
One of the significant improvements includes the ability to comment on individual files, including binary, deleted, and renamed files, preserving the functionality accessible on the classic page. Moreover, GitHub has made substantial enhancements to the page’s performance, particularly in responsiveness and interaction, as measured by Interaction to Next Paint (INP). These advancements include minimizing unnecessary re-renders after page load and enhancing responsiveness when clicking the add comment button.
Additionally, GitHub has addressed several issues based on user feedback. These fixes encompass resolving problems with expanding diff hunks for files containing special characters, incorrect diff content for large pull requests, and the file tree disappearing at certain screen widths. Furthermore, the “Resolve comment” feature has been improved to a full-size button, and a “processing updates” message now appears when changes pushed to a pull request branch are not yet ready for display.
Although the new page offers several enhancements, there are still features from the existing page that are not yet available. These include rich diff previews for image and markdown files, reviewing a single commit, code scanning alerts, and keyboard shortcuts. Furthermore, the new page currently has limitations, as it is restricted to displaying the first 300 files of a pull request; users requiring to view larger pull requests can switch to the classic page.
GitHub actively tracks and addresses bugs related to filtering, diff rendering, and the new comments and review submission panels. The company encourages users to provide feedback, report issues, and stay updated through the feedback discussion page. Developers are invited to try out the new experience by selecting the “Try the new experience” option on the current “Files changed” page.
Source: Shutterstock
Source: Blockchain.News