processing / processing/p5.js-web-editor

Visibility change not reflected in editor until page reload

Open
#4,291 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug Help Wanted
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.