mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-25 10:37:11 -06:00
Review of the onDeleted work found that purging photos one at a time built each op list against the unchanged catalog, so photos sharing an album or a stack made Empty Recently Deleted (and Fresh imports) fail with NoStack or leave dangling album entries. Catalog::delete_photos_permanently_ops builds one list for all of them; Empty, Delete Permanently and the Fresh purge use it. Photos an import restores now take part in album/albumName/selection, and undo labels say Restore. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>