jsfiddle / jsfiddle-users

Discussions, issues and docs for JSFiddle.
https://jsfiddle.net
314 stars 114 forks source link

Code snippets don't work after the update #1880

Closed adrianszymanski89 closed 2 months ago

adrianszymanski89 commented 2 months ago

Hi

We noticed that all of the examples in our documentation handled by jsFiddle only work if we open them and log in to our account.

After the initial investigation, one of our suspicions was that it would happen if the OS language were not set to English. It's also set as the default on our jsFiddle account, but it didn't make any difference for some people on our team.

Then we noticed that there is an additional request that is probably causing this issue:

image

And here's the error we get after we try to run any of our code examples:

image

oskarkrawczyk commented 2 months ago

@adrianszymanski89 Can you provide a URL to the docs that contains a JSFiddle link? I'd like to check this myself.

That error shouldn't have anything to do with the problem.

oskarkrawczyk commented 2 months ago

Ok, I found the links in your docs but I cannot see anything misbehaving.

only work if we open them and log in to our account.

Can you elaborate on this? I'm logged out and see the examples working. What happends when they "don't work" on your end?

I need more details, since I don't know what I'm looking for.

adrianszymanski89 commented 2 months ago

Hi @oskarkrawczyk

Sure. So, if I try to open any of the examples and I'm not logged in to our account, that's what I see:

image

The error I mentioned is shown when I try to press the "Uruchom" button. Additionally, if I want to click on any other option, let's say tabs placement, that's what I get:

image

My environment:

Google Chrome 128 / macOS Sonoma 14.5

Just so you know, I tested the situation on Safari, and it also doesn't work. However, it works fine on Firefox.

oskarkrawczyk commented 2 months ago

Ok thanks, do you see any JS errors in the console? Or maybe you use content blockers?

It sure does look like part of the editor JS didn't load at all.

oskarkrawczyk commented 2 months ago

Alright I can see the problem, indeed a JS error. Thanks for pointing it out. I'll fix this soon.

adrianszymanski89 commented 2 months ago

@oskarkrawczyk

No ad blockers on my side. Here's the console log:

image

oskarkrawczyk commented 2 months ago

@adrianszymanski89 A fix is being deployed as I write this. Thanks for letting me know about this one - an exceptionally weird bug caused by UI translation strings.

adrianszymanski89 commented 2 months ago

@oskarkrawczyk

Much appreciated! I can confirm that it's fixed. Thanks!