Testing #2136
Similar to how the changes view in SCM can toggle between flat list and tree:

There is currently a setting to do this (githubPullRequests.fileListLayout), we should an action to toggle it like in the SCM view
Hi, I'd like to do my first contribution here, if someone could tell me where to look I'd really appreciate it. Thanks!
Thanks @ejkim1996 for looking at this!
Two things need to be added for this:
command that will update the settingYou can look at the commands.ts file for some examples of adding commands and add this one there as well. You will also need to add it in the package.json, and then add it to the view/title section there. pr.refreshChanges is an example of a command that shows up on the "Changes in Pull Request" view.
Thank you for the details @RMacfarlane!
I have quite a busy week at work, but I'll probably be able to get started on it sometime next week.
Hi @RMacfarlane,
I've been able to get the toggle to work! Here are some screenshots to show you how it looks.


I think the last thing that's left is to use icon(s) that resemble the file list layout. I couldn't figure out if there were already icons I could use so I've temporarily set it to the gear icon as you can see in the screenshots. I've also opened a draft PR, if you could take a look and suggest any other edits that are needed I'm happy to make the changes required.
Most helpful comment
Hi, I'd like to do my first contribution here, if someone could tell me where to look I'd really appreciate it. Thanks!