kiota icon indicating copy to clipboard operation
kiota copied to clipboard

Status handling in the deep-linking integration scenario

Open petrhollayms opened this issue 1 year ago • 2 comments

PROPOSAL TO BE DISCUSSED

We need to provide a status back to the TTK/other VS Code extension about the outcome of the generation in our Kiota VS Code extension:

  • Success: The plugin was successfully generated and TTK extension can continue with the generation process
  • Cancel: User has canceled the generation
  • Error: The plugin could not be generated and the TTK extension shall guide the user to identify the root cause of the problem.

petrhollayms avatar Aug 21 '24 20:08 petrhollayms

By

Error: The plugin could not be generated and the TTK extension shall guide the user to identify the root cause of the problem.

what you mean exactly?

I do believe that if Kiota was unable to generate the plugin, Kiota should tell what's the error.

maisarissi avatar Aug 26 '24 13:08 maisarissi

@maisarissi We can put it on hold given the latest agreements with TTK team, where Kiota extension is proactively triggering the project generation in TTK extension in the integrated scenario for plugins. If there is any error during the plugin generation in Kiota, we simply do display the error in Kiota extension and won't redirect the user back to TTK extension to create the project.

petrhollayms avatar Aug 27 '24 17:08 petrhollayms

closing since we've pivoted to shipping an npm package for the integration instead of relying on deeplinks

baywet avatar Jun 17 '25 13:06 baywet