mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-24 10:09:01 -06:00
LR-IMP-ADD-DIALOG: clear deleted import destinations
Keep the stored destination consistent with the picker's None fallback after catalog changes. Extend the real-file import regression to delete the chosen album before confirmation, then verify import membership and undo. Document the helper contracts and destination transitions for review coverage. Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
@@ -289,6 +289,8 @@ In the Import Photos review, `albumPicker:import-album` opens the destination pi
|
||||
opens the current choice's ancestors and shows its full path on the closed button. Smart albums
|
||||
are not import destinations. Type into `albumPickerSearch:import-album` to search folder/album paths;
|
||||
↑ / ↓ and Enter pick a search result, and Escape closes the picker while keeping the review open.
|
||||
If the chosen album is deleted while the review is open, the destination returns to None before
|
||||
confirmation instead of submitting the deleted ID.
|
||||
|
||||
`importAlbum:none` clears the destination and any pending new album name. `importAlbum:new` keeps
|
||||
or initializes that name, edited through `field:importAlbumName`. Choosing an existing album clears
|
||||
|
||||
Reference in New Issue
Block a user