Coder Social home page Coder Social logo

alm-rangers / work-item-details-widget-extension Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 14.0 756 KB

View details of work item on your dashboard

Home Page: https://marketplace.visualstudio.com/items?itemName=ms-devlabs.WorkItemDetails&utm_roundup=github

License: Other

HTML 19.97% CSS 4.45% JavaScript 3.76% TypeScript 71.83%

work-item-details-widget-extension's People

Contributors

jeffrey-opdam avatar mikaelkrief avatar nschonni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

work-item-details-widget-extension's Issues

Uncaught TypeError: e.indexOf is not a function

Using:

  • TFS 2018Update2
  • Chrome 66.0.3359.181 and Edge 40.15063.674.0
  • WorkItemDetails Widget 1.1.21

Result:
When I add a "Work Item Details" widget to a dashboard (or edit the existing widget) then I am unable to edit/configure the widget.
The browser console shows:

jquery.min.js:2 Uncaught TypeError: e.indexOf is not a function
at w.fn.init.w.fn.load (jquery.min.js:2)
at jquery.dotdotdot.min.js:13

which originates from http:///tfs/_apis/public/gallery/publisher/ms-devlabs/extension/WorkItemDetails/1.1.21/assetbyname/lib/jquery.dotdotdot.min.js

Can't "Add to dashboard" in other Team contexts

If you have multiple teams under a project in Azure DevOps, and you want to add a workitem to a Dashboard in a Team that is not the default team (or primary, or first created), this is no longer possible.

I assume that it used to work back when you had a Team context while browsing VSTS. But these days, you are not browsing Azure DevOps under a Team context, but a Project context (see this).

The issue is that this line calls the dashboards API with whichever Team ID that comes from VSS.getWebContext().team.id (which will be the default, as we are no longer browsing under the context of a team).

So now we only see the dashboards from the "default" team, and cannot add to other teams' dashboards.

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.