Coder Social home page Coder Social logo

renatoch / refined-bitbucket Goto Github PK

View Code? Open in Web Editor NEW

This project forked from refined-bitbucket/refined-bitbucket

0.0 1.0 0.0 318 KB

Chrome extension that improves Bitbucket's user interface

Home Page: https://chrome.google.com/webstore/detail/refined-bitbucket/afppminkfnfngihdocacbgeajbbdklkf?utm_source=chrome-ntp-icon

CSS 0.11% HTML 2.98% JavaScript 96.91%

refined-bitbucket's Introduction

build status - downloads

refined-bitbucket

We all know Bitbucket lacks some features that we have in GitHub, GitLab etc. Based on Sindre Sorhus' Refined Github extension I had the idea of improving BitBucket's user interface. In fact, Rodrigo Proença did most of the initial code and I just created the extension and made a few improvements. Kudos!

Current features

  • Improves syntax highlight for pull requests. Enabled languages:
    • Markup, C-like languages, Go, Groovy, Bash, Handlebars, JSON, Dart, Elixir, Erlang, Markdown, Python, React JSX, Ruby, PHP, Scala, Less, Sass, Swift, YAML, etc. See the full list. Missing any language? Let me know or submit a pull request!
  • Double click on a word to highlight all occurrences.
  • Block pull request merging without a minimum number of approvals (defaults to 2 minimum approvals).

Installing

Refined Bitbucket is available on the Google Chrome Web Store.

Usage

Refined BitBucket now supplies a key binding feature, which allows for quicker navigation through pull requests.

Default Key Mapping

The following are the default key mappings

Tab Selection

bitbucket pull request tabs

Key Action
1 Selects the Overview tab
2 Selects the Commits tab
3 Selects the Activity tab

Page Navigation and Scrolling

Upper case letters mean that you need to press shift and the letter

Key Action
N Scrolls to the Next comment on the page.
P Scrolls to the Previous comment on the page.
g g Scrolls to the top of the page
G Scrolls to the bottom of the page

Compiling & Contributing

Contributions are very appreciated!

There are a few dependencies required to compile the plugin. To install them, run:

npm install

Then you'll just need to run:

npm run build

This will create the extension.js file and test the code you write and load the unpackaged extension in your Chrome. If you're new to Chrome extension development, take some time to read Google's documentation on extensions.

Integration

There is a test suite included. Before sending a pull request please make sure all tests are passing by running:

npm test

License

MIT © andremw

refined-bitbucket's People

Watchers

 avatar

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.