Code-server: Git Graph Extension Broken

Created on 17 Nov 2020  路  6Comments  路  Source: cdr/code-server

Steps to reproduce

  1. Install Git Graph from Extensions tab

  2. Reload VSCode

  3. Open Git Graph

  4. Git Graph showes you broken ui with nothing showing

image

Git graph broked right after upgrading to 3.7.1. Tested in Chrome, Firefox.

Log after opening git graph

GET https://url-of-code-server/webview//vscode-resource/file///root/.local/share/code-server/extensions/mhutchie.git-graph-1.27.0/media/out.min.css net::ERR_ABORTED 404 (Not Found)

GET https://url-of-code-server/webview//vscode-resource/file///root/.local/share/code-server/extensions/mhutchie.git-graph-1.27.0/media/out.min.js net::ERR_ABORTED 404 (Not Found)

GET https://url-of-code-server/webview//vscode-resource/file///root/.local/share/code-server/extensions/mhutchie.git-graph-1.27.0/media/out.min.js net::ERR_ABORTED 404 (Not Found)
  • Web Browser: Chrome 86.0.4240.198 / Firefox Nightly 85.0a1
  • Local OS: Windows 10 Pro x64 / macOS Big Sur
  • Remote OS: Ubuntu 16.04
  • Remote Architecture: x86_64
  • code-server --version: 3.7.1 2bf91ff6a6d1f29a8a93f97684177ccf5388cf34
bug

Most helpful comment

Fixed, will be in the next release!

All 6 comments

This seems to be a general problem with resolving webview URIs; I'm seeing the same issue with multiple extensions.

@pfitzseb sorry for capturing this issue, but could this also affect vscode.image-preview ? I cannot view PNG files, which are in the project folders.

Most likely. Basically every bit of custom UI you can find in VSCode is implemented as a Webview, all of which are broken if they try to load local resources.

Seems to be that #2336 is going to fix this, isn't it ?

Would be nice to see this published quickly :-D

Fixed, will be in the next release!

Thanks for the prompt fix!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nol166 picture nol166  路  3Comments

justmao945 picture justmao945  路  3Comments

tecosaur picture tecosaur  路  3Comments

infogulch picture infogulch  路  3Comments

rcarmo picture rcarmo  路  3Comments