Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendly names for Processing Sketches like the p5.js web editor #6045

Closed
KartikSoneji opened this issue May 20, 2020 · 5 comments
Closed

Friendly names for Processing Sketches like the p5.js web editor #6045

KartikSoneji opened this issue May 20, 2020 · 5 comments

Comments

@KartikSoneji
Copy link

KartikSoneji commented May 20, 2020

Description

Improvement: Friendly names for Processing Sketches like the p5.js web editor

Expected Behavior

New sketches should have an easy-to-identify name.

Current Behavior

New sketches are named with a number date string, sketch_201231b. This mix of numbers can make it hard to distinguish sketches, especially at a glance.

Steps to Reproduce

  1. Open Processing.
  2. Create a new Sketch.
  3. Create another new Sketch.
  4. Try telling which sketch is which by quickly reading the name.

Your Environment

  • Processing version: 3/4
  • Operating System and OS version: Windows 10, Version 1909, Build 18363.657
  • Other information:

Possible Causes / Solutions

I have started a thread on the Processing forum.
I am interested in submitting a PR for this feature.

This is the current implementation:
image

Please find my branch here.

@KartikSoneji
Copy link
Author

Sorry, accidently closed the issue.

Please find the PR here.

@jeremydouglass
Copy link
Contributor

It is a nice touch that this is the same system used by the p5.js web editor.

Thinking through the various modes and tools, I'm not sure if any of them rely on the sketch_YYMMDDa default name structure -- I can't think how they would.

@KartikSoneji
Copy link
Author

We also have to consider that old users might be used to the sketch_{yy}{mm}{dd}a naming scheme.
It is always nice to provide the option to switch back if possible.

@benfry
Copy link
Member

benfry commented Aug 3, 2022

Implemented for 4.0 beta 9, arriving shortly.

@benfry benfry closed this as completed Aug 3, 2022
@github-actions
Copy link

github-actions bot commented Sep 2, 2022

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants