Giter Club home page Giter Club logo

octotree-hack's Introduction

Octotree-hack

This is a quick and very dirty hack to Buu Nguyen's commendable Octotree Extension

Compared to the original extension, this adds two features to the GitHub Pull Request view:

  • The page shows only one file's diff at a time, this obviously being the file selected in the tree pane, so that PRs with several files become manageable
  • The diff is shown in full right away, eliminating the brain dead "unfold" buttons GH tries to push on you

Because I didn't want to invest valuable time into learning Octotree's bloated highly advanced build system, this is implemented by decompressing the compiled Chrome extension distributed by the original devs and hacking the generated octotree.js directly. Yes, it's that bad. The changed parts are indicated in the commit history

Installation

  • Download / clone the "chrome" directory somewhere
  • Go to chrome://extensions
  • Flip some bit in Chrome to enable developer mode
  • You probably want to remove the official octocat exension at this point
  • Click "Load Unpacked" => select the directory => ok

Screenshot

octotree-hack's People

Contributors

ppar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

13067432835

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.