When viewing a commit, it can be super useful to know what pull request the commit was introduced in.
This is possible through github for PRs that have been merged. On the commit page, next to the branch names, there is a link to a pull request number. This extension expands on this functionality by:
- Shows pull requests that haven't been merged yet
- Shows actual names of the Pull Requests
- Shows any issues that reference the commit
- Shows PRs in seperate place as tags -- tags can get unwieldy at times if you use them for your deployment process
Install from the Chrome Store.
If you'd like to develop the extension, see instructions below
Boilerplate from https://github.com/schovi/webpack-chrome-extension
First, run npm install
.
Now, you should do this before editing any code to see how it works:
- run
npm start
(ornpm run dev
) which will start webpack-dev-server - in Chrome open
chrome://extensions/
- check
Developer mode
- click on
Load unpacked extension
- add REPOSITORY_DIRECTORY/build
- Navigate to a commit on github and you should now see issue information appear.
- run
npm run build
- It will compile scripts, styles and other assets into release/build/
- It will make chrome extension into release/build.crx with certificate release/build.pem
- Everything looks fine, but scripts from webpack arent loading.
- Probably problem with development ssl certificates. Open any script (i.e. https://localhost:3001/background/index.js) in separate tab and allow chrome to load it anyway. Then reload extension.