Skip to content

gizumon/github-ui-extentions

Repository files navigation

GitHub UI Extensions

build

Chrome Extension for GitHub (Support GitHub Enterprize)

How to install

From GitHub
  • Clone this repo

    git clone https://github.com/gizumon/github-ui-extentions.git
  • Build

    # cd working directory
    cd github-ui-extentions
    npm run build # required nodejs
  • Load build package into Chrome

    • Access Extension in Chrome.
      • chrome://extensions/
    • Click "load extensions"
      • load package
From Chrome Web Store

Features

Display Base / Head branch in Pull Request list page

list

Display Base / Head branch in Pull Request detail page

You can check base / head branch before you merge Pull Request.

info

Regular Expression Branch Rule validation

You can set validations along with your branch rule from extension options.

options

Based on the setting, this extension will validate the branch rule and raise an alert in the bottom of a merge button.

warning

If you set a validation as a strict mode, then merge button will be disabled and prevent from the unintended merge.

error

If click the check box, then the merge button will unlock.

error_unlock

For developers

click here

Prerequisites

Option

Includes the following

  • TypeScript
  • Webpack
  • React
  • Jest
  • Example Code
    • Chrome Storage
    • Options Version 2
    • content script
    • count up badge number
    • background

Project Structure

  • src/typescript: TypeScript source files
  • src/assets: static files
  • dist: Chrome Extension directory
  • dist/js: Generated JavaScript files

Setup

Install dependencies

npm install

Build

npm run build
  • Build in watch mode

    npm run watch
    

Load extension to chrome

Load ./dist directory

Test

npx jest or npm run test

About

This is Chome Extension feature for GitHub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published