This is a Chrome Extension that allows you to open threads in GitHub notification emails with a shortcut. โจ
Open your GitHub notifications using a shortcut (default to shift + g
, or shift + b
to open in the background), or this button in mail view:
You have to have
- Gmail shortcut mode enabled
- An organization named label matching the Regular Expression (default to
^\((.+)\)
).
And then you will be able to open a selected GitHub notification email thread using ctrl + return(enter)
in a list view where the label is present.
Install the extension via Chrome webstore
- Go to Releases and download the latest version.
- Unzip the folder wherever you'd like.
- Go to Chrome extensions page (
chrome://extensions/
) and load the folder as an Unpacked extension.
As:
There are 3 preference settings:
- Custom domains
- Mail view shortcut
- List view regular expression
Attention After updating a setting, please refresh both the extensions page in Chrome and the Gmail page.
If you are using GitHub enterprise and have a custom domain, you can set it in the extension options page.
Customize the keyboard shortcut that triggers the View on GitHub
button. Change the shortcut combination by focusing the input, and press whatever key(s) you want to be the shortcut. It will be displayed in keyCode
which is why you see 71
here instead of g
. Don't worry about it.
Custom Regular Expression for matching labeled Organization name. Eg. /^\((.+)\)/
matches muan
in (muan)\github-gmail
, and will be use to build the url: https://github.com/
muan
/github-gmail/issues
.
All the core functions are written in src/inject/inject.js
.
Love โค๏ธ it? Tell this little bird over at @muanchiou
and I'll be thrilled.
Found a ๐ bug? Open an issue with some emojis. Issues without emojis are not valid.