This content originally appeared on DEV Community and was authored by DEV Community
GitHub has finally introduced a feature everyone was asking for: the File Tree View in the Pull Request experience!
It may seem like a small thing, but in fact this makes a huge difference to the productivity in a PR.
Video
As usual, if you are a visual learner, or simply prefer to watch and listen instead of reading, here you have a very quick video on how to activate this feature.
Link to the video: https://youtu.be/OfICx2_oVo0
If you rather prefer reading, well... let's just continue :)
What is the File Tree View
If you are familiar with the GitHub Pull Request experience, this is what you normally see:
It represents a list of changes that have been made to the files included in the Pull Request. This list, however useful, is flat and as such it doesn't help you understanding how many files have been touched and where they belong to.
The new Pull Request Experience with the File Tree View, instead, enhance that screen, helping with visualizing the full structure of the files affected by the PR:
As you can see the whole file and folder structure is added to the left hand side of the screen
The new view also shows if a file has been modified (yellow mark), or added (green sign).
This is really cool, and something that has been lacking in GitHub for a long time.
How to Enable the File Tree View in your Pull Requests
At the moment of writing this post, the new File Tree view is still in preview.
To activate it, you can go to your Profile Settings, and select Feature Preview.
In here, you will see a new Pull Request File Tree option. Click on it, and then click on Enable.
Now you can go back to your PR screen, refresh it, and the new view will show in all its beauty 🥳🥳🥳
Conclusions
What do you think of this new feature? Were you waiting for it? Let me know in the comments below.
Also, if you want to see how you should manage your Pull Requests, check out this video here.
Like, share and follow me 🚀 for more content:
📽 YouTube
☕ Buy me a coffee
💖 Patreon
📧 Newsletter
🌐 CoderDave.io Website
👕 Merch
👦🏻 Facebook page
🐱💻 GitHub
👲🏻 Twitter
👴🏻 LinkedIn
🔉 Podcast
This content originally appeared on DEV Community and was authored by DEV Community
DEV Community | Sciencx (2022-03-04T03:46:37+00:00) GitHub NEW File Tree View in Pull Requests: a HUGE Productivity Boost 🥳🥳🥳. Retrieved from https://www.scien.cx/2022/03/04/github-new-file-tree-view-in-pull-requests-a-huge-productivity-boost-%f0%9f%a5%b3%f0%9f%a5%b3%f0%9f%a5%b3/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.