kamranahmedse / Github Diffs
Programming Languages
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
orShow all Diffs
andmakes 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 [email protected] or
License
MIT © Kamran Ahmed