kamranahmedse / github-diffs

Easier code reviews by collapse/expand diffs in pull requests

Home Page:https://goo.gl/LCYzwy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

github-diffs

github-diffs ➕➖

Collapse or expand diffs in pull requests for easier code review

Motivation

When there is a large number of files in a PR it becomes difficult to get an overview or to find some specific files with all the files in PR stacked upon each other. This extension allows collapsing and expanding files so that you do not have to pound the innocent scrollbar.

Sneak Peek

Adds buttons to Collapse all Diffs or Show all Diffs and makes file headers clickable to toggle the diff for it

Installation

Development

Clone the repository

git clone https://github.com/kamranahmedse/github-diffs.git

Install the dependencies

yarn install

Run the start command

yarn start

It will create a build directory at the root. Now open chrome and go to the below url

chrome://extensions

Now click Load unpacked extension.. and select the build directory. This will load the extension and any changes that you will make, will be reflected automatically.

Contribution

  • Extend functionality by improving the diffs in any way
  • Features Suggestions

I'd love to hear what you have to say. Reach me out at kamranahmed.se@gmail.com or Twitter URL

License

MIT © Kamran Ahmed

About

Easier code reviews by collapse/expand diffs in pull requests

https://goo.gl/LCYzwy


Languages

Language:JavaScript 100.0%