GitHub: Tell Me When It Closes Extension
Screenshot of GitHub: Tell Me When It Closes Extension
Tell Me When It Closes is an amazing service by thoughtbot. Often I’ll find an issue or pull request on GitHub for a tool I use and I just want to know when it closes what the result was. I don’t care for the back-and-forth conversations between people when if I were to subscribe, so Tell Me When It Closes is the perfect service for me.
The issue I ran into was the limited ways to integrate this into my workflow. Looking at the ways you can subscribe to issues and pull requests, it’s a bookmarklet that runs JavaScript. I don’t use the bookmark bar in my chrome browser (or browser bookmarks), so that solution wasn’t ideal.
My old workflow for subscribing to an issue on Tell Me When It Closes was:
To many manual steps for me.
I want a way to simplify the steps to subscribe to an issue. I figured I could manipulate the webpage with JavaScript and add a button which, when, clicked would navigate to the subscription page with the URL filled in.
I looked into making a browser extension, originally for Google Chrome. Upon further investigation, I found that I could target more browsers without much extra effort. I decided to use EmailThis/extension-boilerplate so that I could build an extension for Chrome, Opera & Firefox.
The end result is a button which appears in the notifications section of an issue or pull request page. When you click the button, it’ll open the tellmewhenitcloses.com with the appropriate URL pre-filled.
Now my workflow for subscribing to an issue on Tell Me When It Closes is: