https://github.com/jackrekirby/github-chrome-extension-suite
A Chrome extension suite of GitHub tools
https://github.com/jackrekirby/github-chrome-extension-suite
chrome-extension github jira typescript
Last synced: about 2 months ago
JSON representation
A Chrome extension suite of GitHub tools
- Host: GitHub
- URL: https://github.com/jackrekirby/github-chrome-extension-suite
- Owner: Jackrekirby
- Created: 2024-03-02T16:20:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T20:06:06.000Z (over 1 year ago)
- Last Synced: 2025-02-17T20:37:17.103Z (over 1 year ago)
- Topics: chrome-extension, github, jira, typescript
- Language: TypeScript
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub Suite
This chrome extension contains a suite of tools to extend Github's functionality
## Tools
### Who is in the Branch
Displays if anyone is in the development or staging branches of a GitHub repository.
Green = No one in branch
Purple = You are in the branch
Red = Someone else is in the branch
### Warn of Skipped Branches
Displays whether or not the branch transition in a pull request is a recognised one. Aims to prevent one accidentally merging straight from feature to production.
Recognised transitions:
1. Feature to Development
2. Development to Staging
3. Staging to Production
### Pull Request Creation
Adds two buttons in the sidebar of a GitHub pull request.
1. One button will create a PR in the following universe (local -> development -> staging -> production).
2. Another button will copy the current PR (useful when pushing a fix to the same universe).
### Compare Commits
Enables you to compare commits from the conversation tab of a Github pull request.
### Pull Request Jira Linking
Adds a button in the description header of a GitHub pull request. If a Jira ticket is not provided in the description the button will insert the link in the description. If the Jira ticket is already in the description the button will open a new tab and take you to the Jira ticket.
The Jira ticket name(s) are extracted from the pull request title. Expected format `[A-Za-z]+-\d+`, e.g., ABC-123 or abcd-1234.
### Files Changed Sidebar Resize
When viewing the diff for a pull request on GitHub there is a sidepanel listing the files changed. If the file names are too long they are truncated with elipses. This feature adds a `+` button at the top right of the sidebar which when clicked toggles the sidepanel between its original size (~300px) and 500px.
### Default Pull Request Filter
When you go to the pull request tab, you can optionally apply filters to the search. This tool allows you to save a default set of filters by setting the url query parameters of the page.
The default that this tool applies is to sort by the most recently updated open pull request.
`q=is%3Apr+is%3Aopen+sort%3Aupdated-desc`
## Extension Requirements
This extension needs your API token for Github.
1. To generate an API token goto:
2. Generate a classic token
3. Give the token the `repo` permission scope.
4. Goto the extension options found at `chrome://extensions/` to add these credentials.
## User Installation
1. Download the latest release
2. Go to `chrome://extensions/`
3. Select `load unpacked`
4. Pick the downloaded release
## Dev Installation
Built with node 16
`npm i`
`npx webpack --watch`