-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
BugError or unexpected behaviorsError or unexpected behaviors
Description
p5.js version
No response
What is your operating system?
None
Web browser and version
No response
Actual Behavior
When changing a sketch’s visibility between Public and Private from the Sketches list, the backend updates the visibility correctly, but the UI does not reflect the change immediately.
The user must manually refresh the page to see the updated visibility status.
- Visibility change is saved correctly on the backend.
- The Sketches list continues to show the previous visibility state.
- A manual page refresh is required to see the correct visibility.
Expected Behavior
- After changing visibility (Public ↔ Private), the UI should update immediately.
- No manual page refresh should be required.
Steps to reproduce
Steps:
- Go to My Sketches
- Click the visibility dropdown for any sketch
- Change visibility from Public → Private or Private → Public
- Observe the visibility label/icon in the list
Snippet:
// Paste your code here :)I am willing to submit a PR!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugError or unexpected behaviorsError or unexpected behaviors