#15648·AFFiNE

[Feature Request]: A function can actually delete the data.

Author: KyriaOpheliaCreated Sep 26, 2026Updated Sep 26, 2026
Labelsstory

Description

Happens in V 0.27.4 At first, i just concern to the size of workspace, it's only growing. After some experiment, I found that deleted items in the trash bin still remain, it just hidding on the UI. I can find the original paragraph in exported .affine file.

Experiment protocol

  1. Create a doc with a paragraph of text
  2. Move the doc to Trash
  3. Permanently delete it from Trash
  4. Export the workspace (or extract the relevant blob from the local SQLite database)
  5. Decode the Yjs update binary using Y.applyUpdate() + inspect ydoc.getMap('blocks')
  6. The deleted paragraph's content is still present in plaintext under prop:text

Use case

No response

Anything else?

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Is your content generated by AI?

  • I confirm that the content I submitted was not generated by AI / merely contained minimal AI edits.