You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a feature is deleted, its attached photos stay on the device and in the project. This leaves unused files behind, and with the composition relation supported (#2315) more features will be deleted automatically, so more orphaned photos could pile up.
Proposed solution
When a feature is deleted, delete its attached photos as well. This also applies to child features deleted through a composition relation (for example, if a parent feature is deleted, then its children should be deleted as well)
Acceptance criteria
Deleting a feature deletes its attached photo(s)
Deleting a parent with composition children deletes the photo(s) of all deleted child features (including nested ones)
If child features are created while adding a parent, and the parent is discarded without saving, the photos of those child features are deleted too
Current situation
When a feature is deleted, its attached photos stay on the device and in the project. This leaves unused files behind, and with the composition relation supported (#2315) more features will be deleted automatically, so more orphaned photos could pile up.
Proposed solution
When a feature is deleted, delete its attached photos as well. This also applies to child features deleted through a composition relation (for example, if a parent feature is deleted, then its children should be deleted as well)
Acceptance criteria
Related to: #2315