LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
LR-META-COPYPASTE + LR-MERGE-HEADLESS: paste from previous, copy/paste metadata, merge with last settings, F1 help
Brandon Thomasbe762c726b2f
diff --git a/apps/lightcraft/src/native_menu.rs b/apps/lightcraft/src/native_menu.rsindex fbcd49874..6a66450ab 100644--- a/apps/lightcraft/src/native_menu.rs+++ b/apps/lightcraft/src/native_menu.rs@@ -122,6 +122,18 @@ fn accelerator(sc: &str) -> Option<Accelerator> {"'" => Code::Quote,"," => Code::Comma,"Delete" => Code::Backspace,+ "F1" => Code::F1,+ "F2" => Code::F2,+ "F3" => Code::F3,+ "F4" => Code::F4,+ "F5" => Code::F5,+ "F6" => Code::F6,+ "F7" => Code::F7,+ "F8" => Code::F8,+ "F9" => Code::F9,+ "F10" => Code::F10,+ "F11" => Code::F11,+ "F12" => Code::F12,_ => return None,};Some(Accelerator::new(mods, code))diff --git a/crates/engine/src/cmd/develop.rs b/crates/engine/src/cmd/develop.rsindex bc58c2ea7..7b0a744b9 100644--- a/crates/engine/src/cmd/develop.rs+++ b/crates/engine/src/cmd/develop.rs@@ -540,6 +540,30 @@ pub fn specs() -> Vec<CommandSpec> {Ok(json!({"groups": s.copy_groups}))}),+ cmd!(+ "develop.pastePrevious",+ "Paste Settings from Previous",+ ["Edit"],+ Some("Cmd+Alt+V"),+ "{ids?, groups?: [settingsGroup] (default: the copy groups)} — from the photo that was active before this one",+ has_active,+ |s, p| {+ let c = "develop.pastePrevious";+ let prev =+ s.previous_active.filter(|id| s.catalog.photo(*id).is_some_and(|ph| !ph.deleted)).ok_or_else(|| bad(c, "no previous photo"))?;+ let groups = groups_param(p).unwrap_or_else(|| s.copy_groups.clone());+ let partial = lightcraft_develop::extract_groups(&s.develop_of(prev).unwrap_or_default(), &groups);+ let ids: Vec<PhotoId> = s.targets(p).into_iter().filter(|id| *id != prev).collect();+ let ops = ids+ .iter()+ .filter_map(|id| s.develop_of(*id).map(|d| (*id, d)))+ .filter_map(|(id, d)| s.develop_op(id, lightcraft_develop::apply_partial(&d, &partial, 1.0), "Paste from Previous"))+ .collect::<Vec<_>>();+ let n = ops.len();+ s.commit("Paste from Previous", Op::Batch { ops })?;+ Ok(json!({"changed": n, "from": prev.0}))+ }+ ),cmd!("develop.paste","Paste Edit Settings",diff --git a/crates/engine/src/cmd/library.rs b/crates/engine/src/cmd/library.rsindex 7fd07da89..d64a43fef 100644--- a/crates/engine/src/cmd/library.rs+++ b/crates/engine/src/cmd/library.rs@@ -243,6 +243,37 @@ pub fn specs() -> Vec<CommandSpec> {cmd!(query "library.devices", "Cameras and Cards", [], None, "{} → [{name, path (its DCIM folder), root}] — mounted volumes with a DCIM folder", always, |_, _| {Ok(serde_json::to_value(crate::devices::devices()).unwrap_or_default())}),+ cmd!(query "photo.copyMetadata", "Copy Metadata", ["Photo"], None, "{} — title, caption, copyright, creator, location and keywords of the active photo", has_active, |s, _| {+ let id = s.active().ok_or_else(|| bad("photo.copyMetadata", "no active photo"))?;+ let m = &s.catalog.photo(id).ok_or_else(|| bad("photo.copyMetadata", "no photo"))?.meta;+ let v = json!({"title": m.title, "caption": m.caption, "copyright": m.copyright, "creator": m.creator, "location": m.location, "keywords": m.keywords});+ s.meta_clipboard = Some(v.clone());+ Ok(v)+ }),+ cmd!(+ "photo.pasteMetadata",+ "Paste Metadata",+ ["Photo"],+ None,+ "{ids?, fields?: [title|caption|copyright|creator|location|keywords] (default: all copied)}",+ has_selection,+ |s, p| {+ let c = "photo.pasteMetadata";+ let clip = s.meta_clipboard.clone().ok_or_else(|| bad(c, "nothing copied (photo.copyMetadata)"))?;+ let fields: Option<Vec<String>> =+ p.get("fields").and_then(Value::as_array).map(|a| a.iter().filter_map(Value::as_str).map(str::to_string).collect());+ let mut params = serde_json::Map::new();+ for (k, v) in clip.as_object().into_iter().flatten() {+ if fields.as_ref().is_none_or(|f| f.iter().any(|x| x == k)) {+ params.insert(k.clone(), v.clone());+ }+ }+ if let Some(ids) = p.get("ids") {+ params.insert("ids".into(), ids.clone());+ }+ s.execute("photo.setMeta", &Value::Object(params))+ }+ ),cmd!("library.selectBy","Select by Flag, Rating or Label",diff --git a/crates/engine/src/lib.rs b/crates/engine/src/lib.rsindex c9bd0b5ae..1625e62e8 100644--- a/crates/engine/src/lib.rs+++ b/crates/engine/src/lib.rs@@ -81,6 +81,10 @@ pub struct Session {pub interaction: Option<Interaction>,/// Copied develop settings (partial JSON) for Paste.pub clipboard: Option<Value>,+ /// Copied metadata (`photo.copyMetadata`): photo.setMeta params.+ pub meta_clipboard: Option<Value>,+ /// The photo that was active before the current one (Paste Settings from Previous).+ pub previous_active: Option<PhotoId>,/// Groups last used for Copy (Lightroom remembers them).pub copy_groups: Vec<lightcraft_develop::SettingsGroup>,pub presets: Vec<lightcraft_develop::Preset>,@@ -139,6 +143,8 @@ impl Session {redo: Vec::new(),interaction: None,clipboard: None,+ meta_clipboard: None,+ previous_active: None,copy_groups: lightcraft_develop::SettingsGroup::default_copy(),presets: presets::builtin(),profile_favorites: Vec::new(),@@ -175,9 +181,13 @@ impl Session {let empty = Value::Object(Default::default());let params = if params.is_null() { &empty } else { params };let log_start = self.pending_log.len();+ let was_active = self.active();self.depth += 1;let r = (spec.run)(self, params);self.depth -= 1;+ if self.depth == 0 && was_active.is_some() && self.active() != was_active {+ self.previous_active = was_active;+ }if r.is_ok() && spec.journal && self.depth == 0 {self.journal.push((id.to_string(), params.clone()));if self.journal.len() > 10_000 {diff --git a/crates/engine/src/tests.rs b/crates/engine/src/tests.rsindex a87cd2ab0..1f616c932 100644--- a/crates/engine/src/tests.rs+++ b/crates/engine/src/tests.rs@@ -357,3 +357,27 @@ fn crop_aspect_lock_current_and_toggle() {s.execute("crop.aspect", &json!({"aspect": "toggle"})).unwrap();assert!(active_dev(&s).crop.aspect.is_none(), "toggle unlocks");}++#[test]+fn paste_from_previous_and_copy_paste_metadata() {+ let mut s = demo();+ let ids: Vec<_> = s.visible().iter().copied().take(3).collect();+ s.execute("library.select", &json!({"ids": [ids[0].0]})).unwrap();+ assert!(s.execute("develop.pastePrevious", &json!({})).is_err(), "nothing before");+ s.execute("develop.set", &json!({"values": {"light.exposure": 0.8}})).unwrap();+ s.execute("photo.setMeta", &json!({"title": "Dawn", "keywords": ["sky", "red"], "creator": "Me"})).unwrap();+ s.execute("photo.copyMetadata", &json!({})).unwrap();+ // move on: the first photo becomes "previous"+ s.execute("library.select", &json!({"ids": [ids[1].0]})).unwrap();+ assert_eq!(s.previous_active, Some(ids[0]));+ let r = s.execute("develop.pastePrevious", &json!({})).unwrap();+ assert_eq!(r["from"].as_u64(), Some(ids[0].0));+ assert_eq!(active_dev(&s).light.exposure, 0.8);+ // metadata: only the chosen fields+ s.execute("photo.pasteMetadata", &json!({"fields": ["title", "keywords"]})).unwrap();+ let m = &s.catalog.photo(ids[1]).unwrap().meta;+ assert_eq!((m.title.as_str(), m.keywords.clone()), ("Dawn", vec!["sky".to_string(), "red".to_string()]));+ assert_ne!(m.creator, "Me");+ s.execute("photo.pasteMetadata", &json!({"ids": [ids[2].0]})).unwrap();+ assert_eq!(s.catalog.photo(ids[2]).unwrap().meta.creator, "Me");+}diff --git a/crates/ui-egui/src/links.rs b/crates/ui-egui/src/links.rsindex e03b65c9e..0bb269d03 100644--- a/crates/ui-egui/src/links.rs+++ b/crates/ui-egui/src/links.rs@@ -12,7 +12,11 @@ pub const APP_PAGE: &str = "https://getartcraft.com/apps/lightcraft";pub const GITHUB: &str = "https://github.com/storytold/lightcraft";/// (UI command id, menu label, URL) for each link, in Help-menu order.+/// The user documentation (docs/ in the repository).+pub const HELP: &str = "https://github.com/storytold/lightcraft/tree/main/docs";+pub const LINKS: &[(&str, &str, &str)] = &[+ ("app.help", "LightCraft Help", HELP),("app.discord", "Join the ArtCraft Discord…", DISCORD),("app.website", "LightCraft Website", APP_PAGE),("app.github", "LightCraft on GitHub", GITHUB),diff --git a/crates/ui-egui/src/menubar.rs b/crates/ui-egui/src/menubar.rsindex 9b26ceaef..6ebf71789 100644--- a/crates/ui-egui/src/menubar.rs+++ b/crates/ui-egui/src/menubar.rs@@ -730,6 +730,23 @@ mod tests {assert_eq!(app.session.catalog.photo(id).unwrap().versions[0].name, "Final");}+ #[test]+ fn help_opens_the_docs_and_merge_last_needs_photos() {+ let mut app = app();+ let opened = std::sync::Arc::new(std::sync::Mutex::new(Vec::<String>::new()));+ let o = opened.clone();+ app.services.open_url = Some(Box::new(move |u: &str| {+ o.lock().unwrap().push(u.to_string());+ Ok(())+ }));+ run_item(&mut app, "app.help", Value::Null).unwrap();+ assert_eq!(opened.lock().unwrap().as_slice(), [crate::links::HELP]);+ // merging with the last settings needs a selection of two or more+ let first = app.session.visible()[0].0;+ app.session.execute("library.select", &json!({"ids": [first]})).unwrap();+ assert!(run_item(&mut app, "merge.hdrLast", Value::Null).is_err());+ }+#[test]fn shortcut_text_per_platform() {assert_eq!(shortcut_text("Cmd+Shift+Z", true), "⌘⇧Z");diff --git a/crates/ui-egui/src/menus.rs b/crates/ui-egui/src/menus.rsindex 43d252905..98ae264f2 100644--- a/crates/ui-egui/src/menus.rs+++ b/crates/ui-egui/src/menus.rs@@ -86,6 +86,9 @@ pub const UI_COMMANDS: &[UiCommand] = &[("dialog.mergeHdr", "HDR…", Some("Ctrl+H"), "Photo>Photo Merge"),("dialog.mergePanorama", "Panorama…", Some("Ctrl+M"), "Photo>Photo Merge"),("dialog.mergeHdrPanorama", "HDR Panorama…", None, "Photo>Photo Merge"),+ ("merge.hdrLast", "HDR with Last Settings", Some("Ctrl+Shift+H"), "Photo>Photo Merge"),+ ("merge.panoramaLast", "Panorama with Last Settings", Some("Ctrl+Shift+M"), "Photo>Photo Merge"),+ ("merge.hdrPanoramaLast", "HDR Panorama with Last Settings", None, "Photo>Photo Merge"),("file.addPhotos", "Add Photos…", Some("Cmd+Shift+I"), "File"),("file.addFolder", "Add Folder…", None, "File"),("file.addFromDevice", "Add from Device", None, ""),@@ -95,6 +98,7 @@ pub const UI_COMMANDS: &[UiCommand] = &[("app.settings", "Settings…", Some("Cmd+,"), "Edit"),("app.openLibrary", "Open Library…", None, "File"),("app.about", "About LightCraft", None, "Help"),+ ("app.help", "LightCraft Help", Some("F1"), "Help"),("app.discord", "Join the ArtCraft Discord…", None, "Help"),("app.website", "LightCraft Website", None, "Help"),("app.github", "LightCraft on GitHub", None, "Help"),@@ -557,6 +561,9 @@ pub fn run_ui_command(app: &mut LightcraftApp, id: &str, p: &Value) -> Option<Reapp.ui.dialog = Some(Dialog::Export { opts, full_size, resize, preset_name: String::new(), limit_kb: u("limitKb", 0) as u32, dir });Ok(Value::Null)}+ "merge.hdrLast" => crate::merge::start_last(app, "merge.hdr"),+ "merge.panoramaLast" => crate::merge::start_last(app, "merge.panorama"),+ "merge.hdrPanoramaLast" => crate::merge::start_last(app, "merge.hdrPanorama"),"dialog.mergeHdr" => crate::merge::open(app, "merge.hdr"),"dialog.mergePanorama" => crate::merge::open(app, "merge.panorama"),"dialog.mergeHdrPanorama" => crate::merge::open(app, "merge.hdrPanorama"),@@ -664,7 +671,7 @@ pub fn run_ui_command(app: &mut LightcraftApp, id: &str, p: &Value) -> Option<Re}"app.export" => crate::control::export_active(app, p),"app.showInFinder" => show_in_finder(app),- "app.discord" | "app.website" | "app.github" | "app.artcraft" => {+ "app.discord" | "app.website" | "app.github" | "app.artcraft" | "app.help" => {let url = crate::links::url_of(id).unwrap_or(crate::links::WEBSITE);crate::links::open(app, url)}@@ -698,7 +705,9 @@ pub fn ui_enabled(app: &LightcraftApp, id: &str) -> bool {"view.fullScreenPreview" | "view.infoOverlay" | "view.navigator" => app.session.active().is_some() || app.ui.fullscreen,"app.openLibrary" | "file.addFolder" => app.services.pick_folder.is_some(),"compare.swap" | "compare.makeSelect" => app.ui.view == ViewMode::Compare,- s if s.starts_with("dialog.merge") => app.session.targets(&serde_json::json!({})).len() >= 2 && app.merge.final_task.is_none(),+ s if s.starts_with("dialog.merge") || (s.starts_with("merge.") && s.ends_with("Last")) => {+ app.session.targets(&serde_json::json!({})).len() >= 2 && app.merge.final_task.is_none()+ }_ => true,}}diff --git a/crates/ui-egui/src/merge.rs b/crates/ui-egui/src/merge.rsindex 507eee2fd..f68292b2c 100644--- a/crates/ui-egui/src/merge.rs+++ b/crates/ui-egui/src/merge.rs@@ -105,6 +105,8 @@ pub struct MergeState {pub last_result: Option<Value>,/// Photos the dialog merges (the selection when it opened).pub ids: Vec<PhotoId>,+ /// The options of the last merge started, per kind ("merge.hdr" …): Merge with Last Settings.+ pub last: std::collections::HashMap<String, MergeDialog>,}impl MergeState {@@ -165,9 +167,22 @@ pub fn start_final(app: &mut LightcraftApp, opts: &MergeDialog) -> Result<Value,let ids = app.merge.ids.clone();let task = spawn(app, opts, &ids, false)?;app.merge.final_task = Some(task);+ app.merge.last.insert(opts.command.clone(), opts.clone());Ok(json!({"started": true, "photos": ids.len()}))}+/// Merge the selection without the dialog, with the options last used for `command` (the+/// defaults the first time).+pub fn start_last(app: &mut LightcraftApp, command: &str) -> Result<Value, String> {+ let ids = app.session.targets(&json!({}));+ if ids.len() < 2 {+ return Err("select at least 2 photos to merge".into());+ }+ app.merge.ids = ids;+ let opts = app.merge.last.get(command).cloned().unwrap_or_else(|| MergeDialog::for_command(command));+ start_final(app, &opts)+}+/// Per frame: keep the preview in sync with the dialog's options, collect finished jobs.pub fn poll(app: &mut LightcraftApp, ctx: &egui::Context) {// preview for the open dialogdiff --git a/docs/parity.md b/docs/parity.mdindex a2ec77b0c..b11f4cd06 100644--- a/docs/parity.md+++ b/docs/parity.md@@ -25,17 +25,17 @@ and prints the summary; `cargo xtask parity --write` refreshes the summary table| B. Library management (LIB) | 18 | 1 | 6 | 2 | 9/9 (100%) | 8/9 (89%) || C. Views & navigation (VIEW) | 14 | 0 | 3 | 0 | 9/9 (100%) | 4/4 (100%) || D. Search & filter (FILT) | 7 | 2 | 4 | 0 | 4/4 (100%) | 3/4 (75%) |-| E. Metadata (META) | 3 | 2 | 1 | 0 | 2/2 (100%) | 1/2 (50%) |+| E. Metadata (META) | 4 | 2 | 0 | 0 | 2/2 (100%) | 1/2 (50%) || F. Edit panel — global adjustments (EDIT) | 40 | 2 | 6 | 1 | 28/28 (100%) | 12/14 (86%) || G. Profiles (PROF) | 6 | 0 | 4 | 0 | 3/3 (100%) | 2/3 (67%) || H. Crop & rotate (CROP) | 8 | 1 | 0 | 1 | 6/6 (100%) | 2/3 (67%) || I. Remove / healing (REM) | 6 | 1 | 3 | 2 | 4/4 (100%) | 2/3 (67%) |-| J. Red eye (EYE) | 1 | 0 | 1 | 0 | — | 1/1 (100%) |+| J. Red eye (EYE) | 2 | 0 | 0 | 0 | — | 1/1 (100%) || K. Masking (MASK) | 11 | 5 | 7 | 0 | 8/8 (100%) | 3/5 (60%) |-| L. Presets (PRE) | 4 | 1 | 2 | 1 | 2/2 (100%) | 2/2 (100%) |+| L. Presets (PRE) | 5 | 1 | 1 | 1 | 2/2 (100%) | 2/2 (100%) || M. Versions & history (VER) | 3 | 1 | 1 | 0 | 1/1 (100%) | 2/3 (67%) |-| N. Copy / paste / sync (SYNC) | 4 | 0 | 1 | 0 | 3/3 (100%) | 1/1 (100%) |-| O. Merge (MERGE) | 3 | 0 | 1 | 0 | — | — |+| N. Copy / paste / sync (SYNC) | 4 | 1 | 0 | 0 | 3/3 (100%) | 1/1 (100%) |+| O. Merge (MERGE) | 4 | 0 | 0 | 0 | — | — || P. Enhance (ENH) | 0 | 0 | 2 | 0 | — | — || Q. HDR (HDR) | 0 | 0 | 5 | 0 | — | — || R. Video (VID) | 0 | 0 | 5 | 1 | — | 0/2 (0%) |@@ -45,12 +45,12 @@ and prints the summary; `cargo xtask parity --write` refreshes the summary table| V. Preferences (PREF) | 5 | 0 | 3 | 3 | 1/1 (100%) | 4/4 (100%) || W. Cloud & AI infrastructure (CLOUD / AI) | 0 | 1 | 1 | 2 | — | — || X. Cross-cutting behaviours (BEHAV) | 12 | 1 | 4 | 1 | 8/8 (100%) | 4/5 (80%) |-| Y. Menus | 65 | 9 | 11 | 8 | 46/47 (98%) | 17/23 (74%) |-| Z. Keyboard shortcuts (desktop) | 61 | 12 | 7 | 1 | 49/52 (94%) | 12/23 (52%) |+| Y. Menus | 68 | 9 | 8 | 8 | 46/47 (98%) | 17/23 (74%) |+| Z. Keyboard shortcuts (desktop) | 63 | 12 | 5 | 1 | 49/52 (94%) | 12/23 (52%) || Lightroom Classic extras | 7 | 19 | 53 | 9 | — | 6/21 (29%) |-| **Total** | 297 | 63 | 140 | 37 | 192/198 (97%) | 95/144 (66%) |+| **Total** | 306 | 64 | 130 | 37 | 192/198 (97%) | 95/144 (66%) |-Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **65.7%** of 500 in-scope rows — P0 98.5% of 198 · P1 79.9% of 144 · P2 11.7% of 158.+Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **67.6%** of 500 in-scope rows — P0 98.5% of 198 · P1 79.9% of 144 · P2 17.7% of 158.<!-- /parity:summary -->## Top gaps@@ -192,7 +192,7 @@ under the UI command that wraps it (a no-op error); the UI command now wins.| LR-META-INFO | Info panel | P0 | ✅ | `cmd:panel.info`, `cmd:photo.setMeta`, `crates/ui-egui/src/panels/right.rs` | no flash, creator field, map snippet or people || LR-META-COPYRIGHT-DEFAULT | Default copyright on import | P1 | ✅ | `cmd:library.preferences` (`import.copyright`, `import.creator`), `crates/ui-egui/src/panels/settings.rs` | Settings → Import → Metadata; fills only photos without their own || LR-META-LOCATION | Location editing | P2 | 🟡 | `cmd:photo.setMeta` (`location`) | text field + GPS read; no map, no geocoding |-| LR-META-COPYPASTE | Copy / paste metadata | P2 | ⬜ | | |+| LR-META-COPYPASTE | Copy / paste metadata | P2 | ✅ | `cmd:photo.copyMetadata`, `cmd:photo.pasteMetadata` | title, caption, copyright, creator, location, keywords; `fields` picks a subset || LR-META-XMP | XMP read/write | P0 | ✅ | `cmd:photo.saveMetadataToFile`, `cmd:photo.readMetadataFromFile`, `cmd:library.xmpPreferences`, `crates/engine/src/sidecar.rs`, `docs/xmp-interop.md` | || LR-META-EXIF-FULL | Full EXIF/IPTC [Classic] | P1 | 🟡 | `crates/meta/src/exif.rs`, `crates/meta/src/iptc.rs` | read and written on export; panel shows a subset; no metadata presets |@@ -302,7 +302,7 @@ under the UI command that wraps it (a no-op error); the UI command now wins.| Id | Feature | Tier | Status | Evidence | Missing / notes ||---|---|---|---|---|---|| LR-EYE-RED | Red-eye correction | P1 | ✅ | `cmd:panel.redeye`, `cmd:redeye.add`, `cmd:redeye.delete`, `cmd:redeye.catchlight` | red eye and pet eye (with catchlight) |-| LR-EYE-PET | Pet eye | P2 | ⬜ | | |+| LR-EYE-PET | Pet eye | P2 | ✅ | `cmd:redeye.add` (`pet`), `cmd:redeye.catchlight` | |## K. Masking (MASK)@@ -343,7 +343,7 @@ under the UI command that wraps it (a no-op error); the UI command now wins.| LR-PRE-ADAPTIVE | Adaptive presets | P2 | ⬜ | | || LR-PRE-PREMIUM | Built-in presets (own) | P2 | 🟡 | `crates/engine/src/presets.rs` | 18 own-authored presets || LR-PRE-RECOMMENDED | Community recommendations | OOS | 🚫 | | |-| LR-PRE-ONIMPORT | Apply during import | P2 | ⬜ | | |+| LR-PRE-ONIMPORT | Apply during import | P2 | ✅ | `cmd:library.import` (`preset`) | chosen in the import review; raw / per-camera defaults in Settings |## M. Versions & history (VER)@@ -363,7 +363,7 @@ under the UI command that wraps it (a no-op error); the UI command now wins.| LR-SYNC-CHOOSE | Choose settings to copy | P0 | ✅ | `cmd:dialog.copySettings` | groups are coarser than per-slider || LR-SYNC-PASTE | Paste to selection | P0 | ✅ | `cmd:develop.paste` | no separate "paste selected" (choose at copy time instead) || LR-SYNC-SYNCBTN | Sync active → selected | P1 | ✅ | `cmd:develop.sync` | |-| LR-SYNC-PREVIOUS | Paste from previous / auto sync [Classic] | P2 | ⬜ | | |+| LR-SYNC-PREVIOUS | Paste from previous / auto sync [Classic] | P2 | 🟡 | `cmd:develop.pastePrevious` | ⌥⌘V pastes the previously active photo's settings (copy groups); no auto sync |## O. Merge (MERGE)@@ -372,7 +372,7 @@ under the UI command that wraps it (a no-op error); the UI command now wins.| LR-MERGE-HDR | HDR merge | P2 | ✅ | `cmd:merge.hdr`, `cmd:dialog.mergeHdr` | auto align, deghost None–High + overlay, auto settings, float DNG, Create Stack; JPEG brackets treated as linear || LR-MERGE-PANO | Panorama | P2 | ✅ | `cmd:merge.panorama`, `cmd:dialog.mergePanorama` | spherical/cylindrical/perspective + auto, boundary warp, auto crop, fill edges (diffusion), DNG; no lens model / 360° wrap || LR-MERGE-HDRPANO | HDR panorama | P2 | ✅ | `cmd:merge.hdrPanorama`, `cmd:dialog.mergeHdrPanorama` | brackets grouped by EXIF |-| LR-MERGE-HEADLESS | Merge with last settings | P2 | ⬜ | | |+| LR-MERGE-HEADLESS | Merge with last settings | P2 | ✅ | `cmd:merge.hdrLast`, `cmd:merge.panoramaLast`, `cmd:merge.hdrPanoramaLast` | no dialog; the options of the last merge of that kind (defaults the first time) |## P. Enhance (ENH)@@ -561,7 +561,7 @@ visible menu bar yet: the menu model is only exposed through the control channel| MENU-PHOTO-FLIP | Flip horizontal / vertical | P0 | ✅ | `cmd:photo.flipHorizontal`, `cmd:photo.flipVertical` | || MENU-PHOTO-CREATEVERSION | Create Version… | P1 | ✅ | `cmd:version.create` | no name prompt || MENU-PHOTO-STACK | Stack submenu | P1 | ✅ | `cmd:stack.group`, `cmd:stack.ungroup`, `cmd:dialog.autoStack` | |-| MENU-PHOTO-MERGE | Photo merge submenu | P2 | ⬜ | | |+| MENU-PHOTO-MERGE | Photo merge submenu | P2 | ✅ | `cmd:dialog.mergeHdr`, `cmd:dialog.mergePanorama`, `cmd:dialog.mergeHdrPanorama`, `cmd:merge.hdrLast` | || MENU-PHOTO-ENHANCE | Enhance… | P2 | ⬜ | | || MENU-PHOTO-AUTO | Auto settings | P0 | ✅ | `cmd:develop.auto` | || MENU-PHOTO-BW | Convert to B&W | P0 | ✅ | `cmd:develop.treatment` | |@@ -575,7 +575,7 @@ visible menu bar yet: the menu model is only exposed through the control channel| MENU-WINDOW-MINIMIZE | Minimize / zoom | P1 | 🟡 | | platform window defaults (unverified) || MENU-WINDOW-PANELS | Panel switches | P0 | ✅ | `cmd:panel.edit`, `cmd:panel.crop`, `cmd:panel.remove`, `cmd:panel.masking`, `cmd:panel.presets`, `cmd:panel.versions` | || MENU-WINDOW-BRINGFRONT | Bring all to front | P2 | 🟡 | | platform window defaults (unverified) |-| MENU-HELP-HELP | Help | P2 | ⬜ | | |+| MENU-HELP-HELP | Help | P2 | ✅ | `cmd:app.help` | opens the documentation || MENU-HELP-TUTORIALS | Tutorials | OOS | 🚫 | | || MENU-HELP-WHATSNEW | What's new | P2 | ⬜ | | || MENU-HELP-SHORTCUTS | Keyboard shortcuts | P1 | ✅ | `cmd:app.shortcuts` | |@@ -586,7 +586,7 @@ visible menu bar yet: the menu model is only exposed through the control channel| MENU-CTX-ALBUM | Album / folder row menu | P0 | ✅ | `crates/ui-egui/src/panels/left.rs` (`folder_menu`), `cmd:album.move`, `cmd:dialog.export` | add selected, export album (dialog / preset), move to a folder or the top level, rename, delete; smart albums: update rules || MENU-CTX-MASK | Mask / component menu | P0 | 🟡 | `crates/ui-egui/src/panels/masking.rs` (`mask_menu`) | mask rows: duplicate (and invert), invert, show/hide, move, rename, delete; components: add/subtract only (no per-component menu) || MENU-CTX-PRESET | Preset menu | P1 | ✅ | `crates/ui-egui/src/panels/presets.rs` | favourite, update with current settings, rename, move to group, delete; group: export |-| MENU-CTX-PROFILE | Profile favourites | P2 | ⬜ | | |+| MENU-CTX-PROFILE | Profile favourites | P2 | ✅ | `cmd:profile.favorite`, `crates/ui-egui/src/panels/profiles.rs` | star in the profile browser; Favorites group first || MENU-CTX-VERSION | Version menu | P1 | ✅ | `crates/ui-egui/src/panels/right.rs` (`versions`) | restore, update with current settings, rename, set as before, delete || MENU-CTX-KEYWORD | Keyword chip menu | P1 | ✅ | `crates/ui-egui/src/panels/right.rs`, `cmd:keyword.delete` | remove from photo, show photos with keyword, rename keyword, delete keyword |@@ -646,7 +646,7 @@ From `06-shortcuts.md` part 1. Evidence is our binding; conflicts are explained| KEY-BRUSHFEATHER | Brush feather — ⇧`[` / ⇧`]` | P0 | ✅ | `cmd:brush.featherLess`, `cmd:brush.featherMore` | || KEY-BRUSH | Brush — B | P0 | ✅ | `cmd:tool.brush` | || KEY-HEAL | Remove / heal — H | P0 | ✅ | `cmd:panel.remove` | |-| KEY-MERGE | HDR / panorama merges — ⌃H ⇧⌃H ⌃M ⇧⌃M | P2 | ⬜ | | |+| KEY-MERGE | HDR / panorama merges — ⌃H ⇧⌃H ⌃M ⇧⌃M | P2 | ✅ | `cmd:dialog.mergeHdr`, `cmd:dialog.mergePanorama`, `cmd:merge.hdrLast`, `cmd:merge.panoramaLast` | || KEY-PICK | Pick — Z | P0 | 🟡 | `cmd:photo.pick` | bound to P; Z toggles zoom || KEY-UNFLAG | Unflag — U | P0 | ✅ | `cmd:photo.unflag` | || KEY-REJECT | Reject — X | P0 | ✅ | `cmd:photo.reject` | swaps crop aspect while cropping |@@ -672,7 +672,7 @@ From `06-shortcuts.md` part 1. Evidence is our binding; conflicts are explained| KEY-SLIDER-RESET | Reset slider — double-click | P0 | ✅ | `crates/ui-egui/src/widgets.rs` | || KEY-SLIDER-NUDGE | Nudge slider — ↑/↓ | P1 | 🟡 | `cmd:develop.adjust` | command exists; keyboard nudging unverified || KEY-SHORTCUTS | Shortcut list — ⌘/ | P1 | ✅ | `cmd:app.shortcuts` | |-| KEY-HELP | Help — F1 | P2 | ⬜ | | |+| KEY-HELP | Help — F1 | P2 | ✅ | `cmd:app.help` | || KEY-VIDEO-PLAY | Play/pause video — Space | P1 | ⬜ | | || KEY-ESC | Leave tool / view — Esc | P0 | ✅ | `cmd:view.back` | || KEY-COMMIT | Commit tool — Return | P1 | 🟡 | | edits apply live; no explicit commit step |