An extension to optimize github for handling big pull request. ?

Latest Version

Version
0.2.1
Update
April 8, 2018
Size
37.62KiB
Developer
Category
Users
84
Rating
1 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Https://github.com/*
WebNavigation
See more

Github Turbo PR Extension

Github pull request page gets unresponsive on a big PR and makes it very hard to review. This extension optimize the page to make it more responsive so that you spend less time reviewing code and more time drinking beer 🍻.

### Usage
For non Pull Request page the extension will be inactive.
On a PR compare page it will get active but by default it will be disabled.
If you feel your page is getting slow on a big PR you can click and enable it. You can toggle it back if you want.

### How does it optimize?
It applies a simple trick by detaching file diffs which are not visible and reattach them when they are about to come on viewport. Less DOM nodes in a DOM Tree, more performant the page it. And it does it performantly using Intersection Observer API https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API.

### Known caveats.
- As for optimization it detaches file diff from the page, browser find will not work as expected. Though you can search with a file name but not the content.
- Count in Review changes gets incorrect, but actually it does not affect any review comments. So don't get scared if number shows wrong.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Github Turbo PR", "version": "0.2.1", "manifest_version": 2, "description": "An extension to optimize github for handling big pull request. \ud83d\ude80", "homepage_url": "http://github.com/s-yadav/github-turbo-pr", "icons": { "16": "icons/turbopr16.png", "48": "icons/turbopr48.png", "128": "icons/turbopr128.png" }, "default_locale": "en", "background": { "scripts": [ "dist/background.js" ], "persistent": true }, "page_action": { "default_icon": { "19": "icons/turbopr19_disabled.png", "38": "icons/turbopr38_disabled.png" }, "default_title": "Enable Turbo PR" }, "permissions": [ "https://github.com/*", "webNavigation" ], "content_scripts": [ { "matches": [ "" ], "js": [ "dist/inject.js" ] } ], "web_accessible_resources": [ "icons/turbopr38.png", "icons/turbopr38_disabled.png" ]}
Read more

How to download and manually install Github Turbo PR extension for Chrome

Looking for a way to install Github Turbo PR extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Github Turbo PR extensions manually, this article outlines two simple methods to effortlessly install Github Turbo PR extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Github Turbo PR extension and manually install through Drag &Drop

If you ever need to manually install a Github Turbo PR extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Github Turbo PR Extension by clicking the "Download CRX" button on the website.

Look for the Github Turbo PR extension you wish to install. Go to the website and download the Github Turbo PR extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Github Turbo PR extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Github Turbo PR extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Github Turbo PR extension for Chrome and install in Developer Mode

This is another method to install Github Turbo PR extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Github Turbo PR extension file

Select and download the Github Turbo PR extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Github Turbo PR extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Github Turbo PR extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Github Turbo PR extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Github Turbo PR extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Git flow (for Github) Extension · Developer Tools 84 1 ★ 218KiB

icon

OctoEdit Extension · Developer Tools 84 0 ★ 1.16MiB

icon

Github Diffs Extension · Developer Tools 84 0 ★ 12.99KiB

icon

News Feed for GitHub Extension · Developer Tools 84 1 ★ 48.81KiB

icon

Github Package.json Enhancer Extension · Developer Tools 84 0 ★ 18.89KiB

icon

GitHub Issue Link Status Extension · Developer Tools 84 12 ★ 629KiB

icon

Follow GitHub Organization Extension · Developer Tools 84 1 ★ 99.17KiB

icon

Octo Preview Extension · Developer Tools 84 2 ★ 5.16KiB

icon

Github Markdown Outline Extension Extension · Productivity 84 5 ★ 146KiB

icon

OctoPermalinker Extension · Developer Tools 84 1 ★ 373KiB

icon

GitHub submodule links Extension · Developer Tools 84 2 ★ 17.49KiB

icon

Notifications Preview for GitHub Extension · Productivity 84 6 ★ 40.9KiB

icon

Where is it? Extension · Developer Tools 84 3 ★ 653KiB

icon

Turbo Chrome - Navegue mais rápido! Extension · Productivity 84 5 ★ 14.71MiB

icon

OctoLenses Extension · Developer Tools 84 3 ★ 3.74MiB

icon

Friendly GitHub Extension · Social & Communication 84 2 ★ 44.63KiB

icon

Twitter for GitHub Extension · Developer Tools 84 5 ★ 19.72KiB

icon

Github Annotator Extension · Developer Tools 84 2 ★ 81.68KiB

icon

Builds Tab for Github Extension · Developer Tools 84 0 ★ 160KiB

icon

Contributors on Github Extension · Developer Tools 84 5 ★ 15.6KiB

icon

Package Hub Extension · Developer Tools 84 2 ★ 28.3KiB

icon

GitHub Enhancement Suite Extension · Developer Tools 84 1 ★ 56.24KiB

icon

Github Super Search Extension · Developer Tools 84 0 ★ 46.74KiB

icon

Diff Navigator for GitHub Extension · Developer Tools 84 3 ★ 43.72KiB