microsoft / DevHomeAzureExtension

Dev Home Azure Extension
MIT License
68 stars 15 forks source link

Add the ability to list all PRs within a project #52

Open svdbrg opened 7 months ago

svdbrg commented 7 months ago

Suggested new feature or improvement

Instead of having to point out each repository to list PRs from, it would be a nice feature to list all active PRs in a project.

Scenario

We currently have a large number of active repositories in multiple projects in Azure DevOps, where PRs are submitted in different repositories each day. It would simplify the DevHome setup greatly if it was possible to add a widget that lists PRs from a project rather than for each repository.

Additional details

No response

danijam commented 7 months ago

Just came looking to see if anyone had raised this. Although from my use I would like to be able to configure the PR widget to display Pull Requests from across the entire Azure DevOps Organisation. A bit like what you can achieve on the Azure DevOps Open page: image

dkbennett commented 7 months ago

Getting all pull requests for a project has an API and would be relatively simple to do, but need some UX guidance. However, getting all projects for an organization requires making that call for every project in the organization. We could have some heuristics here and do that for every known or tracked project, but we wouldn't be able to do it with certainty without checking every project (there may be a large number of projects).