processing / processing/p5.js-web-editor
Visibility change not reflected in editor until page reload
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.7k
- Forks
- 1.7k
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 8
Description
p5.js version
2.3.2
What is your operating system?
Linux
Web browser and version
chrome 140.0.7339.80
Actual Behavior
Changing a sketch's visibility from public to private in the editor page does not update the editor. The new value only appears after a manual reload.
Expected Behavior
The editor should reflect the new visibility immediately.
Steps to reproduce
- Sign in, create a sketch, save it
- Change visibility to Private
- Editor still shows the old value
- Reload, correct value appears
Closely related to: #3864 maybe @Jatin24062005 can tell better ...
https://github.com/user-attachments/assets/bb6ad874-93f4-4585-b97d-958d217c71ea
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.
Research direction
Start by reproducing the visibility change flow in the editor described in the issue, then trace how saving updates the sketch visibility and how the editor reads that value. Review the related issue #3864 for context. Done means changing a sketch from public to private updates the editor without a manual reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100