gitpod-io / openvscode-server

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
https://www.gitpod.io/
MIT License
5.1k stars 440 forks source link

excalidraw preview not displayed (no exceptions logged in browser console nor in the container log) #393

Open talsenteam opened 2 years ago

talsenteam commented 2 years ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. Clone this repository: https://github.com/talsenteam/issue-gitpod-openvscode-server-excalidraw-preview-not-displayed
  2. Run docker compose up --detach
  3. Visit http://localhost:3000/?folder=/home/workspace in your browser (preferrably Chromium without Extensions)
  4. Navigate to the extensions store and install the Excalidraw plugin pomdtr.excalidraw-editor
  5. Open the readonly file test.excalidraw in the editor

More info & some screenshots can be found in the linked repository.

Expected Behavior

The excalidraw preview / editor should be usable when working on http://localhost:3000 without even a reverse proxy (that may cause issues due to some CORS, etc settings).

Workaround

As mentioned by @pomdtr : The Excalidraw extension can be installed via the vsix file ( https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor ), then it works.

Notes

Linked Issue: https://github.com/eclipse/openvsx/issues/468 Linked Issue: https://github.com/excalidraw/excalidraw-vscode/issues/56

What do we need to do in order to get the extension to be displayed in the browser? many thanks in advance !!

Possible duplicate of https://github.com/gitpod-io/gitpod/issues/10523

jeanp413 commented 2 years ago

As you pointed correctly this is an issue in openvsx https://github.com/eclipse/openvsx/issues/468, unfortunately deployment of openvsx has been delayed a lot of times, they tried deploying again last week but it ended up in many errors so they had to revert it, there's no ETA when openvsx will be finally deployed successfully but hopefully soon, we are actively working with them :pray:

talsenteam commented 2 years ago

As you pointed correctly this is an issue in openvsx eclipse/openvsx#468, unfortunately deployment of openvsx has been delayed a lot of times, they tried deploying again last week but it ended up in many errors so they had to revert it, there's no ETA when openvsx will be finally deployed successfully but hopefully soon, we are actively working with them pray

Should I remove the issue from here?, because it is more or less a duplicate of https://github.com/gitpod-io/gitpod/issues/10523

jeanp413 commented 2 years ago

Let's keep it open until it's fixed :+1: