Skip to content
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

Cannot move to file clicked in playground #40

Closed
pionxzh opened this issue Dec 30, 2023 · 3 comments
Closed

Cannot move to file clicked in playground #40

pionxzh opened this issue Dec 30, 2023 · 3 comments
Labels
bug Something isn't working playground

Comments

@pionxzh
Copy link

pionxzh commented Dec 30, 2023

Describe the bug

When I tried playing with the playground, it successfully generated some modules. But when I clicked on files on the left panel, the playground failed to navigate / open the file. I got stuck on the input file.

System: Windows 11
Browser: Chrome 120.0.6099.129

Expected Behaviour

Can click and see the generated file.

Code

NA

Logs

image

@pionxzh pionxzh added the bug Something isn't working label Dec 30, 2023
@j4k0xb
Copy link
Owner

j4k0xb commented Dec 30, 2023

Thanks for reporting, gonna prioritize getting this fixed because it makes unpacking in the playground pretty useless (with no way to downloading either as of now) 😅

I've only tested on Linux so far, but the path polyfill and browsers in general should never use backslashes like in windows

@j4k0xb
Copy link
Owner

j4k0xb commented Dec 30, 2023

Should work now
monaco-editor used different path formats for windows user-agents: https://github.com/microsoft/vscode/blob/83b909c39f0ce5368d3a41a30c609de86a2e106e/src/vs/base/common/uri.ts#L638-L640

@j4k0xb j4k0xb closed this as completed Dec 30, 2023
@pionxzh
Copy link
Author

pionxzh commented Dec 30, 2023

It works now, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working playground
Projects
None yet
Development

No branches or pull requests

2 participants