p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Embedded sketches missing a space between the name of sketch and author

Open glvjr opened this issue 8 months ago • 4 comments

p5.js version

1.11.11

What is your operating system?

Windows

Web browser and version

Chrome Version 146.0.7680.165 (Official Build) (64-bit)

Actual Behavior

Embedded sketches are missing a space between the name of sketch and the author.

Image

Expected Behavior

I am expecting a space between the name of the sketch and the author.

Steps to reproduce

In the Web Editor > File > Share > Embed Sketch> copy

Example of the copy:

<iframe src="https://editor.p5js.org/glv/full/eSnIl-quC"></iframe>

Example here of embedded sketch: https://discourse.processing.org/t/embedded-sketches-missing-a-space-in-title/48271

glvjr avatar Mar 26 '26 13:03 glvjr

This looks like a UI regression.

We could also add an E2E test for the embed flow to catch issues like this automatically in the future.

sanchit955 avatar Mar 26 '26 15:03 sanchit955

i would love to work on this!

Nixxx19 avatar Apr 02 '26 14:04 Nixxx19

@Nixxx19 just assigned this to you!

raclim avatar Apr 10 '26 00:04 raclim

Nice catch — this does look like a UI regression.

Just adding context: I had recently opened #4038 introducing a basic Playwright smoke test for the editor flow. We could potentially extend that to cover embed behavior (like title formatting) to prevent similar regressions going forward.

Happy to collaborate or help test once a fix is in 👍

sanchit955 avatar Apr 10 '26 05:04 sanchit955