-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add notification to users to "Generate"/"Regenerate" after loading an API in API Explorer #5712
Comments
When an API is loaded there are no items selected by default for |
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. |
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.
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. |
@baywet and @maisarissi, |
I don't think so. Where is the setting stored? would an uninstall/reinstall of the extension reset it? |
It's stored in the extension's global state and persisted across VS Code sessions. |
So I guess this is fine and we can go that way. |
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)The text was updated successfully, but these errors were encountered: