p5.js version
No response
What is your operating system?
Windows
Web browser and version
No response
Actual Behavior
When I delete an image or other asset from the Assets tab, it disappears from my assets list, but the filename still shows up in the sketch files sidebar. The file itself is gone, so the preview is broken.
Deleting the same file from the sketch files sidebar works correctly. The problem only happens when deleting from Assets.
Expected Behavior
Deleting an asset from the Assets tab should remove it from storage and from every sketch that references it, same as deleting it from sketch files.
Steps to reproduce
- Open a sketch and upload an image.
- Confirm the file appears in both the sketch files sidebar and the Assets tab.
- Go to the Assets tab and delete that asset.
- Open the sketch again and check the sketch files sidebar.
p5.js version
No response
What is your operating system?
Windows
Web browser and version
No response
Actual Behavior
When I delete an image or other asset from the Assets tab, it disappears from my assets list, but the filename still shows up in the sketch files sidebar. The file itself is gone, so the preview is broken.
Deleting the same file from the sketch files sidebar works correctly. The problem only happens when deleting from Assets.
Expected Behavior
Deleting an asset from the Assets tab should remove it from storage and from every sketch that references it, same as deleting it from sketch files.
Steps to reproduce