GithubHelp home page GithubHelp logo

cribeiro84 / azure-devops-pull-request-hub Goto Github PK

View Code? Open in Web Editor NEW
58.0 2.0 35.0 10.79 MB

Azure DevOps Pull Request Manager Hub

License: MIT License

HTML 0.37% TypeScript 94.05% JavaScript 1.38% SCSS 4.21%
azure-devops pull-request

azure-devops-pull-request-hub's Issues

Dashboard widget

As a user, I would like to see all of my x-repo PRs on my dashboard view via widget

Any chance this would be an enhancement to this? or are there alternate tools people are using for this?

Add new filter option for Project selection

Add the ability to filter Pull Requests across projects and not only the current one where the extension is installed. Therefore, it may have impact on the perform to list all PRs across projects, in this case, the suggestion is to include a new dropdown list as Filter with a single selection only.

  • Add a new Filter as dropdown for Projects
    • Allow single selection only for performance purposes
  • Set the current Project as default selection

Add Tags to Pull Request and Search Filter

Hi,
thank your for your nice PR Hub.

Is it possible to add the Tags from a Pull Request to the Hub. We are tagging the PRs and often I want to filter only be a specific Tag.

greetings

Loading Error after 3/23 update

Attempting to load the pull request hub results in the following error after the 3/23 update:
There was an error during the extension load: SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.

No security settings have been changed for the organization or projects

Add setting to open PR in same tab

Love the extension, been using it for a couple weeks and it is invaluable to me to not have to hop around to several repos making sure I don't have any pull requests pending.

I would however like to request a setting to allow us to have the hub open pull requests in the same tab. The default Pull Request screen behaves this way and I would like it to be consistent, but mainly if you have DevOps "installed" as a desktop app (Chrome/Edge) then pull requests open outside of the app in another browser window.

DevOps acts as a single page application and doesn't launch new tabs all over the place.

View completed pull requests via filters

This is a great extension, would love to be able to view completed pull requests via the filters also though. So that I can see the latest contributions from a whole department perspective.

Asking for Code (Read) access is problematic

As a project administrator, the new request for Code (Read) permission is problematic and will cause me to disable the extension.

The latest update triggers a request for Code (Read) permission. I understand that it is necessary to enable cool features of the extension, but it is also problematic for organizations who want to ensure the security and secrecy of their source code.

If there is a way to opt-in to the features that this permission enables so that the permissions request doesn't trigger (not sure if the DevOps plugin model allows that), that would be ideal. Otherwise, some sort of reassurance in release notes on what it's used for and where to inspect the code for its use would go a long way.

Ability to save/share filter

As an AzureDevOps user I want to be able to save my filter and share it (via URL with parameters?) so me or my colleague can see results with the same filter during opening of PR hub without re-applying it from scratch

Support for multiple projects

As a user, I would like to be able to list Pull Requests from particular projects in my organization. Therefore, I would not switch the projects constantly to see the active pull requests.

Uncaught (in promise) TypeError: Cannot read property 'text' of undefined at n.renderSelectedItems (DropdownFilterBarItem.js:98)

The page is failing to load with error: Uncaught (in promise) TypeError: Cannot read property 'text' of undefined at n.renderSelectedItems (DropdownFilterBarItem.js:98). The following line is failing when selection.value[0].beginIndex = -1. This is typically the case when there is no selection in the dropdown.

var selectedText = items[selection.value[0].beginIndex].text || "";

Style issue - key details hidden/truncated from dashboard

Key details like the branch name and code repo are being truncated because the fist column is flexed equally with the other three. Seems like that column could be a higher flex value, or the date column could have a max-width since there's a lot of white-space present.

image

Branch filter wildcards

I tried to filter the pull request list to use as an overview of active PRs for a team in a project with multiple teams. There doesn't seem to be a way of filtering on PR creator belonging to a certain team, so I tried using using the branch paths (Teams use topic/teamname/user/... prefixes for branches) so would like the source branches to be e.g. feature/teamname1/ or feature/teamname1/* to match PRs having any source branch matching the wildcard.

