Skip to content

Links to the p5.js Editor use specific version #1036

@ksen0

Description

@ksen0

Increasing Access

Currently, learners starting from 2.0 tutorials and examples who open the editor from the site still have to manually open library management settings, and select the 2.0 version. Right now, this is especially relevant for using 2.x, but in the future, it would be important for any non-default version: Once 2.x is default, for example, a tutorial that requires 1.x would also benefit from this feature. From the 1.x website, it should be possible for learners and teachers to open the editor with the correct version already selected, preventing confusion.

Most appropriate sub-area of p5.js?

Home

Feature request details

The ability to specify editor.p5js.org?version=2.0.4 in the URL has recently been implemented - it's not quite live yet, but the issue and PR shows use, and it has been merged.

The prominent links to the editor should specify a version:

The version should not be hardcoded, but use version from p5-version.ts (you can test both with main/1.x, and 2.0/2.x: 2.x p5-version.ts.

NOTE: The PR should target the 2.0 branch first, but will be applied to main as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions