Another nice feature for local pull request review

It's even nicer than GitHub's UI

Joel Clermont
Joel Clermont
2024-01-17

We've all been there: the dreaded gigantic pull request with 50 or more changed files.

One of the things that make these PRs so difficult to review is jumping around between different files, to get the full context of the change, but also not losing track of what you've already finished.

GitHub offers a way to mark a file as "Viewed" so you know it's finished, but for some reason, it doesn't show that status in the file list sidebar. So I find myself still scrolling a lot to figure out if I've looked at a file or not.

I already like using PHPStorm for reviewing these more-complex PRs, but recently I noticed that it actually does a better job than GitHub at showing me status in the file list view:

PR file list view in PHPStorm

Notice how some of the files have a dot next to them and some don't. The dot means it hasn't been marked as viewed. So I can easily see at a glance where I left off.

As an extra bonus, it also shows me in this view which files have feedback left on them, which is also pretty handy.

Here to help,

Joel

P.S. Are you enjoying these tips? Tell a friend about it. They can sign up for the same awesome Laravel tips here.

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼

Level up your Laravel skills!

Each 2-minute email has real-world advice you can use.