-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Che Theia Web View doesn't work properly when a plugin is running in its own sidecar #16870
Comments
I think retrieving the plugin resources for WebView can be done the similar way as we've fixed fetching the icons for the contributed Views #13750 in eclipse-che/che-theia#430 |
It would be great if this could make it into 7.22, as there are a number of extensions that are facing this issue. |
sometimes the files are downloaded/provided by the extension at runtime, but in other scenarios files are already there from the Dockerfile build process.. |
EFanZh/vsextensions/graphviz-preview graphViz Preview needed by DAML extension (WIP) |
Thanks @gattytto for providing a use case. We plan to start investing it next month. |
@vzhukovs FYI: there's upstream Theia PR eclipse-theia/theia#8468 that seems addresses a similar issue with fetching Plug-in resources but related to CodeSnippets files. |
It's fixed in the following PRs: eclipse-che/che-theia#947, eclipse-che/che-theia#946, eclipse-theia/theia#8832, eclipse-theia/theia#8833 |
Hi, I am facing another issue which is related to the above problem. My plugin runs in a sidecar and uses a web view. The issue is, the web view only works once in an active session and if you close the webview and open again it doesn't load the resources. The below is the URL links to the resources from dev tools
|
Describe the bug
Che Theia Web View doesn't work properly when a plugin is running in its own sidecar.
Steps to reproduce
Go to
DIDACT TUTORIALS
view and runDidact Demo
The page is opened in Theia Web View has no styles applied:
Also, the links that calling the commands aren't working.
Expected behavior
The page is opened in Theia Web View should have the styles applied:
The links that calling the commands should work.
Additional context
From the browser's dev console:
Sub-tasks
The text was updated successfully, but these errors were encountered: