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
0 ★
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

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