ALM-Rangers / Visualize-Team-Project-Health-Widgets

Enable users to visualise the overall health of builds, releases, bugs, and pull requests on their dashboard, delivering a visual cue similar to the Codify Build Light. Marketplace: https://marketplace.visualstudio.com/items?itemName=ms-devlabs.TeamProjectHealth
Other
20 stars 17 forks source link

Allow me to filter by branch #8

Open OsirisTerje opened 6 years ago

OsirisTerje commented 6 years ago

When monitoring I only want to see builds that are triggered on the master branch (or any specified branch), even if the same build can be used for multiple branches.

WouterDeKort commented 6 years ago

Hi @OsirisTerje,

thanks for the suggestion. I'll add it to the backlog. I don't think it's really hard to implement. Would a dropdown for the branch be OK or do you scenarios where you want to select multiple branches?

Thanks, Wouter

OsirisTerje commented 6 years ago

As far as I can see, one should be enough, so a dropdown would be fine, with one specific entry for All, or then just select a single branch from the dropdown

KenticoMartinS commented 6 years ago

Hi, I want to ask what's the state of this feature? Is it planned or in progress? We are really looking forward to this feature. We are building all commits in all branches, but on the dashboard, we are only interested in the result of the master branch.

mattwhitfield commented 6 years ago

Bump, same again. Filtering the dashboard to master is what we are interested in. If there's a red build in a feature branch - we don't really care. Red build in a master branch is a massive issue and we need to jump on it straight away.

sanderaernouts commented 6 years ago

@mattwhitfield @KenticoMartinS if you are looking specifically for the status of a build, the new build widget in Azure DevOps does support filtering on branches: image

mattwhitfield commented 6 years ago

@sanderaernouts Yes - we do use that today. It was the 'Build Health Details' widget I meant specifically. That allows you to select the build definition / pipeline - but doesn't have a branch filter...

WouterDeKort commented 6 years ago

Sorry people. As you know this is an open source project I run in the evenings and I haven't found any time lately.

I'll try to schedule something for the next couple of weeks. If one of you wants to do a pull request that would be great and I would love to help you get it set up.

Wouter

mattwhitfield commented 6 years ago

@WouterDeKort - certainly nothing to apologise for. I know how life gets in the way. I'd be up for sorting this out at some point - so if you do have some pointers on how to get started with that then I could probably knock that out at some point :)

WouterDeKort commented 6 years ago

You can develop the extension locally with VS Code , your own Azure DevOps organization and a Marketplace account. The code is in Typescript and some HTML and CSS. After your pull request a Azure DevOps pipeline runs some checks and deploys to the Marketplace.

Let me know if got have any questions.

Wouter

jakobehn commented 6 years ago

I should have some time next week to fix this one, we’re using it at my current client.

jakobehn commented 6 years ago

I'm getting close to finish this one. One question though, do we want to show the name of the branch in the widget? I often include the branch name in the build number, which makes showing the branch name a bit redundant.

Comments? @mattwhitfield @WouterDeKort @OsirisTerje

WouterDeKort commented 6 years ago

@jakobehn Maybe make it optional? If it's a simple text field people can decide for themselves?

mattwhitfield commented 6 years ago

@jakobehn Personally I am the same as you - the branch is obvious from the build number because that makes it easier in a bunch of other places (e.g. build statuses posted to slack). Many many thanks for addressing this.

OsirisTerje commented 6 years ago

@jakobehn @WouterDeKort 's suggestion is good, because you don't know if people will have that convention or not. By default I would like to see the branch name explicitly, if it doesn't get too crowded. Do you have an example screenshot with or without ?

jakobehn commented 6 years ago

@OsirisTerje I made it optional, and currently it looks like this, where the top one shows the name of the branch and the bottom one doesnt

image

Tyler-Keith-Thompson commented 5 years ago

What will it take to make this happen? Looks like the work was done a while ago and it's just waiting for a review? Our team could really use this feature.

li-dawei commented 4 years ago

Another upvote for above feature, this would be really useful for us too, any chance of releasing this soon?