Ability to mirror deletes only of photos not added to albums
What problem does this solve?
As a user, I desire that all photos are backed up to immich, that “important” photos remain on immich even if they’re removed from my device, but deletion of “unimportant” photos is mirrored to immich. Adding a photo to a named album marks it as important.
This is a hybrid between “backup” and “sync” - deletion of “unimportant” (transient) images are synchronized, while “important” images are preserved.
Example 1
-
A user takes Photo1, it appears in the iOS Photos Library and Immich automatically backs it up, causing Photo1 to appear in the users immich timeline.
-
Using the iOS Photos App, the user deletes Photo1.
-
Cairn mirrors that delete to immich, and Photo1 moves to the immich trash for eventual deletion.
Example 2
-
The user takes Photo2, it appears in the iOS Photos Library and Immich automatically backs it up, causing Photo2 to appear in the users immich timeline.
-
Using the iOS Photos App, the user adds Photo2 to an album. If immich is configured to synchronize albums, the next immich sync puts that photo in the corresponding album on the server.
-
Using the iOS Photos App, the user deletes Photo2 (which removes it from the iOS photo Library and from the album.)
-
Because the photo is in a named album, Cairn does not mirror the delete to immich. Photo2 remains in the immich timeline (and in the corresponding immich album, if album synchronization is enabled).
This allows the user to use immich to preserve important photos while being free to delete those photos on device - using the native/familiar iOS workflow - and manage space.
Proposed solution
This could be a global behavior optionin cairn, or the user could mark specific albums for preservation.
Alternatives considered
This entire sync behavior could be incorporated into the immich app.
Anything else
I found your app in the immich discussion thread, thanks for writing and releasing it :)