processing / processing/p5.js-web-editor

Feature request: auto save before run

Open
#1,405 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Needs Discussion
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

New feature details: Hi! One of the biggest issues I have with web editor is when I accidentally run a faulty code with for example an infinite loop and it a) freezes the whole browser tab so the only thing I could find I can do is to reopen my sketch in a new tab and b) as I didn't save my sketch before faulty code launch, I lose a lot of progress and have to rewrite my code. I think it could be better if there was an option to auto save sketch before each launch in settings.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the web editor's run/launch flow and the settings UI; the issue does not name files, tests, or entry points. Done means an opt-in setting can save the sketch automatically before each launch, preventing progress loss when faulty code freezes the browser tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.