rstedman / tfs-pullrequest-dashboard Goto Github PK
View Code? Open in Web Editor NEWtfs dashboard for pullrequests across all repos
License: MIT License
tfs dashboard for pullrequests across all repos
License: MIT License
Hi Stedman,
Your plugin is very handy and i am using it daily but since a few days the plugin seems to generate some issues in the Brave browser (in Chrome it is working fine). I've lowered all shields from the browser but it does not seem to make a difference, perhaps you can look in to it?
Access to XMLHttpRequest at 'https://myprojectname.visualstudio.com/_public/_Bundling/DynamicBundles?scripts=TFS%2FVersionControl%2FGitRestClient%3BVSS%2FIdentities%2FRestClient%3BTFS%2FDashboards%2FWidgetHelpers%3BTFS%2FCore%2FRestClient&v=M144_20190103.4&theme=Default&loc=en-US&json' from origin 'https://ryanstedman.gallerycdn.vsassets.io' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
Nice to have add filter by repository at widget
Navigating to an opened pull request in Chrome from the Pull Request Dashboard (e.g. https://dev.azure.com/org/project/_git/repo/pullrequest/2146), I get the following error. This occurs in Chrome, IE, but not Edge, Firefox. It is happening for all of our developers on both work/personal devices on/off the site network.
This only occurs using the new dev.azure.com URL. The PR loads fine using https://org.visualstudio.com/project/_git/repo/pullrequest/2146.
The error text is:
An unexpected error has occurred within this region of the page. You can try reloading this component or refreshing the entire page.
[Refresh page] [Reload component]
Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://dev.azure.com/org/project/_git/repo/pullrequest/2146' cannot be created in a document with origin 'https://dev.azure.com' and URL 'https://[email protected]/org/project/_git/repo/pullrequest/2146'. Stack in t in u in t in u in div in t in t in div in t in u in div in t in u in div in t in u in div in t in t
Logging out/back in, clearing browser cache, etc doesn't appear to work.
The Pull Request Dashboard fails to load in a TFS 2015 environment. Tested from Chrome 65 and IE 11 on Windows 7.
It looks like it is querying the DOM for "ms.vss-dashboards-web", but an element does not exist that matches this query selector in TFS 2015.
vendor.bundle.min.js:1 Uncaught TypeError: Cannot read property 'selectedHubId' of undefined
at app.bundle.min.js:65178
at Object.execCb (requirejs-2.1.14.min.js:6)
at pt.check (requirejs-2.1.14.min.js:6)
at pt.<anonymous> (requirejs-2.1.14.min.js:6)
at requirejs-2.1.14.min.js:6
at requirejs-2.1.14.min.js:6
at f (requirejs-2.1.14.min.js:6)
at pt.emit (requirejs-2.1.14.min.js:6)
at pt.check (requirejs-2.1.14.min.js:6)
at pt.<anonymous> (requirejs-2.1.14.min.js:6)
On the pull request dashboard (_apps/hub/ryanstedman.tfs-pullrequest-dashboard.tfs-pullrequest-dashboard), please add Assigned to my Team section.
During daily meetings, we review PR and inspect old PR.
Information such as creation date or an indication how old is a PR would be assist to do that requirement.
It looks like the date format for list items has changed from MM/dd/yyyy TO dd/MM/yyyy. Can you change it back MM/dd/yyyy or provide a setting to set the format? Thank you!
The branches and projects should be links to that project.
I was trying to run the extension locally, following the section "running locally" in the readme.md.
However, it appears that the text doesn't match the code:
Also when starting I get several errors, the first one being
[mypath]/tfs-pullrequest-dashboard/node_modules/rxjs/Subject.d.ts(16,22): error TS2415: Class 'Subject<T>' incorrectly extends base class 'Observable<T>'.
Types of property 'lift' are incompatible.
Type '<R>(operator: Operator<T, R>) => Observable<T>' is not assignable to type '<R>(operator: Operator<T, R>) => Observable<R>'.
Type 'Observable<T>' is not assignable to type 'Observable<R>'.
Type 'T' is not assignable to type 'R'.
First of all thank you for your project!
I was playing around a bit with it. Locally it was running well in Chrome without web security (with dev=true
). However when I packaged and uploaded to my TFS for testing (dev=false
), I get the same error :(
Failed to load https://..../tfs/..../_apis/git/repositories: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'null' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
VM89 app.bundle.min.js:63759 Server error RestfulTfsService.handleError @ VM89 app.bundle.min.js:63759
ERROR Error: Uncaught (in promise): Server error at _ (VM85 vendor.bundle.min.js:1) at VM85 vendor.bundle.min.js:1 at rejected (VM89 app.bundle.min.js:63860) at e.invoke (VM85 vendor.bundle.min.js:1) at Object.onInvoke (VM89 app.bundle.min.js:70724) at e.invoke (VM85 vendor.bundle.min.js:1) at n.run (VM85 vendor.bundle.min.js:1) at VM85 vendor.bundle.min.js:1 at e.invokeTask (VM85 vendor.bundle.min.js:1) at Object.onInvokeTask (VM89 app.bundle.min.js:70716)
Could you please help me to understand what I am doing wrong?
I've forked the repository, and have followed the steps outlined in the ReadMe, however I was unable to successfully execute npm run start
due to the following error:
[08:46:54] 'test' errored after 1.05 min
[08:46:54] Error: 1
at formatError (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\gulp\bin\gulp.js:169:10)
at Gulp.<anonymous> (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\gulp\bin\gulp.js:195:15)
at emitOne (events.js:116:13)
at Gulp.emit (events.js:211:7)
at Gulp.Orchestrator._emitTaskDone (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\index.js:264:8)
at C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\index.js:275:23
at finish (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\lib\runTask.js:21:8)
at cb (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\orchestrator\lib\runTask.js:29:3)
at Timeout.removeAllListeners [as _onTimeout] (C:\_source\VSTS_Extensions\tfs-pullrequest-dashboard\node_modules\karma\lib\server.js:380:7)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5)
Commenting out the test
function in the gulp file allowed compile
gulp.task('test', function(callback) {
// new karma.Server({
// configFile: __dirname + '/karma.conf.js',
// singleRun: true
// }, callback).start();
});
However, I'm still unable to start the service. Any help would be appreciated. I've updated the dev fields in appConfig.service.ts
as indicated in the readme
Thanks!
Please display the PR number for each PR on the Pull Request Dashboard.
The repository filters selected to define my view suddenly changes overnight and a lot more repositories are selected in my view without me actually having selected those repositories.
I recently installed an extra set of fonts for other purposes and now the PR dashboard is picking up one of those instead of the regular one. Plus, the used font is a bold italic variant, which is even less readable:
This is with Firefox 60.3.0 on Windows 10.
However I have just found out that I have the same problem on a few other sites, so it might be a more general issue with font management.
When a new PR is created a toast should show up displaying the name of the PR, the project and the creator
When a PR of mine is completed show a notification saying it is completed.
Looks like there is an api to get all PRs assigned to particular team across all repos - https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull%20requests/get%20pull%20requests%20by%20project?view=azure-devops-rest-5.1
Can it be used?
Hi,
We use:
And one of the users sees the following:
He has access to all repositories in the project.
The problem is reproduced in the latest version of Chrome as well as IE, and on different operating systems (Win 10 / Ubuntu).
We tried to re-issued permissions to the project for the user, but it did not help.
Clearing the cache (ctrl+F5) doesn't help.
One HTTP GET 404 error:
Request URL: https://CollectionName/_apis/ExtensionManagement/InstalledExtensions/ryanstedman/tfs-pullrequest-dashboard/Data/Scopes/User/Me/Collections/%24settings/Documents/allProjects
Message: "TF1590005: Document with id $settings does not exist in collection User for {GUID} = dateFormat"
You do not know how to solve this problem?
Accepted denied percentage for periods of time.
Our complaint is most of the things gets approved and we can not measure that.
The standard My pull requests TFS page shows PRs that have been changed since you last looked at them with an indicator to the left of the user thumbnail (blue dot in the screenshot) and also includes text under the right-hand vote indicators describing what has changed (e.g. "1 new vote", "2 new comments, 1 new push").
These are both hugely valuable when looking for which PRs I've already looked at but have been updated.
Now the extension displays only active PRs. Would be nice to have some switch or tab in UI where completed PRs are displayed.
A single extension codebase is used for both the code hub and the dashboard widget. The layout & behavior of the extension display changes slightly based on if the extension is running as a dashboard widget, or as a code hub page. It does this with the following check on the initialization of the extension:
context.getPageContext().hubsContext.selectedHubId.startsWith("ms.vss-dashboards-web");
This is not an officially supported means for determining context, and could change in a future release. This needs to be updated to something officially supported by VSTS.
Using on-premise DevOps server 2019 our clients doesn't have internet-access which means that we can't access the CDN-sources
GET https://cdn.materialdesignicons.com/2.0.46/css/materialdesignicons.min.css net::ERR_EMPTY_RESPONSE
index.html:16 GET https://code.jquery.com/jquery-3.2.1.min.js net::ERR_EMPTY_RESPONSE
index.html:11 GET https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css net::ERR_EMPTY_RESPONSE
index.html:12 GET https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css net::ERR_EMPTY_RESPONSE
index.html:17 GET https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js net::ERR_EMPTY_RESPONSE
Could this be integrated?
Hi,
I installed a plugin in my vsts, but it does not show a pull requests when I configured to Pull Requests to my Team, but the pull request showed in summary (pull request dashboard).
Could you help me?
Current state:
When an open PR is assigned to a group that I am member of, the PR is not showing up under the "Assigned To Me" section.
Target state:
Please show open PRs under the "Assigned To Me" section or introduce a new section with a name such as "Assigned to one of your groups" to show these kind of PRs.
The number of codecoverage badges seems excessive. May I request changing it to a badge with number instead of a badge for every "statuses" response? ex. [codecoverage (19)]
Originally posted by @nertner in #48 (comment)
Recently the dashboard has been very slow to load and when it does the font and layout are not normal and there is a very small grey button with no text on it that displays with a tooltip of "Settings".
Thanks for this awesome plugin.
I have a suggestion for a feature that would make it even more useful:
How about a dashboard tile, showing the number of open PRs, (like the 1ร1 query tiles), which, when clicked, opens the pullrequest dashboard page.
When I switch between TFS projects at my workplace, the selected repos for the PR-Dashboard are reset to selecting all of them.
For Example
Proj - A ( 100 Repos, 5 Selected )
switch to Proj - B
Proj - B ( 10 Repos, 10 Selected )
switch to Proj - A
Proj - A ( 100 Repos, 100 Selected )
Now Azure Devops has dark mode and working pretty well would it be possible to add a configuration to add dark mode to this as well?
Given I am on the dashboard screen
And I have PRs in a master
branch that currently has required reviewers
When I change the master
branch to mark those reviewers optional
Then I expect the reviewers to appear as optional in the Dashboard
master
has branch policies with Reviewer1 and Reviewer2 required.master
branch policies to make them optional.I was expecting to see:
Azure DevOps let the user choose a theme (Dark, Light, Neptune...)
Background of the webpage is always white even when the theme use a dark color.
As a minimal solution, just enable a theme light or dark in dashboard.
Recently, Azure Devops introduced dark theme support.
Would it be possible to also support a dark theme when the user specified this in his/her preferences?
Microsoft Visual Studio Team Foundation Server
Version 15.112.26307.0
Got following error msg:
tfs-pullrequest-dashboard by ryanstedman failed to load.Learn More about this extension, including available support options.
Great extension! Recommend having Favorite Repos grouping separate from Other Open Pull Requests. Favorite Repos would basically work the same as "Other Open Pull Requests" works now. I.e. it uses a sticky filter. That would allow me to separate the ones I really care about, but still see all others.
We're using the extension for the global widget and loving it !
But the dev's are complaining of the new menu entry "Pull request Dashboard".
As nobody is using it we would like an option to disable the dashboard menu entry.
We might have to disable the extension as we're impacting hundreds of dev for one widget.
I can submit a PR if needs be.
Cheers !
I like to be able to visually see that all PRs have the auto-complete done. This way branches are cleaned up. It would be nice to have a visual indicator that it is set.
Installed this extension on TFS 2017 Update 3. Anytime I try to access the Pull Request Dashboard I am prompted for credentials.
Opening developer tools in chrome shows me this:
TF400813: Resource not available for anonymous access. Client authentication required.
type: Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException
isRemoteException: false
errorCode: 0
eventId: 3000
And in the developer tools console I see this also:
ERROR Error: Uncaught (in promise): TFS.WebApi.Exception: TF400813: Resource not available for anonymous access. Client authentication required.
TFS.WebApi.Exception: TF400813: Resource not available for anonymous access. Client authentication required.
I'd like to be able to keep the dashboard page open and have it refresh as the PR is updated.
Is it possible to reduce the permissions scope of this extension from vso.code
to vso.code_status
or does this scope lack anything essential?
vso.code
also include permissions to read the full source code which is quite a dangerous permission to have.
I am evaluating this plugin and was seeing a difference in the default TFS widget and the widget from this plugin.
When I select 'Assigned to my team' I only see the issues that are assigned to the team, but not the issues I have participated in (either as reviewer or as requester). While the default widget does show both.
I really do like the added value of this plugin that it gets all pullrequests to all repositories, but I don't really want to lose the behaviour of the default widget. But since we have a lot of teams, I can't use the option "All". So would it be possible to add an option "Assigned to me or my team"?
Please display the number of Active Comments for each PR in the Pull Request Dashboard.
If the PR has a build - it should show the status of the build. Our team does not even look at a PR if the build is failing because any updates to the branch will reset our reviews.
If the PR has a minimum number of reviewers it should show the list of required users still needed (ie. 1 of 2 required users..)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.