Skip to content

Chrome extension that loads diff preview on Github PR main page.

Notifications You must be signed in to change notification settings

colega/github-pr-diff-previewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github PR diff previewer

Description

This Chromium extension loads the PR diff on small PRs and displays it in the timeline under the PR description.

github-pr-diff-previewer-demo.webm

This allows reviewing, approving and merging without having to switch to the diff tab, which is usually very slow to load.

Functionality

Diffs with less than 50 lines changed will be loaded and displayed in the timeline automatically. Diffs longer than 50 lines can be loaded by clicking on the "Diff stat" indicator on the top right corner (that shows the number of lines added and removed).

Caveats

Works only on fresh load of the PR page. If you navigate from a different Github page, the PR is loaded without reloading the entire page and it won't work (PRs are accepted!).

Installation

Currently not published in the Chrome store, so you need to enable the developer mode in your Chromium based browser and click on the "Load unpacked extension" button.

About

Chrome extension that loads diff preview on Github PR main page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published