Github Turbo PR

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

ما هو Github Turbo PR؟

Github Turbo PR هو إضافة Chrome تم تطويرها بواسطة sudhanshuyadav2، والميزة الرئيسية لها هي "An extension to optimize github for handling big pull request. 🚀".

لقطات شاشة التمديد

screenshot

تحميل ملف CRX للإضافة Github Turbo PR

قم بتنزيل ملفات الامتداد Github Turbo PR بتنسيق crx ، وقم بتثبيت الامتدادات يدويًا في متصفح Chrome ، أو شارك ملفات crx مع الأصدقاء لتثبيت الامتدادات بسهولة.

تعليمات استخدام التمديد

                        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.                    

معلومات أساسية عن التمديد

الاسم Github Turbo PR Github Turbo PR
ID bajlfgjogojcoiijmmjeppgmppcdbbfb
عنوان URL الرسمي https://chromewebstore.google.com/detail/github-turbo-pr/bajlfgjogojcoiijmmjeppgmppcdbbfb
الوصف An extension to optimize github for handling big pull request. 🚀
حجم الملف 37.62 KB
عدد التثبيتات 104
النسخة الحالية 0.2.1
آخر تحديث 2018-04-09
تاريخ النشر 2018-04-08
المطور sudhanshuyadav2
نوع الدفع free
موقع الإضافة https://github.com/s-yadav/github-turbo-pr
اللغات المدعومة en
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"
    ]
}