panuoksala / streamdeck-azuredevops-plugin

AzureDevOps plugin for Stream Deck devices
MIT License
10 stars 3 forks source link

Show build status #1

Closed jernejk closed 3 years ago

jernejk commented 3 years ago

Hi, I love the idea of the project but I would love to see the status of the project.

I have quickly hacked away a version where instead of running builds (not helpful as they start automatically) and instead track them.

image Figure: Updating every minute.

image Figure: Build in progress.

I'll make a PR once I can replicate the old behavior and add new one. The idea is following:

Configuration (in addition to current):

Display:

Current work in progress: https://github.com/jernejk/streamdeck-azuredevops-plugin

panuoksala commented 3 years ago

That sounds really good improvement. Should the polling interval be a setting maybe, with 60 second default if build has been triggered?

jernejk commented 3 years ago

Hi, some new update on the progress.

I added new icons for builds. image

Here are more icons. image

The colors were picked from Azure DevOps while the icons inside are text, emojis, or simple shapes. Probably should have a designer touch for this. :)

There are a few things missing:

  1. Add new settings
  2. Release status
  3. Long press action

For "In progress" atm will only work for the last 24 hours because build/release pending approval is not easy to get via REST APIs.

panuoksala commented 3 years ago

I think that should be fine. The Microsoft had some restrictions about the icons (which I asked permission of course) and I think those progress icons on top right corner would not break those.

jernejk commented 3 years ago

The code is done now but probably should be tested against various projects.

It is a bit of a breaking change as the tap action is now refreshing the status instead of starting a build/release. This can be changed as tap and long-press actions are configurable.

panuoksala commented 3 years ago

OK looks cool, I will test it out during the weekend.

jernejk commented 3 years ago

Next PR I'll likely add an additional action to open the build/release in the browser.

In case of the build where we can't approve via API, it's beneficial we can open them via StreamDeck.

panuoksala commented 3 years ago

Released in version 1.1.0