Pull Requests

From the Pull Request Inbox you can click to view the details of any pull request. The pull request detail view shows a comprehensive file-by-file diff of the modified code that is heavily optimized for efficient reviewing.

Title Header

At the top of the pull request detail page, you'll see a title header that includes the author, the title of the pull request, the repository it belongs to with the pull request number, it's current state, and the date it was created.

pull request title header

Click on the title to edit it in place. As with everything in CodePeer, modifications to the title will be applied locally and propagated to your source control platform. If you click on the repository name + pull request number line, it will load the pull request on the source control platform in a new tab.

Participants

Next to the pull request summary in the upper right, you'll see a breakdown of the participants associated with the pull request. Click the large "+" button to add new participants, or hover over any existing participant to see detailed information about them. You can read a full break-down of pull request participants here.

pull request participants

Detail Panels

Below the summary and participants are a collection of detail panels that provide helpful information about the pull request. Everything is design to be accessible via a single screen and easily viewable. Click on any panel title to view the contents.

pull request panels

Summary Panel

The summary panel provides an overview of the pull request. You can see the head branch the pull request is for, the base branch it will be merged into, and any labels that have been assigned. Below that you'll find an editable description for the pull request.

Files Panel

The files panel showcases all the files that have changed in the pull request and how they've evolved over time and changed across pull request revisions. You can easily see at which revision(s) a file was added/deleted/modified/reverted. Click on any file to jump directly to the diff for that file. Click on the revisions for any individual file to change the revisions you'd like to compare when reviewing the diff for that file.

In addition to the Files panel, you can open the file tree to view files associated with a pull request. The collapsable file tree provides an omnipresent view of pull request files that sits beside the file diffs during your review.

Commits Panel

The commits panel showcases all commits that have been made over the lifespan of the pull request. Commits are intelligently grouped into revisions by default, creating helpful point-in-time snapshots of the code that can be used for comparison.

Use the commits panel to see a history of all commits and the revisions they belong to.

Reviews Panel

The reviews panel showcases all code reviews that have been submitted for the current pull request. You can see who reviewed the pull request, at what revision they reviewed it, what they're review status was (approved, changes requested, or just commenting), and when they submitted it.

Click on any review to expand it and see more detailed information from the review. When a review is expanded, you can see all comments the reviewer included in the review. Click on any comment to view it in context - you'll be scrolled to the exact file and location where the comment was left, where you can see the full discussion and associated lines of code.

Checks Panel

The checks panel showcases all checks that have run against the pull request and whether or not the pull request is currently mergeable. If you want to check the status at a glance without opening the panel, the tab itself contains a green (checks passing, branch mergeable) or red (checks failing or not mergeable) dot to indicate the status of the checks.