A new Alfred workflow: Quickly open Merge Requests in GitLab
Synopsis
I created a workflow for Alfred so I can quickly open all the merge requests that are assigned to me. If the query “review” is added then all the merge requests where I am assigned as a reviewer are openend.
Background
I love to use Alfred to quickly to repetitive tasks on my computer. I use it to find the right emoji, modify text styles and text cases, convert images or units.
When at work, I also regularly have to open the overview pages on GitLab to see what status my merge requests have—or to quickly access them. I also want to navigate to the overview of the merge requests where I am assigned as a reviewer. Others might wait on my review or pushed updates.
All of that those lists exist as a bookmark in my browser. I can open them by clicking the bookmark. But then I have to decide whether I want to open a new tab or stay in the same tab I currently use. And I have to click with the mouse/touchpad.
This can be done quicker/easier: Open Alred (shortcut CMD-Space), type mrs
and hit ENTER.
This opens the page where I can see the assigned merge requests.
If I want to access the MRs for review, I do the same but type mrs review
. This overview is filtered for MRs where I haven’t approved yet.
Works wonderfully.
You can download the workflow from my GitHub repo