-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
UX for extension disabled due to api version incompatibility #218646
Comments
You can get the installed extensions and look for the extension that contributes chat and if it has any validation errors. Use following API to get installed extensions
You can get the installed extension model using
|
…has a proposed API incompatibility Fix #218646
This works perfectly, added a notification specifically for Copilot Chat when it has validation errors, thanks |
@sandy081, can you check my PR? I'm a little confused. Both vscode and copilot chat have an api version update in the latest today. When I updated VS Code today, I saw my notification in every window but I'm not expecting that because the extension is up to date and when reloading the window, I don't see the notification again. I think you download the extension ahead of time, but the extension update would have been installed only after the window loads, right? So is there a moment when the old one is still loaded and validated? |
Here is the sequence of things explaining why this has happened:
In short, your prompt is shown during the time frame VS Code checks for updates and installs updates. Instead of the prompt, I would suggest to show an Error badge on Extensions View Container Icon to grasp user's attention. User can then go to the extension view and see what is happening. |
To Continue... We have a limitation of auto updating the extension to the latest version even before updating the VS Code. Because, we do not know the API versions upfront. |
Yeah, that makes sense. I still worry that won't be obvious enough, though. Just really don't want to answer lots of issues from people who had chat suddenly disappear.
Is there any way for me to know when this process is done? Another idea I just had, maybe I can register a welcome view from vscode which would be cleared once copilot chat is able to load and register its participants? |
I kind of like the welcome view idea, I think that is possible to do with what exists today... |
It is hard to know when the updates are being checked and triggered. It also depends on user preferences/state. Once extension is getting updated, you can listen to the installing/change events. Lets have both. Error indicator on extensions view is useful in general. |
That would be nice, I don't think we have the ability to have that kind of badge right now though. Sent a PR for the welcome view, lmk what you think. |
Extracted extensions UX part here - #227047 |
Are there some simple repro steps for this? |
|
Discussed in the copilot sync today- we think that users may be confused when Copilot Chat gets disabled due to an api version incompatibility, because the chat icon disappears, and the only way to find out what happened is to go search for the extension in the viewlet.
I think that the ideal experience would be for me to be able to still register the chat viewlet and show some welcome view content in it, telling users that they need to update the extension. Do do this I need to be able to find out that the extension wasn't loaded due to the version mismatch- is there any way I can get this information, or can it be exposed somehow?
The text was updated successfully, but these errors were encountered: