processing / processing/p5.js-web-editor
Bug: Disabled File Options Lack Guidance When Sketch is Unsaved
Open
@saurabh24thakur is already working on this.
Since Apr 10, 2026.
Bug
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
p5.js version
No response
What is your operating system?
Linux
Web browser and version
Chrome: 146.0.7680.80
Actual Behavior
When a sketch is not saved, “Duplicate” and “Add to Collection” are disabled in the File dropdown. However, there is no indication or explanation provided to the user about why these options are unavailable.
This leads to confusion, especially for new users, as the UI does not communicate that saving the sketch is a prerequisite for enabling these actions.
Expected Behavior
- Disabled options should display a tooltip on hover
- Tooltip should clearly state the reason, e.g., “Save the sketch before duplicating or adding to a collection”
Steps to reproduce
- Open the p5.js Web Editor
- Create a new sketch
- Do not save the sketch
- Open the File dropdown
- Observe that options like “Duplicate” and “Add to Collection” are disabled
I wish to work on fixing on this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.