This extension applies various tweaks to the github pull-request code review pages.
Pretty Pull Requests (Github) Extension
This extension will add various features to the diff view on Github's pull request pages.
Supports both files changed and commit diffs.
Current Features:
- Click on the file name to collapse a file, or collapse from bottom up via an added button
- Collapse/Expand all
- Collapse/Expand all that match a regex pattern
- Collapse/Expand added/removed lines
- File tree view allowing you to collapse a directory, or jump directly to a file diff
- Github Enterprise Support (set your URL via right-clicking the address bar icon, and going to 'options')
Read more
Supports both files changed and commit diffs.
Current Features:
- Click on the file name to collapse a file, or collapse from bottom up via an added button
- Collapse/Expand all
- Collapse/Expand all that match a regex pattern
- Collapse/Expand added/removed lines
- File tree view allowing you to collapse a directory, or jump directly to a file diff
- Github Enterprise Support (set your URL via right-clicking the address bar icon, and going to 'options')
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Pretty Pull Requests (Github)", "description": "This extension applies various tweaks to the github pull-request code review pages.", "version": "2.11.1", "icons": { "32": "ppr-logo/32x32.png", "64": "ppr-logo/64x64.png", "128": "ppr-logo/128x128.png" }, "background": { "scripts": ["background.js"] }, "permissions" : ["tabs", "storage", "activeTab"], "optional_permissions" : ["http://*/*", "https://*/*"], "content_scripts": [ { "matches": ["https://github.com/*/pull/*/files", "https://github.com/*/commit*", "https://github.com/*/pulls*", "https://github.com/*/compare*", "https://github.com/*/*/pulls*", "https://github.com/*/*/pull/*", "https://github.com/*/*/pull/*/files", "https://github.com/*/*/commit*", "https://github.com/*/*/compare*" ], "js": ["jquery-1.9.1.min.js", "github.com.js"], "css": ["pullrequest.css"] } ], "page_action": { "default_icon": "ppr-logo/128x128.png", "default_title": "Pretty Pull Requests", "default_popup": "popup.html" }, "web_accessible_resources": [ "jquery-1.9.1.min.js" ], "options_page": "options.html"}
Read more