Would it be possible to make the branch filters work like branch entry does elsewhere in DevOps, i.e. a path match with wildcards, such as target = version/* (All pull requests for maintenance versions) or source branch = topic/teamX/* (All pull requests for teamX)?

Filter to exclude Draft

It would be great to be able filter out any draft pull requests so that only non-drafts pulls that have actually been published can be shown in the hub. The current "IsDraft" #65 checkbox under "Alternative Status" changes the view to only show Drafts, which is the the opposite of what I would typically want!

To follow the checkbox pattern used so far I would suggest the following changes:

  1. Create a new "Status" filter
  2. Status filter has checkboxes for Draft, Published only (Omit Completed, Abandoned if this is too many queries as mentioned on previous issue #64)
  3. Selecting either checkboxes filters the view to any pull requests matching either checked status.

Continual Loading Bar

Hi,
The extensions look great but seem it's not working for me.
I have Azure DevOps 2019, and I installed the extension but it shows an endless loading bar...
image

Active Pull Request Row Icon to Policy Status

My team likes to scan the active pull request view for PR that need attention. Instead of the icon showing an individuals status on the PR, can it be set to the PR policy status?

image

Add New Pull Request button

Add a button to create a New Pull Request from the extension itself to avoid switching back to the native Pull request management.

Duplicating the last item in the list

Dashboard duplicates the last Pull Request in the list and shows it in all projects in the team despite it belongs to only one project.

1 - Select a project (Project A) that does not have any PR (Pull Request). See nothing is listed.
2 - Change the project from filter bar to a project (Project B) that has more than one active PR.
3 - Change the project back to the Project A and see that last item from previous one is listed.
4 - Change the project to the Project B and see the last item is duplicated.
5 - Click Refresh button and see it's still duplicated.
6 - Click [Ctrl + F5] to get duplicated item removed.

Tested on Microsoft Edge (Version 79.0.309.71)

License for your project

When you make a creative work (which includes code), the work is under exclusive copyright by default. Unless you include a license that specifies otherwise, nobody else can use, copy, distribute, or modify your work without being at risk of take-downs, shake-downs, or litigation. Once the work has other contributors (each a copyright holder), “nobody” starts including you.

It would be advisable if you added a license for your project. Right now all rights are reserved for you.
https://choosealicense.com/

Add Count of PRs

Implement a counting of Active PRs on the tab name.
Also it would be great to have a small table with some statistics:

  • Number of Active
  • Number of Rejected
  • Number of Waiting for Author
  • Number of Approved (w/o suggestion)
  • Number of No Voted
  • Number of In Progress

DevOps Server not recognized

The code that checks is it is Cloud or Server dose not work by type because we have a Self hosted Server and it returns 4 as type. I am not sure that 4 is Cloud.

private async getOrganizationBaseUrl() {
const url = new URL(document.referrer);
if (DevOps.getHost().type != 4) { //4 - Azure DevOps Cloud
const collectionName = url.pathname.split('/')[2];
this.baseUrl = ${url.origin}/tfs/${collectionName}/;
}
else { .... }

Add new Alternate Status items

  • Completion Readiness based on the alternate Statuses (Comments resolved, PR policies, reviewers)
  • Comments Resolved
  • PR Policies passed

Only the first 100 team projects are displayed

When more than 100 team projects exist in an organization, the projects api will only return the first 100 team projects and then return the x-ms-continuationtoken response header to be used on subsequent calls to get the next batch of team projects. It doesn't appear that the extension is properly handling this situation to get all the team projects.

Can't install extension on devops server 2019

Hey Carlos!
I'm really interested in testing your extension in my daily code reviews. But unfortunately, i couldn't install it to my company's Azure DevOps Server 2019. It says this extension isn't compatible with the Azure DevOps API Version. Detailed error below:

Unable to publish extension due to:

  • Incompatible API version (5.1)

Can you help me?
Thanks!!

Remove from VSS JSON file metadata support for TFS

Currently, the extension is showing that supports all Azure DevOps Cloud, server and TFS. Based on the feedback, it's not working properly for TFS because it requires a newer SDK version which is not present in TFS. Therefore, it's required to explicitly set the support only for Azure DevOps Cloud and Server.

Add icon legends helper

Add an icon legend describing each possible status to facilitate for the developer:

Icons:

  • Success: Means that all required reviewers have approved, PR is ready for completion
  • Warning: Someone has set Waiting for Author
  • Running: Someone already reviewed but required reviewers yet to approve
  • Queued: No one has touched on it yet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.