microsoft / azure-devops-extension-sdk

Client SDK for developing Azure DevOps extensions
MIT License
123 stars 38 forks source link

How is this repo related to the vss-web-extension-sdk #10

Open mkaszub opened 5 years ago

mkaszub commented 5 years ago

I'm having some difficulties understanding how those repos are correlated. Official doku point to the vss-web-extension-sdk as SDK that should be used but on the other hand it looks like it is not maintained any more. In vss-web-extension-sdk we had access to GUI control in this one no. What is the proper way of developing plugins? Can anyone here answer this question?

MisinformedDNA commented 5 years ago

I'm still new to this, but my understanding is the azure-devops-extension-sdk replaces vss-web-extension-sdk and the docs are out of date.

acdvs commented 4 years ago

This repo is another great example of Microsoft attempting to move to modern technologies and methodologies but failing to make anything usable without days worth of prior research and frustration.

The VSS SDK functionality was split into three parts: UI (azure-devops-ui), SDK (azure-devops-extension-sdk), and API (azure-devops-extension-api) -- the latter two being confusingly similar.

Before, everything was done with plain old browser scripts by adding the VSS SDK through a script tag. With these new packages, the official way to build extensions is with React, Webpack, and SCSS.

This repo of samples can help you get started with the basic structure.

pureliumy commented 4 years ago

It's just soooo difficult to develop an Azure DevOps extension, whatever the old SDK and the new one, both of them can't work well, some upset things I met:

I want to know what's the best way to develop a dashboard widget extension with the new SDK.

yunsii commented 3 years ago

@pureliumy I think here is what you want: https://github.com/microsoft/azure-devops-extension-sdk/issues/17#issuecomment-669665342

htekdev commented 2 years ago

@pureliumy, @yunsii checkout my comment over here: https://github.com/microsoft/azure-devops-extension-sdk/issues/22#issuecomment-1133211928

Just opened a PR for the integration between both since it's a reoccurring problem. https://github.com/microsoft/azure-devops-extension-sdk/pull/51

pureliumy commented 2 years ago

@yunsii @htekdev Thanks a lot for your kind help, your solutions look great. But it was already a long time since I left that part of work, and I remember that it was finally resolved by using the old SDK.

And the way I describe the question was not proper and polite, a product needs time to be better, thanks for all your hard works behind.

JamesSkemp commented 1 year ago

Early/mid-2023 getting started experience:

  1. Visit https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-hub?view=azure-devops (via search)
  2. https://www.npmjs.com/package/vss-web-extension-sdk is used and referenced in the code.
  3. Bounce over to https://www.npmjs.com/package/azure-devops-extension-sdk per the notice on the package and elsewhere.
  4. Go to the following, via the README:
    1. https://docs.microsoft.com/en-us/azure/devops/extend/overview
      1. https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-dashboard-widget?view=azure-devops references old plugin.
      2. https://learn.microsoft.com/en-us/azure/devops/extend/develop/add-hub?view=azure-devops is from step 1 above ...
    2. https://docs.microsoft.com/en-us/azure/devops/extend/get-started/node?view=vsts
      1. Uses the old SDK ...
    3. https://github.com/Microsoft/azure-devops-extension-sample
      1. Links over to https://learn.microsoft.com/en-us/azure/devops/extend/overview?view=azure-devops&viewFallbackFrom=vsts (see 4.i.)
      2. Leaves you with the option to clone the samples repo and make sure you're not using docs that point to the old SDK.

Even the main README of this project points to the vss-web-extension-sdk using https://learn.microsoft.com/en-us/azure/devops/extend/get-started/node?view=azure-devops&viewFallbackFrom=vsts ...

This makes me wonder if the azure-devops-extension-sdk is actually ready for production, or if it's still in some sort of rollout phase, which started sometime in 2019.