An all new Glitch editor

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.

@dreev thanks for testing the fix and letting us know!

We will investigate why the sidebar cannot be dragged to resize now. Once it is fixed, I’ll post another update here.

4 Likes

I tried again today and now there’s an invite to edit button too. Yay

2 Likes

Hi! Could glitch please remove the browser native dialogs and put one like the keyboards dialog?

browser-dialog

3 Likes

And also, could Glitch restore the option to change the name and in the editor, please? Oh, and the emojis for the project avatar are random, how can I upload one?

Yeah, this quite often happens and it’s very irritating when you want to preview markdown.

Hi there - we deployed a fix to this a couple of days ago. If you’re still seeing this happen, email support@glitch.com with the browser and operating system you’re using so we can try to replicate!

2 Likes

I just discovered Glitch now enables you to change the project details without going to another page! Thanks!

4 Likes

We just shipped the ability to rename projects in the editor! Thanks to everyone for asking us to bring it back - we think this time around it works a lot better than the previous way it worked.

8 Likes