Open maisarissi opened 3 weeks ago
When an API is loaded there are no items selected by default for Generate
to function. Regenerate
would work though
Can I ask a "do not show again" button on this notification? The rationale being that for users who know what they are doing, those helper notifications add noise and should they should be able to disable/get rid of them.
When an API is loaded there are no items selected by default for
Generate
to function.Regenerate
would work though
This would lead to the same experience as when hitting the API Explorer generate button, which is showing a notification saying there is no endpoints selected. Not super great experience, but the issue right now is that people are not completing the flow and the assumption is that they don't know what they need to do.
Can I ask a "do not show again" button on this notification? The rationale being that for users who know what they are doing, those helper notifications add noise and should they should be able to disable/get rid of them.
We absolutely can, we need a way to store that info and not show the notification to that user again though. How can we accomplish that?
We absolutely can, we need a way to store that info and not show the notification to that user again though. How can we accomplish that?
We should look at the documentation to see if there is any local settings storage API for vscode extensions (I think there is, looking at @thewahome to do the research here). Otherwise a configuration file under the user profile should do the trick.
As part of our integrated history with Teams Toolkit when generating API Plugin for existing APIs, we are seeing a drop in how many users go back to TTK after landing in Kiota.
One of our assumptions is that folks are lost and don't know what to do to complete the flow. To increase the number of users being successful when coming from TTK, we should add a notification to help users. However, I do see it as an opportunity and valid scenario for all users.
Proposal
Once an API is loaded, we should show a notification with an action button.
Acceptance Criteria
Click on Generate after selecting the paths in the API Explorer
with a button labeledGenerate
.Generate
button in the notification must do exactly the same as the existingGenerate
button in the API Explorer.Click on Regenerate after selecting the paths in the API Explorer
and a button labeledRegenerate
.Regenerate
button in the notification must do exactly the same as the existingRe-generate
button in the API Explorer.Generate
andRegenerate
buttons in the notification should be aware of the source and complete the flow as expected. (E.g. source=ttk or no source at all)