Back to directory
berzniz avatar

github_pr_tree

Add a file tree to GitHub's Pull Request. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/berzniz/github_pr_tree.git

696

Stars

79

Forks

6

Watchers

MIT

License

Better Pull Requests for GitHub

Chrome and Firefox browser extension to show a file tree on GitHub's Pull Request pages.

  • Browse pull requests with an IDE like file tree
  • Private repositories support out of the box
  • GitHub Enterprise support
  • Dark mode
  • Other goodies: track viewed files, resizable tree, expand to full width and more

GitHub Pull Request

Who made this?

Tal Bereznitskey. Find me on Twitter as @ketacode and on LinkedIn.

This is an open-source community project and is not endorsed or affiliated with GitHub.

Special thanks goes to favicon Torii for providing the time and resources to work on this extension.

Install

Install from the Chrome web store: Better Pull Requests for GitHub for Chrome

Install from the Firefox Browser Add Ons: Better Pull Requests for GitHub for Firefox

GitHub Enterprise support

To enable the extension on your organization's domain:

  1. Right click on the extension icon
  2. Choose "Enable Better Pull Request for GitHub on this domain"
  3. Reload the page

Enterprise Support

Development

  1. Install:

    $ yarn install
    
  2. Run

    $ yarn start
    
  3. Load the unpackaged build/chrome/development folder on Chrome's "Manage Extensions" tab

  4. Make changes

  5. Click "Reload" on Chrome's "Manage Extensions" tab

Testing

Run tests using jest:

$ yarn test

History

Find the change log here: Changelog

Releases

Jan 7, 2022

Dark Mode with all themes

Download .zip

Use new Primer color names #186 (thanks @ryanrishi)

Sep 8, 2021

Fixes and improvements

Download .zip

Bug fix: only show tree when diff view is available #174 (fixes #172) Define webpack publicPath #173 (fixes #171) (thanks @0leksandr) Reload button to manually reload file tree #108 (thanks @Linus045)

Aug 27, 2021

Fixes and improvements

Download .zip

Adjust usage of Github color vars #167 (thanks @aramperes) Bug fix: tree not always loading on navigation #168

Dec 13, 2020

Dark Mode

Download .zip

Support GitHub's native Dark Mode #139 (thanks @voliva)

Sep 20, 2020

Fixes and improvements

Download .zip

Fix tree synchronization (#124 thanks @aramperes) Add green check to directories when all files are checked (#126 thanks @idan-at) Add tooltips to action buttons (#131)