An all new Glitch editor

It’s still happening for me as well (macOS Chrome). I did “empty cache and hard reload” by opening the dev tools then right-clicking the refresh button.

@dreev If you open glitch.com/edit in an incognito window with no extensions on, does it look the same? And can you tell me the specific version of Mac OS and Chrome you’re using - I’m unable to replicate this on my own machine’s similar setup and I wonder if there’s an extension doing something…

2 Likes

Oh ho, you’re right, it works in an incognito window! I don’t have many Chrome extensions so that’s surprising. And in fact, I tried disabling every Chrome extension and that didn’t help, so I don’t know what’s going on. My full Chrome version is Version 97.0.4692.99 (Official Build) (x86_64) and I’m on macOS Big Sur Version 11.6.2.

Another bug I keep experiencing every now and then in Firefox (haven’t tested other browsers) is that using the “prettier” button to improve the formatting of a JSON file KEEPS the original single line of text but also adds the rest of the newly formatted bit underneath, breaking the file and requiring an undo

What is the original line of text?

I’m going to admit the workflow kind of annoys me when I want to remix a project to make a quick joke for friends or other people. Please, bring back changing the project name without leaving the editor.

I trust in the Glitch team’s effort to improve tooling and have a question about the new interface.

I build educational resources on Glitch, so the change means I’ll need to rewrite and re-record directions to orient my users/learners. My question is if the layout for the new theme is going to be set in stone so that new directions and videos will have a 1:1 mapping? Should we expect the editor interface to continue to change/shift in the near future or can I rely on these icons/locations/label names set in stone?

I a little confused since I’m seeing the “Preview” button in two different places when accessing 2 projects through Incognito Mode in Chrome.

Thanks for any clarity :flags:


Any chance the “Show” button goes back/near to the original location? That would be rad :zap:

3 Likes

It’s just an array of objects containing text strings.

I’m also getting this, in addition to all the other issues… It’s starting to get a little frustrating :frowning:

Just trying the new editor and wanted to add a bit of a bug report.

If you create a new file, say tachyons.css, and paste in the content from https://raw.githubusercontent.com/tachyons-css/tachyons/master/css/tachyons.min.css

Then work in some other files… when I switch back to the tachyons file, the editor freezes. It seems to be stalling on the large file with a long, unformatted line.

When Firefox let me kill the running scripts, I got this trace in the DevTools:

Script terminated by timeout at:
ao@https://glitch.com/edit/assets/codemirror.6b054690.js:4:9016
getTokenAt@https://glitch.com/edit/assets/codemirror.6b054690.js:15:3416
value@https://glitch.com/edit/assets/codemirror.6b054690.js:620:6780
value@https://glitch.com/edit/assets/codemirror.6b054690.js:620:7071
value/<@https://glitch.com/edit/assets/codemirror.6b054690.js:620:5551
value@https://glitch.com/edit/assets/codemirror.6b054690.js:620:5529
value/<@https://glitch.com/edit/assets/codemirror.6b054690.js:620:5689
ht@https://glitch.com/edit/assets/codemirror.6b054690.js:10:10179
operation@https://glitch.com/edit/assets/codemirror.6b054690.js:15:9459
value@https://glitch.com/edit/assets/codemirror.6b054690.js:620:5666
value@https://glitch.com/edit/assets/codemirror.6b054690.js:620:5139
Ar@https://glitch.com/edit/assets/codemirror.6b054690.js:620:1496
Ia@https://glitch.com/edit/assets/codemirror.6b054690.js:620:1799
Te@https://glitch.com/edit/assets/codemirror.6b054690.js:1:10166
ru/e.prototype.refresh<@https://glitch.com/edit/assets/codemirror.6b054690.js:15:9802
be/<@https://glitch.com/edit/assets/codemirror.6b054690.js:10:10447
refreshEditor@https://glitch.com/edit/assets/index.e9e2634f.js:173:3835
refreshAndLint@https://glitch.com/edit/assets/index.e9e2634f.js:173:5723
i@https://glitch.com/edit/assets/index.e9e2634f.js:69:6955
codemirror.6b054690.js:4:9016

This is a new bug which I didn’t experience in the old ed. Maybe your codemirror config is different?

Keep truckin’, Glitch team! :truck::articulated_lorry:

Cheers

1 Like

I also have had some lag happen when I create a new file with a lot of data.
And when I say lag, I mean the kind that won’t let you do anything until Chrome tells you the site isn’t responding.

I totally empathize, we had to replace all of our images in the help center too to reflect the changes! We don’t have plans to change any of the existing UI, but it would be a far reach for me to say anything is “set in stone.”

1 Like

How do I change the name of my project?

Another thing that’s a problem, it’s kind of hard to see what file is currently open through background colors on the sidebar I had to squint to realize it’s a slightly different shade of white (might just be me at night).

1 Like

Not just for you, it helps if you go to settings, and turn on dark mode.

That new inline color picker is popping up in my code where I don’t want it and trying to get rid of it is not easy. eg.
class SceneMain extends Phaser.Scene {
RIGHT HERE!!!colorPickerSQUAREconstructor() {
super(‘SceneMain’);
}

Hi all, I posted an update in here for folks reporting issues with the color picker:

1 Like

Cleared everything out of glitch local storage today and it’s back to normal.

Hello!

We have fixed the bug that was making the sidebar in the project editor skinny and impossible to expand.

If you see this still happening in the project editor please send us a support request!

1 Like

Fix confirmed for me and this is much better but there’s still a regression in that I can no longer drag to resize the width of the sidebar.