Description
In the current version of Helix Notes, attaching files to notes is very convenient. However, when an attachment/image is removed from a note, or when a note itself is deleted, the corresponding attachment files remain in a hidden folder inside the note’s directory. This leads to orphaned attachments that are no longer referenced by any note, unnecessarily occupying disk space.
Expected behavior
I would like the new version to provide a way to handle these orphaned attachments properly. Specifically, two options would be appreciated:
Automatic cleanup of unreferenced attachments – A built-in mechanism to detect and delete attachment files that are no longer linked to any note (either automatically on a schedule, or via a manual command like "Clean up orphaned attachments").
Delete attachments when deleting a note – An optional setting to automatically delete all associated attachments when a note is deleted.
These features would help keep the note folder tidy and prevent wasted storage space.
Additional context
Currently, attachments are stored in a hidden folder. Removing the reference from the note does not delete the actual file, nor does deleting the note. This makes manual cleanup error-prone and time-consuming.
Thank you for considering this improvement!