Comments (4)
bump
from vss-web-extension-sdk.
I am encountering this as well for a custom dashboard widget that was working fine until all of the sudden it was not. The configuration section does not load at all, so the widget is essentially useless because you can not put it on another dashboard.
We are running Azure DevOps Services, and from what I've seen I have to assume some sort of system update has broken this functionality.
I can't use the the newer azure-devops-extension-sdk, because Dashboard Widgets aren't supported per microsoft/azure-devops-extension-sdk#17
Please either fix this issue in this package, or advise on a timeline for supporting Dashboard Widgets in the azure-devops-extension-sdk.
from vss-web-extension-sdk.
So basically, making dashboard widgets is broken both in the old and the new SDK? This is really strange. I've been trying this as well for some time now and keep hitting roadblocks. Looking at the 2 SDK repos, it seems weird that none of them have had any activity since mid last year. Also the docs for the new API is laking at best. Looks like the whole thing has been 'pulled the plug on'. It smells like MS are about to ditch dashboard widgets? Are both repos just dead and MS is making a brand new thing we dont know about? Would be nice with some kind of official statement from MS about the status of extensions in azure devops.
from vss-web-extension-sdk.
Yeah MSFT really doesn't seem to give a crap about this.
For the record, I was able to fix my widget config by making sure I returned the Promise from Get Queries:
VSS.require(['TFS/Dashboards/WidgetHelpers', 'TFS/WorkItemTracking/RestClient'], (WidgetHelpers, RestClient) => {
WidgetHelpers.IncludeWidgetConfigurationStyles();
VSS.register('OlaWidget.Configuration', () => {
return {
load: (widgetSettings, widgetConfigurationContext) => {
// Retrieve the project name from the web context and use the REST Client
// to retrieve the queries or folders at the project root.
const projectName = VSS.getWebContext().project.name;
return RestClient.getClient().getQueries(projectName, 'Minimal', 1).then(result => {
That last return
is crucial, apparently.
from vss-web-extension-sdk.
Related Issues (20)
- Readme seems self-contradictory regarding what code to put in the html file
- Use WebWorker in WebExtension - Rejected XDM promise with no reject callbacks
- In debug mode, vss-web-extension-sdk request my localhost HOT 1
- getWorkItemTypes gives 401 HOT 1
- What's the difference between vss-web-extension-sdk and azure-devops-extension-sdk? HOT 1
- Not found error getting artifact contents that actually exists.
- Extension page doesn't show properly (overlapped by parent iframe container) HOT 1
- ExtensionDataService, unable to delete document when Id contains a semicolon
- VSS error on init HOT 2
- Adding button on work item page
- Update/Set work item fields
- Uncaught ReferenceError: require is not defined while integrating VSS.SDK.min.js with SystemJS and amd.min.js
- tab contribution to summary page
- URL to Core Client SDK documentation not working HOT 3
- VSS/Controls/Dialogs not suport jQuery UI Widget 1.13.1 error t.uniqueSort is not a function
- ReferenceError: VSS is not defined from Jest
- How to use this SDK in React ?
- How Service Hook with Discord integration?
- Having issues with DevOps OrganizationId moving from extension VSS to SDK. VSS.getWebContext().account.id is not the same as SDK.getHost().id
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vss-web-extension-sdk.