Skip to content

Unreachable sketch links from collection page #3561

@Flopsey

Description

@Flopsey

p5.js version

1.11.8

What is your operating system?

Mac OS

Web browser and version

Safari Version 18.5

Actual Behavior

The URL of all sketches in a collection is always https://editor.p5js.org/<user>/sketches/undefined.

Expected Behavior

It should link to the actual sketches, so the URL should include the sketch ID instead of undefined.

Steps to reproduce

  1. Create a new collection
  2. Create a new sketch
  3. Save the sketch
  4. Add the sketch to the newly created collection
  5. Open your collection
  6. Try to click on the sketch, the URL is wrong

I can’t consistently reproduce this. Sometimes it works and sometimes not. Try creating new collections and add the existing sketch to that. I’m not sure but it might always only happen with the second collection.

Metadata

Metadata

Assignees

Labels

BugError or unexpected behaviors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions