Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Assets Not Removed from AWS S3 on Sketch Deletion

未关闭
#3,754 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
aws, javascript, mongodb

调研方向

首先跟踪从 Sketches 选项卡删除草图的流程,并检查其资产如何从 AWS S3 中移除以及如何在 MongoDB 中表示。复现列出的创建、上传、保存和删除步骤,然后验证 Assets 选项卡中的存储值已更新,并且没有遗留孤立资产。

由索引模型根据 Issue 内容生成。

描述

Bug Needs Steps to Reproduce
p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

Reported by email:

A few days ago, a user reaching out to delete their account noticed that despite deleting all of the sketches and assets from their account, the asset storage bar still indicated used storage space (pictured in partial screenshot below).

Screenshot of empty Asset list but 57% storage used.

After taking a look on AWS S3, it seems like the user still had assets associated with their account, but had no sketches on MongoDB.

Expected Behavior

When a sketch is deleted, the storage bar in the Assets tab should update accordingly.

Steps to reproduce

I wasn't able to reproduce it consistently yet—thoughts on this would be helpful!

I was able to encounter this issue once through the following steps:

  1. Creating a new sketch.
  2. Uploading an asset to the sketch, then saving the sketch.
  3. Going to 'My Sketches' and confirming that the sketch is saved in the 'Sketches' tab and that the asset exists in the 'Assets' tab.
  4. Deleting the sketch through the dropdown icon in the 'Sketches' tab.
  5. Going back to the Assets tab, which did not reflect a change in the storage size amount.
主要语言
JavaScript
星标
1.7k
派生
1.7k
平均合并
5 天 8 小时
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

processing/p5.js-web-editor 的其他 Issue

查看 processing/p5.js-web-editor 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。