this is phenomenal and I look forward to using it, has anyone done something similar for linux distributions?
BitBar: Put the output of any script on your macOS menu bar
61–65 of 65 posts
Re: BitBar: Put the output of any script on your macOS menu bar
#62this is phenomenal and I look forward to using it, has anyone done something similar for linux distributions?
argos extension for Gnome 3. Compatible with BitBar
Re: BitBar: Put the output of any script on your macOS menu bar
#63Windows version? No macs at work.
Re: BitBar: Put the output of any script on your macOS menu bar
#64I use it to list all my PRs, with icons for their approval/CI status alongside a list of PRs that are awaiting my review. I like that the API is just outputting lines, but I wish there was more documentation.
Any chance you could share the script and a screenshot?
Sorry, it is very specifically written for the many repos I have and I didn't put in the effort to make it a general thing. It's a whole bunch of v3 api calls in Node.js, though.
api/v3/issues?filter=created - to get all issues that I created
filter(p => p.pull_request) - to get all the PRs out of those
fetch on all the p.pull_request.url s out of those to get details
use p.mergeable_state, p.title, p.html_url to populate dropdown items
And for PRs waiting my review, i used the search api: api/v3/search/issues?q=is:open+is:pr+review-requested:+archived:false
then map them to dropdown items which show repo name, author, and title of PR reviewDetails.forEach(r => {
result.push({
text: `:exclamation: ${r.base.repo.full_name} - ${r.user.login}: ${r.title}`,
href: r.html_url
})
})