LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge PR #578
Brandon Thomasd0f042c26962
diff --cc crates/catalog/src/journal.rsindex 3b97c9623,796cd0eaf..dd30b57b0--- a/crates/catalog/src/journal.rs+++ b/crates/catalog/src/journal.rs@@@ -46,7 -46,7 +46,8 @@@//! | 1 | up to v0.2.0 | |//! | 2 | after v0.2.0 | `Op::SetBrowsed`, `Catalog.browsed`, `Photo.local_baseline` |//! | 3 | albums by hand | `Op::SetAlbumOrder`, `Album.order` |-//! | 4 | the keyword list | `Op::SetKeyword`, `Catalog.keyword_list` |+//! | 4 | Reload reads lens data | `Op::SetEmbeddedLens` |++//! | 5 | the keyword list | `Op::SetKeyword`, `Catalog.keyword_list` |//!//! Rules://! - **Bump [`VERSION`]** (and add a row above) in the change that adds an [`Op`] variant or a@@@ -71,7 -71,7 +72,7 @@@ pub const LOG: &str = "catalog.log"const FORMAT: &str = "lightcraft-catalog";/// The catalog format this build writes (and the newest it reads). See the module docs →/// *Format versions*; bump it whenever an [`Op`] variant or a serialized field is added.--pub const VERSION: u32 = 4;++pub const VERSION: u32 = 5;/// When [`Journal::wants_snapshot`] says it's time to compact the log.#[derive(Clone, Copy, Debug)]diff --cc crates/catalog/src/tests_format_version.rsindex 08e9abbc0,9d4b323a6..ecc7de7c1--- a/crates/catalog/src/tests_format_version.rs+++ b/crates/catalog/src/tests_format_version.rs@@@ -60,6 -60,20 +60,20 @@@ fn v2_library_loads_and_is_upgraded()assert_eq!(snapshot_version(&m), u64::from(VERSION));}+ /// A library saved before keywords could be listed on their own opens as it was and is rewritten-/// as v4.++/// in the current format.+ #[test]+ fn v3_library_loads_and_is_upgraded() {+ let (base, log, full) = legacy_parts();+ let m = MemStore::new();+ m.set(SNAPSHOT, format!("{{\"format\":\"lightcraft-catalog\",\"version\":3,\"seq\":2,\"catalog\":{}}}\n", base.to_snapshot()).into_bytes());+ m.set(LOG, log.into_bytes());+ let (_, c, r) = Journal::open(Box::new(m.clone())).unwrap();+ assert_eq!(c.to_snapshot(), full.to_snapshot());+ assert_eq!((r.replayed, r.upgraded_from), (1, Some(3)));- assert_eq!(snapshot_version(&m), 4);++ assert_eq!(snapshot_version(&m), u64::from(VERSION));+ }+#[test]fn versionless_log_only_library_is_upgraded() {let mut c = Catalog::new();@@@ -193,9 -207,9 +207,10 @@@ fn op_variants_are_versioned()| Op::Batch { .. } => 1,Op::SetBrowsed { .. } => 2,Op::SetAlbumOrder { .. } => 3,- Op::SetKeyword { .. } => 4,+ Op::SetEmbeddedLens { .. } => 4,++ Op::SetKeyword { .. } => 5,}}- let newest = since(&Op::SetEmbeddedLens { id: PhotoId(0), lens: None });+ let newest = since(&Op::SetKeyword { path: "travel".into(), info: None });assert_eq!(newest, VERSION, "the newest op's version must be the current format version");}diff --cc crates/engine/src/export.rsindex f7dfcaedd,737b771f6..8ee7f9ac9--- a/crates/engine/src/export.rs+++ b/crates/engine/src/export.rs@@@ -1231,8 -1231,19 +1231,9 @@@ pub fn encode_deep(img: &DeepImage, o:r.map_err(|e| e.to_string())}-/// Parse a shutter speed such as `1/250`, `0.5` or `2"` into seconds.-fn parse_shutter(s: &str) -> Option<f64> {- let s = s.trim().trim_end_matches(['s', '"']).trim();- match s.split_once('/') {- Some((n, d)) => Some(n.trim().parse::<f64>().ok()? / d.trim().parse::<f64>().ok()?),- None => s.parse().ok(),- }- .filter(|v: &f64| v.is_finite() && *v > 0.0)-}-/// The metadata to embed for `photo` under `o.metadata` / `o.remove_location`. `None` = embed nothing.- pub fn export_metadata(photo: &lightcraft_catalog::Photo, o: &ExportOptions) -> Option<Metadata> {+ /// Keywords follow the catalog's keyword list (`Catalog::export_keywords`).+ pub fn export_metadata(photo: &lightcraft_catalog::Photo, catalog: &lightcraft_catalog::Catalog, o: &ExportOptions) -> Option<Metadata> {let m = &photo.meta;let text = |s: &str| (!s.trim().is_empty()).then(|| s.to_string());// copyright info (also under "copyright only"): notice, creator, status, usage terms, info URL@@@ -1366,13 -1376,11 +1369,13 @@@ fn prepare_guarded) -> Result<PreparedExport, String> {let p = session.catalog.photo(id).ok_or("no such photo")?;let file_name = o.file_name_for(p, seq);- let work = if o.format.is_rendered() {+ let (full_px, long) = ((p.width as usize).saturating_mul(p.height as usize), p.width.max(p.height) as usize);+ let (work, weight) = if o.format.is_rendered() {let (w, h) = output_size(p, o);- let meta = export_metadata(p, o);+ let meta = export_metadata(p, &session.catalog, o);let job = session.export_job(id, w, h, o.effective_space(), o.effective_depth())?;- Work::Render(Box::new(RenderWork { job, meta, opts: o.clone() }))+ let weight = render_weight(full_px, long, job.level, w.saturating_mul(h));+ (Work::Render(Box::new(RenderWork { job, meta, opts: o.clone() })), weight)} else {let lightcraft_catalog::Source::File { path } = &p.source else {return Err(format!("{} is a generated demo photo: it has no original file to export", p.file_name));diff --cc crates/ui-egui/locales/de.jsonindex f129711ae,23a5879ed..8ac8a3cb5--- a/crates/ui-egui/locales/de.json+++ b/crates/ui-egui/locales/de.json@@@ -1890,67 -1890,26 +1890,89 @@@"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed","ONNX model": "ONNX model","commercial use subject to GPL conditions": "commercial use subject to GPL conditions",+ "Decrease Rating": "Bewertung verringern",+ "Increase Rating": "Bewertung erhöhen",+ "Click to type a value": "Klicken, um einen Wert einzugeben",+ "Angle": "Winkel",+ "Video": "Video",+ "Copyrighted": "Urheberrechtlich geschützt",+ "Public Domain": "Gemeinfrei",+ "Unknown": "Unbekannt",+ "Landscape (wide)": "Querformat",+ "Portrait (tall)": "Hochformat",+ "Square": "Quadratisch",+ "In Color": "Farbig",+ "No Label": "Ohne Markierung",+ "Choose an album…": "Album wählen…",+ "No albums yet": "Noch keine Alben",+ "Fix the marked rules to save this album.": "Korrigiere die markierten Regeln, um dieses Album zu speichern.",+ "Some rules need fixing (Edit Smart Album…):": "Einige Regeln müssen korrigiert werden (Smart-Album bearbeiten…):",+ "isn't a field rules know": "ist kein bekanntes Feld",+ "can't be tested that way": "lässt sich so nicht prüfen",+ "is yes or no": "ist Ja oder Nein",+ "needs a number": "braucht eine Zahl",+ "needs a time like 1/250 or 2": "braucht eine Zeit wie 1/250 oder 2",+ "needs a date like 2026, 2026-08 or 2026-08-14": "braucht ein Datum wie 2026, 2026-08 oder 2026-08-14",+ "has the first date after the second": "das erste Datum liegt nach dem zweiten",+ "needs two values": "braucht zwei Werte",+ "needs a number more than 0": "braucht eine Zahl größer als 0",+ "needs hours, days, weeks, months or years": "braucht Stunden, Tage, Wochen, Monate oder Jahre",+ "isn't one of the choices": "ist keine der Auswahlmöglichkeiten",+ "needs something to look for (or use “is empty”)": "braucht einen Suchbegriff (oder „ist leer“)",+ "needs something to look for (or use “isn't empty”)": "braucht einen Suchbegriff (oder „ist nicht leer“)",+ "needs text": "braucht Text",+ "can't match any rating from 0 to 5": "passt zu keiner Bewertung von 0 bis 5",+ "needs an album": "braucht ein Album",+ "names an album that no longer exists": "nennt ein Album, das es nicht mehr gibt",+ "can't test a folder; choose an album in it": "kann keinen Ordner prüfen; wähle ein Album darin",+ "This group is empty: add a rule or remove it.": "Diese Gruppe ist leer: Füge eine Regel hinzu oder entferne sie.",+ "needs something to look for (or use “are empty”)": "braucht einen Suchbegriff (oder „sind leer“)",+ "needs something to look for (or use “aren't empty”)": "braucht einen Suchbegriff (oder „sind nicht leer“)",+ "Mo": "Mo",+ "Tu": "Di",+ "We": "Mi",+ "Th": "Do",+ "Fr": "Fr",+ "Sa": "Sa",+ "Su": "So",+ "Pick a date": "Datum wählen",+ "would make this album include itself through other smart albums": "würde dieses Album über andere Smart-Alben sich selbst enthalten lassen",+ "Search albums": "Alben suchen",+ "No albums match": "Kein Album passt",+ "This is the album you're editing": "Das ist das Album, das du bearbeitest",+ "It tests this album, so testing it back would loop": "Es prüft dieses Album; es zurückzuprüfen wäre ein Kreis",+ "Copy Name": "Kopiename",+ "In a Stack": "In einem Stapel",+ "File Extension": "Dateiendung",+ "Video Duration": "Videodauer",+ "Keyword Count": "Anzahl Stichwörter",+ "People Count": "Anzahl Personen",+ "Shutter Speed": "Belichtungszeit",+ "Cropped": "Zugeschnitten",+ "Keywords & People": "Stichwörter & Personen",+ "Description": "Beschreibung",+ "Camera Info": "Kamera-Info",- "Develop": "Bearbeitung"++ "Develop": "Bearbeitung",+ "Keyword List": "Stichwortliste",+ "Filter Keywords": "Stichwörter filtern",+ "No keywords yet": "Noch keine Stichwörter",+ "No keywords match": "Keine passenden Stichwörter",+ "Keyword Name": "Stichwortname",+ "Synonyms": "Synonyme",+ "Separated by commas": "Durch Kommas getrennt",+ "Keyword Tag Options": "Stichwort-Optionen",+ "Include on Export": "Beim Export einschließen",+ "Export Containing Keywords": "Übergeordnete Stichwörter exportieren",+ "Export Synonyms": "Synonyme exportieren",+ "Create Keyword Tag": "Stichwort erstellen",+ "Edit Keyword Tag": "Stichwort bearbeiten",+ "Create": "Erstellen",+ "No photo has it; the keywords below it go too.": "Kein Foto hat es; die Stichwörter darunter werden ebenfalls gelöscht.",+ "Edit Keyword Tag…": "Stichwort bearbeiten…",+ "Put New Keywords Inside This Keyword": "Neue Stichwörter in dieses Stichwort einfügen",+ "Purge Unused Keywords": "Nicht verwendete Stichwörter löschen",+ "Delete Keyword…": "Stichwort löschen…",+ "Drop here for the top level": "Hier ablegen für die oberste Ebene",+ "Their photos and the keywords below them come together under one keyword.": "Ihre Fotos und die Stichwörter darunter kommen unter einem Stichwort zusammen.",+ "Select photos to give them keywords.": "Wählen Sie Fotos aus, um ihnen Stichwörter zu geben."}diff --cc crates/ui-egui/locales/es.jsonindex 55135fea5,c8cd8f87d..176472c27--- a/crates/ui-egui/locales/es.json+++ b/crates/ui-egui/locales/es.json@@@ -1735,67 -1735,26 +1735,89 @@@"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed","ONNX model": "ONNX model","commercial use subject to GPL conditions": "commercial use subject to GPL conditions",+ "Decrease Rating": "Reducir valoración",+ "Increase Rating": "Aumentar valoración",+ "Click to type a value": "Hacer clic para escribir un valor",+ "Angle": "Ángulo",+ "Video": "Vídeo",+ "Copyrighted": "Con copyright",+ "Public Domain": "Dominio público",+ "Unknown": "Desconocido",+ "Landscape (wide)": "Horizontal (apaisada)",+ "Portrait (tall)": "Vertical (retrato)",+ "Square": "Cuadrada",+ "In Color": "En color",+ "No Label": "Sin etiqueta",+ "Choose an album…": "Elige un álbum…",+ "No albums yet": "Aún no hay álbumes",+ "Fix the marked rules to save this album.": "Corrige las reglas marcadas para guardar este álbum.",+ "Some rules need fixing (Edit Smart Album…):": "Hay reglas que corregir (Editar álbum inteligente…):",+ "isn't a field rules know": "no es un campo conocido",+ "can't be tested that way": "no se puede comprobar así",+ "is yes or no": "es Sí o No",+ "needs a number": "necesita un número",+ "needs a time like 1/250 or 2": "necesita un tiempo como 1/250 o 2",+ "needs a date like 2026, 2026-08 or 2026-08-14": "necesita una fecha como 2026, 2026-08 o 2026-08-14",+ "has the first date after the second": "la primera fecha es posterior a la segunda",+ "needs two values": "necesita dos valores",+ "needs a number more than 0": "necesita un número mayor que 0",+ "needs hours, days, weeks, months or years": "necesita horas, días, semanas, meses o años",+ "isn't one of the choices": "no es ninguna de las opciones",+ "needs something to look for (or use “is empty”)": "necesita algo que buscar (o usa «está vacío»)",+ "needs something to look for (or use “isn't empty”)": "necesita algo que buscar (o usa «no está vacío»)",+ "needs text": "necesita texto",+ "can't match any rating from 0 to 5": "no coincide con ninguna valoración de 0 a 5",+ "needs an album": "necesita un álbum",+ "names an album that no longer exists": "indica un álbum que ya no existe",+ "can't test a folder; choose an album in it": "no puede comprobar una carpeta; elige un álbum dentro",+ "This group is empty: add a rule or remove it.": "Este grupo está vacío: añade una regla o quítalo.",+ "needs something to look for (or use “are empty”)": "necesita algo que buscar (o usa «están vacíos»)",+ "needs something to look for (or use “aren't empty”)": "necesita algo que buscar (o usa «no están vacíos»)",+ "Mo": "Lu",+ "Tu": "Ma",+ "We": "Mi",+ "Th": "Ju",+ "Fr": "Vi",+ "Sa": "Sá",+ "Su": "Do",+ "Pick a date": "Elegir una fecha",+ "would make this album include itself through other smart albums": "haría que este álbum se incluyera a sí mismo a través de otros álbumes inteligentes",+ "Search albums": "Buscar álbumes",+ "No albums match": "Ningún álbum coincide",+ "This is the album you're editing": "Es el álbum que estás editando",+ "It tests this album, so testing it back would loop": "Comprueba este álbum, así que comprobarlo a su vez crearía un bucle",+ "Copy Name": "Nombre de la copia",+ "In a Stack": "En una pila",+ "File Extension": "Extensión del archivo",+ "Video Duration": "Duración del vídeo",+ "Keyword Count": "Número de palabras clave",+ "People Count": "Número de personas",+ "Shutter Speed": "Velocidad de obturación",+ "Cropped": "Recortada",+ "Keywords & People": "Palabras clave y personas",+ "Description": "Descripción",+ "Camera Info": "Información de la cámara",- "Develop": "Edición"++ "Develop": "Edición",+ "Keyword List": "Lista de palabras clave",+ "Filter Keywords": "Filtrar palabras clave",+ "No keywords yet": "Aún no hay palabras clave",+ "No keywords match": "Ninguna palabra clave coincide",+ "Keyword Name": "Nombre de la palabra clave",+ "Synonyms": "Sinónimos",+ "Separated by commas": "Separados por comas",+ "Keyword Tag Options": "Opciones de palabra clave",+ "Include on Export": "Incluir al exportar",+ "Export Containing Keywords": "Exportar palabras clave contenedoras",+ "Export Synonyms": "Exportar sinónimos",+ "Create Keyword Tag": "Crear palabra clave",+ "Edit Keyword Tag": "Editar palabra clave",+ "Create": "Crear",+ "No photo has it; the keywords below it go too.": "Ninguna foto la tiene; las palabras clave que contiene también se eliminan.",+ "Edit Keyword Tag…": "Editar palabra clave…",+ "Put New Keywords Inside This Keyword": "Poner las nuevas palabras clave dentro de esta",+ "Purge Unused Keywords": "Eliminar palabras clave no usadas",+ "Delete Keyword…": "Eliminar palabra clave…",+ "Drop here for the top level": "Soltar aquí para el nivel superior",+ "Their photos and the keywords below them come together under one keyword.": "Sus fotos y las palabras clave que contienen quedan bajo una sola palabra clave.",+ "Select photos to give them keywords.": "Selecciona fotos para darles palabras clave."}diff --cc crates/ui-egui/locales/ja.jsonindex 1829c183f,e8610ea0b..1a3df9992--- a/crates/ui-egui/locales/ja.json+++ b/crates/ui-egui/locales/ja.json@@@ -1735,69 -1735,26 +1735,91 @@@"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed","ONNX model": "ONNX model","commercial use subject to GPL conditions": "commercial use subject to GPL conditions",+ "Decrease Rating": "評価を下げる",+ "Increase Rating": "評価を上げる",+ "Click to type a value": "クリックして値を入力",+ "Angle": "角度",+ "Video": "動画",+ "Copyrighted": "著作権あり",+ "Public Domain": "パブリックドメイン",+ "Unknown": "不明",+ "Landscape (wide)": "横長",+ "Portrait (tall)": "縦長",+ "Square": "正方形",+ "In Color": "カラー",+ "No Label": "ラベルなし",+ "smart album value|Yes": "あり",+ "smart album value|No": "なし",+ "In a Stack": "スタック",+ "Cropped": "切り抜き",+ "Choose an album…": "アルバムを選択…",+ "No albums yet": "アルバムはまだありません",+ "Fix the marked rules to save this album.": "このアルバムを保存するには、印の付いた条件を修正してください。",+ "Some rules need fixing (Edit Smart Album…):": "修正が必要な条件があります(スマートアルバムを編集…):",+ "isn't a field rules know": "不明な項目です",+ "can't be tested that way": "この方法では判定できません",+ "is yes or no": "「あり」か「なし」を選んでください",+ "needs a number": "数値が必要です",+ "needs a time like 1/250 or 2": "1/250 や 2 のようなシャッター速度が必要です",+ "needs a date like 2026, 2026-08 or 2026-08-14": "2026、2026-08、2026-08-14 のような日付が必要です",+ "has the first date after the second": "最初の日付が2番目の日付より後です",+ "needs two values": "2つの値が必要です",+ "needs a number more than 0": "0より大きい数値が必要です",+ "needs hours, days, weeks, months or years": "時間・日・週・月・年のいずれかが必要です",+ "isn't one of the choices": "選択肢にありません",+ "needs something to look for (or use “is empty”)": "検索する語句が必要です(または「が空」を使用)",+ "needs something to look for (or use “isn't empty”)": "検索する語句が必要です(または「が空でない」を使用)",+ "needs text": "文字列が必要です",+ "can't match any rating from 0 to 5": "0〜5 のどの評価にも一致しません",+ "needs an album": "アルバムを選択してください",+ "names an album that no longer exists": "存在しないアルバムが指定されています",+ "can't test a folder; choose an album in it": "フォルダーは判定できません。中のアルバムを選択してください",+ "This group is empty: add a rule or remove it.": "このグループは空です。条件を追加するか、グループを削除してください。",+ "needs something to look for (or use “are empty”)": "検索する語句が必要です(または「が空」を使用)",+ "needs something to look for (or use “aren't empty”)": "検索する語句が必要です(または「が空でない」を使用)",+ "Mo": "月",+ "Tu": "火",+ "We": "水",+ "Th": "木",+ "Fr": "金",+ "Sa": "土",+ "Su": "日",+ "Pick a date": "日付を選択",+ "would make this album include itself through other smart albums": "ほかのスマートアルバムを通じて、このアルバム自身を含むことになります",+ "Search albums": "アルバムを検索",+ "No albums match": "一致するアルバムはありません",+ "This is the album you're editing": "編集中のアルバムです",+ "It tests this album, so testing it back would loop": "このアルバムを条件にしているため、逆に指定すると循環します",+ "Copy Name": "コピー名",+ "File Extension": "拡張子",+ "Video Duration": "ビデオの長さ",+ "Keyword Count": "キーワード数",+ "People Count": "人数",+ "Shutter Speed": "シャッター速度",+ "Keywords & People": "キーワードと人物",+ "Description": "説明",+ "Camera Info": "カメラ情報",- "Develop": "編集"++ "Develop": "編集",+ "Keyword List": "キーワードリスト",+ "Filter Keywords": "キーワードを絞り込む",+ "No keywords yet": "キーワードはまだありません",+ "No keywords match": "一致するキーワードはありません",+ "Keyword Name": "キーワード名",+ "Synonyms": "同義語",+ "Separated by commas": "カンマ区切り",+ "Keyword Tag Options": "キーワードタグのオプション",+ "Include on Export": "書き出し時に含める",+ "Export Containing Keywords": "親キーワードを書き出す",+ "Export Synonyms": "同義語を書き出す",+ "Create Keyword Tag": "キーワードタグを作成",+ "Edit Keyword Tag": "キーワードタグを編集",+ "Create": "作成",+ "No photo has it; the keywords below it go too.": "このキーワードを持つ写真はありません。下位のキーワードも削除されます。",+ "Edit Keyword Tag…": "キーワードタグを編集…",+ "Put New Keywords Inside This Keyword": "新しいキーワードをこのキーワードの中に入れる",+ "Purge Unused Keywords": "使用されていないキーワードを削除",+ "Delete Keyword…": "キーワードを削除…",+ "Drop here for the top level": "ここにドロップすると最上位に移動",+ "Their photos and the keywords below them come together under one keyword.": "写真と下位のキーワードが1つのキーワードにまとめられます。",+ "Select photos to give them keywords.": "写真を選択するとキーワードを付けられます。"}diff --cc crates/ui-egui/locales/pt-br.jsonindex 6ed8807cd,7dddca874..9fcff0c23--- a/crates/ui-egui/locales/pt-br.json+++ b/crates/ui-egui/locales/pt-br.json@@@ -1735,67 -1735,26 +1735,89 @@@"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed","ONNX model": "ONNX model","commercial use subject to GPL conditions": "commercial use subject to GPL conditions",+ "Decrease Rating": "Diminuir avaliação",+ "Increase Rating": "Aumentar avaliação",+ "Click to type a value": "Clique para digitar um valor",+ "Angle": "Ângulo",+ "Video": "Vídeo",+ "Copyrighted": "Protegido por direitos autorais",+ "Public Domain": "Domínio público",+ "Unknown": "Desconhecido",+ "Landscape (wide)": "Paisagem (horizontal)",+ "Portrait (tall)": "Retrato (vertical)",+ "Square": "Quadrada",+ "In Color": "Colorida",+ "No Label": "Sem rótulo",+ "Choose an album…": "Escolha um álbum…",+ "No albums yet": "Ainda não há álbuns",+ "Fix the marked rules to save this album.": "Corrija as regras marcadas para salvar este álbum.",+ "Some rules need fixing (Edit Smart Album…):": "Algumas regras precisam ser corrigidas (Editar álbum inteligente…):",+ "isn't a field rules know": "não é um campo conhecido",+ "can't be tested that way": "não pode ser testado assim",+ "is yes or no": "é Sim ou Não",+ "needs a number": "precisa de um número",+ "needs a time like 1/250 or 2": "precisa de um tempo como 1/250 ou 2",+ "needs a date like 2026, 2026-08 or 2026-08-14": "precisa de uma data como 2026, 2026-08 ou 2026-08-14",+ "has the first date after the second": "a primeira data é posterior à segunda",+ "needs two values": "precisa de dois valores",+ "needs a number more than 0": "precisa de um número maior que 0",+ "needs hours, days, weeks, months or years": "precisa de horas, dias, semanas, meses ou anos",+ "isn't one of the choices": "não é nenhuma das opções",+ "needs something to look for (or use “is empty”)": "precisa de algo para procurar (ou use “está vazio”)",+ "needs something to look for (or use “isn't empty”)": "precisa de algo para procurar (ou use “não está vazio”)",+ "needs text": "precisa de texto",+ "can't match any rating from 0 to 5": "não corresponde a nenhuma avaliação de 0 a 5",+ "needs an album": "precisa de um álbum",+ "names an album that no longer exists": "indica um álbum que não existe mais",+ "can't test a folder; choose an album in it": "não pode testar uma pasta; escolha um álbum dentro dela",+ "This group is empty: add a rule or remove it.": "Este grupo está vazio: adicione uma regra ou remova-o.",+ "needs something to look for (or use “are empty”)": "precisa de algo para procurar (ou use “estão vazios”)",+ "needs something to look for (or use “aren't empty”)": "precisa de algo para procurar (ou use “não estão vazios”)",+ "Mo": "Seg",+ "Tu": "Ter",+ "We": "Qua",+ "Th": "Qui",+ "Fr": "Sex",+ "Sa": "Sáb",+ "Su": "Dom",+ "Pick a date": "Escolher uma data",+ "would make this album include itself through other smart albums": "faria este álbum incluir a si mesmo por meio de outros álbuns inteligentes",+ "Search albums": "Pesquisar álbuns",+ "No albums match": "Nenhum álbum corresponde",+ "This is the album you're editing": "É o álbum que você está editando",+ "It tests this album, so testing it back would loop": "Ele testa este álbum, então testá-lo de volta criaria um ciclo",+ "Copy Name": "Nome da cópia",+ "In a Stack": "Em uma pilha",+ "File Extension": "Extensão do arquivo",+ "Video Duration": "Duração do vídeo",+ "Keyword Count": "Número de palavras-chave",+ "People Count": "Número de pessoas",+ "Shutter Speed": "Velocidade do obturador",+ "Cropped": "Recortada",+ "Keywords & People": "Palavras-chave e pessoas",+ "Description": "Descrição",+ "Camera Info": "Informações da câmera",- "Develop": "Edição"++ "Develop": "Edição",+ "Keyword List": "Lista de palavras-chave",+ "Filter Keywords": "Filtrar palavras-chave",+ "No keywords yet": "Ainda não há palavras-chave",+ "No keywords match": "Nenhuma palavra-chave corresponde",+ "Keyword Name": "Nome da palavra-chave",+ "Synonyms": "Sinônimos",+ "Separated by commas": "Separados por vírgulas",+ "Keyword Tag Options": "Opções da palavra-chave",+ "Include on Export": "Incluir na exportação",+ "Export Containing Keywords": "Exportar palavras-chave que a contêm",+ "Export Synonyms": "Exportar sinônimos",+ "Create Keyword Tag": "Criar palavra-chave",+ "Edit Keyword Tag": "Editar palavra-chave",+ "Create": "Criar",+ "No photo has it; the keywords below it go too.": "Nenhuma foto a tem; as palavras-chave abaixo dela também são excluídas.",+ "Edit Keyword Tag…": "Editar palavra-chave…",+ "Put New Keywords Inside This Keyword": "Colocar novas palavras-chave dentro desta",+ "Purge Unused Keywords": "Excluir palavras-chave não usadas",+ "Delete Keyword…": "Excluir palavra-chave…",+ "Drop here for the top level": "Solte aqui para o nível superior",+ "Their photos and the keywords below them come together under one keyword.": "Suas fotos e as palavras-chave abaixo delas ficam sob uma só palavra-chave.",+ "Select photos to give them keywords.": "Selecione fotos para dar palavras-chave a elas."}diff --cc crates/ui-egui/locales/ru.jsonindex f5323ff1f,57440fe76..d9af04368--- a/crates/ui-egui/locales/ru.json+++ b/crates/ui-egui/locales/ru.json@@@ -1408,103 -1408,27 +1408,126 @@@"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed","ONNX model": "ONNX model","commercial use subject to GPL conditions": "commercial use subject to GPL conditions",+ "Decrease Rating": "Уменьшить оценку",+ "Increase Rating": "Увеличить оценку",+ "Click to type a value": "Щёлкните, чтобы ввести значение",+ "Angle": "Угол",+ "Raw": "RAW",+ "Video": "Видео",+ "Copyrighted": "Защищено авторским правом",+ "Public Domain": "Общественное достояние",+ "Unknown": "Неизвестно",+ "Landscape (wide)": "Альбомная",+ "Portrait (tall)": "Книжная",+ "Square": "Квадратная",+ "In Color": "Цветное",+ "No Label": "Без метки",+ "Choose an album…": "Выберите альбом…",+ "No albums yet": "Альбомов пока нет",+ "Fix the marked rules to save this album.": "Исправьте отмеченные условия, чтобы сохранить альбом.",+ "Some rules need fixing (Edit Smart Album…):": "Некоторые условия нужно исправить (Изменить смарт-альбом…):",+ "isn't a field rules know": "неизвестное поле",+ "can't be tested that way": "так проверить нельзя",+ "is yes or no": "только «Да» или «Нет»",+ "needs a number": "нужно число",+ "needs a time like 1/250 or 2": "нужна выдержка вроде 1/250 или 2",+ "needs a date like 2026, 2026-08 or 2026-08-14": "нужна дата вроде 2026, 2026-08 или 2026-08-14",+ "has the first date after the second": "первая дата позже второй",+ "needs two values": "нужны два значения",+ "needs a number more than 0": "нужно число больше 0",+ "needs hours, days, weeks, months or years": "нужны часы, дни, недели, месяцы или годы",+ "isn't one of the choices": "нет среди вариантов",+ "needs something to look for (or use “is empty”)": "нужно указать, что искать (или выберите «пусто»)",+ "needs something to look for (or use “isn't empty”)": "нужно указать, что искать (или выберите «не пусто»)",+ "needs text": "нужен текст",+ "can't match any rating from 0 to 5": "не подходит ни к одной оценке от 0 до 5",+ "needs an album": "нужен альбом",+ "names an album that no longer exists": "указан альбом, которого больше нет",+ "can't test a folder; choose an album in it": "нельзя проверять папку; выберите альбом в ней",+ "This group is empty: add a rule or remove it.": "Эта группа пуста: добавьте условие или удалите её.",+ "needs something to look for (or use “are empty”)": "нужно указать, что искать (или выберите «пусты»)",+ "needs something to look for (or use “aren't empty”)": "нужно указать, что искать (или выберите «не пусты»)",+ "are empty": "пусты",+ "aren't empty": "не пусты",+ "contains": "содержит",+ "doesn't contain": "не содержит",+ "ends with": "заканчивается на",+ "is": "равно",+ "is <": "меньше",+ "is >": "больше",+ "is after": "после",+ "is before": "до",+ "is between": "между",+ "is empty": "пусто",+ "is in the last": "за последние",+ "is unknown": "неизвестна",+ "is ≤": "не больше",+ "is ≥": "не меньше",+ "isn't": "не равно",+ "isn't empty": "не пусто",+ "isn't in the last": "не за последние",+ "starts with": "начинается с",+ "Mo": "Пн",+ "Tu": "Вт",+ "We": "Ср",+ "Th": "Чт",+ "Fr": "Пт",+ "Sa": "Сб",+ "Su": "Вс",+ "Pick a date": "Выбрать дату",+ "would make this album include itself through other smart albums": "альбом включал бы сам себя через другие смарт-альбомы",+ "Search albums": "Поиск альбомов",+ "No albums match": "Нет подходящих альбомов",+ "This is the album you're editing": "Это альбом, который вы изменяете",+ "It tests this album, so testing it back would loop": "Он проверяет этот альбом, поэтому обратная проверка создаст цикл",+ "Copy Name": "Имя копии",+ "In a Stack": "В стопке",+ "File Extension": "Расширение файла",+ "Video Duration": "Длительность видео",+ "Keyword Count": "Число ключевых слов",+ "People Count": "Число людей",+ "Shutter Speed": "Выдержка",+ "Cropped": "Кадрировано",+ "Keywords & People": "Ключевые слова и люди",+ "Description": "Описание",+ "Camera Info": "Сведения о камере",+ "Develop": "Обработка",+ "Pick Flag": "Флаг",+ "Any Searchable Text": "Любой текст для поиска",+ "Filename": "Имя файла",+ "File Type": "Тип файла",+ "File Format": "Формат файла",+ "Edit Date": "Дата изменения",+ "People": "Люди",+ "Focal Length": "Фокусное расстояние",+ "ISO Speed": "ISO",+ "Has GPS": "Есть GPS",+ "Has Edits": "Есть правки",+ "Focus (assisted culling)": "Резкость (помощь в отборе)",+ "Best of Similar Shots": "Лучший из похожих снимков",+ "Date": "Дата",- "Color Label": "Цветовая метка"++ "Color Label": "Цветовая метка",+ "Keyword List": "Список ключевых слов",+ "Filter Keywords": "Фильтр ключевых слов",+ "No keywords yet": "Ключевых слов пока нет",+ "No keywords match": "Нет подходящих ключевых слов",+ "Keyword Name": "Название ключевого слова",+ "Synonyms": "Синонимы",+ "Separated by commas": "Через запятую",+ "Keyword Tag Options": "Параметры ключевого слова",+ "Include on Export": "Включать при экспорте",+ "Export Containing Keywords": "Экспортировать родительские ключевые слова",+ "Export Synonyms": "Экспортировать синонимы",+ "Create Keyword Tag": "Создать ключевое слово",+ "Edit Keyword Tag": "Изменить ключевое слово",+ "Create": "Создать",+ "No photo has it; the keywords below it go too.": "Ни у одного фото его нет; вложенные ключевые слова тоже будут удалены.",+ "Edit Keyword Tag…": "Изменить ключевое слово…",+ "Put New Keywords Inside This Keyword": "Помещать новые ключевые слова в это",+ "Purge Unused Keywords": "Удалить неиспользуемые ключевые слова",+ "Delete Keyword…": "Удалить ключевое слово…",+ "Drop here for the top level": "Отпустите здесь для верхнего уровня",+ "Their photos and the keywords below them come together under one keyword.": "Их фото и вложенные ключевые слова объединятся под одним ключевым словом.",+ "Select photos to give them keywords.": "Выберите фото, чтобы назначить им ключевые слова.",+ "Person": "Человек"}diff --cc crates/ui-egui/locales/zh-hans.jsonindex 57fc3303b,c652318ad..c12ea5c71--- a/crates/ui-egui/locales/zh-hans.json+++ b/crates/ui-egui/locales/zh-hans.json@@@ -1735,67 -1735,26 +1735,89 @@@"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed","ONNX model": "ONNX model","commercial use subject to GPL conditions": "commercial use subject to GPL conditions",+ "Decrease Rating": "降低星级",+ "Increase Rating": "提高星级",+ "Click to type a value": "单击以输入数值",+ "Angle": "角度",+ "Video": "视频",+ "Copyrighted": "受版权保护",+ "Public Domain": "公共领域",+ "Unknown": "未知",+ "Landscape (wide)": "横向",+ "Portrait (tall)": "纵向",+ "Square": "正方形",+ "In Color": "彩色",+ "No Label": "无标签",+ "Choose an album…": "选择相册…",+ "No albums yet": "还没有相册",+ "Fix the marked rules to save this album.": "请修正标记的规则以保存此相册。",+ "Some rules need fixing (Edit Smart Album…):": "有些规则需要修正(编辑智能相册…):",+ "isn't a field rules know": "不是已知的字段",+ "can't be tested that way": "不能这样判断",+ "is yes or no": "只能是“是”或“否”",+ "needs a number": "需要一个数字",+ "needs a time like 1/250 or 2": "需要类似 1/250 或 2 的快门速度",+ "needs a date like 2026, 2026-08 or 2026-08-14": "需要类似 2026、2026-08 或 2026-08-14 的日期",+ "has the first date after the second": "第一个日期晚于第二个",+ "needs two values": "需要两个值",+ "needs a number more than 0": "需要大于 0 的数字",+ "needs hours, days, weeks, months or years": "需要小时、天、周、月或年",+ "isn't one of the choices": "不是可选项之一",+ "needs something to look for (or use “is empty”)": "需要要查找的内容(或使用“为空”)",+ "needs something to look for (or use “isn't empty”)": "需要要查找的内容(或使用“不为空”)",+ "needs text": "需要文本",+ "can't match any rating from 0 to 5": "不匹配 0 到 5 的任何星级",+ "needs an album": "需要选择相册",+ "names an album that no longer exists": "指定的相册已不存在",+ "can't test a folder; choose an album in it": "无法判断文件夹;请选择其中的相册",+ "This group is empty: add a rule or remove it.": "此组为空:请添加规则或将其删除。",+ "needs something to look for (or use “are empty”)": "需要要查找的内容(或使用“为空”)",+ "needs something to look for (or use “aren't empty”)": "需要要查找的内容(或使用“不为空”)",+ "Mo": "一",+ "Tu": "二",+ "We": "三",+ "Th": "四",+ "Fr": "五",+ "Sa": "六",+ "Su": "日",+ "Pick a date": "选择日期",+ "would make this album include itself through other smart albums": "会通过其他智能相册让此相册包含自身",+ "Search albums": "搜索相册",+ "No albums match": "没有匹配的相册",+ "This is the album you're editing": "这是正在编辑的相册",+ "It tests this album, so testing it back would loop": "它引用了此相册,反过来引用会形成循环",+ "Copy Name": "副本名称",+ "In a Stack": "在堆叠中",+ "File Extension": "文件扩展名",+ "Video Duration": "视频时长",+ "Keyword Count": "关键字数量",+ "People Count": "人物数量",+ "Shutter Speed": "快门速度",+ "Cropped": "已裁剪",+ "Keywords & People": "关键字与人物",+ "Description": "描述",+ "Camera Info": "相机信息",- "Develop": "编辑"++ "Develop": "编辑",+ "Keyword List": "关键字列表",+ "Filter Keywords": "过滤关键字",+ "No keywords yet": "还没有关键字",+ "No keywords match": "没有匹配的关键字",+ "Keyword Name": "关键字名称",+ "Synonyms": "同义词",+ "Separated by commas": "用逗号分隔",+ "Keyword Tag Options": "关键字标记选项",+ "Include on Export": "导出时包含",+ "Export Containing Keywords": "导出上级关键字",+ "Export Synonyms": "导出同义词",+ "Create Keyword Tag": "创建关键字标记",+ "Edit Keyword Tag": "编辑关键字标记",+ "Create": "创建",+ "No photo has it; the keywords below it go too.": "没有照片使用它;其下的关键字也会一并删除。",+ "Edit Keyword Tag…": "编辑关键字标记…",+ "Put New Keywords Inside This Keyword": "将新关键字放入此关键字中",+ "Purge Unused Keywords": "清除未使用的关键字",+ "Delete Keyword…": "删除关键字…",+ "Drop here for the top level": "拖放到此处以移至顶层",+ "Their photos and the keywords below them come together under one keyword.": "它们的照片和下级关键字将合并到同一个关键字下。",+ "Select photos to give them keywords.": "选择照片以为其添加关键字。"}diff --cc crates/ui-egui/locales/zh-hant.jsonindex f72d422e1,d29103389..19d74ee87--- a/crates/ui-egui/locales/zh-hant.json+++ b/crates/ui-egui/locales/zh-hant.json@@@ -1735,67 -1735,26 +1735,89 @@@"Pending photo action cancelled because its library or photo changed": "Pending photo action cancelled because its library or photo changed","ONNX model": "ONNX model","commercial use subject to GPL conditions": "commercial use subject to GPL conditions",+ "Decrease Rating": "降低評分",+ "Increase Rating": "提高評分",+ "Click to type a value": "點擊以輸入數值",+ "Angle": "角度",+ "Video": "影片",+ "Copyrighted": "受著作權保護",+ "Public Domain": "公有領域",+ "Unknown": "未知",+ "Landscape (wide)": "橫向",+ "Portrait (tall)": "直向",+ "Square": "正方形",+ "In Color": "彩色",+ "No Label": "無標籤",+ "Choose an album…": "選擇相簿…",+ "No albums yet": "還沒有相簿",+ "Fix the marked rules to save this album.": "請修正標記的規則以儲存此相簿。",+ "Some rules need fixing (Edit Smart Album…):": "有些規則需要修正(編輯智慧型相簿…):",+ "isn't a field rules know": "不是已知的欄位",+ "can't be tested that way": "無法這樣判斷",+ "is yes or no": "只能是「是」或「否」",+ "needs a number": "需要一個數字",+ "needs a time like 1/250 or 2": "需要類似 1/250 或 2 的快門速度",+ "needs a date like 2026, 2026-08 or 2026-08-14": "需要類似 2026、2026-08 或 2026-08-14 的日期",+ "has the first date after the second": "第一個日期晚於第二個",+ "needs two values": "需要兩個值",+ "needs a number more than 0": "需要大於 0 的數字",+ "needs hours, days, weeks, months or years": "需要小時、天、週、月或年",+ "isn't one of the choices": "不是可選項之一",+ "needs something to look for (or use “is empty”)": "需要要尋找的內容(或使用「為空」)",+ "needs something to look for (or use “isn't empty”)": "需要要尋找的內容(或使用「不為空」)",+ "needs text": "需要文字",+ "can't match any rating from 0 to 5": "不符合 0 到 5 的任何評分",+ "needs an album": "需要選擇相簿",+ "names an album that no longer exists": "指定的相簿已不存在",+ "can't test a folder; choose an album in it": "無法判斷資料夾;請選擇其中的相簿",+ "This group is empty: add a rule or remove it.": "此群組為空:請新增規則或將其移除。",+ "needs something to look for (or use “are empty”)": "需要要尋找的內容(或使用「為空」)",+ "needs something to look for (or use “aren't empty”)": "需要要尋找的內容(或使用「不為空」)",+ "Mo": "一",+ "Tu": "二",+ "We": "三",+ "Th": "四",+ "Fr": "五",+ "Sa": "六",+ "Su": "日",+ "Pick a date": "選擇日期",+ "would make this album include itself through other smart albums": "會透過其他智慧型相簿讓此相簿包含自身",+ "Search albums": "搜尋相簿",+ "No albums match": "沒有符合的相簿",+ "This is the album you're editing": "這是正在編輯的相簿",+ "It tests this album, so testing it back would loop": "它引用了此相簿,反過來引用會形成循環",+ "Copy Name": "副本名稱",+ "In a Stack": "在堆疊中",+ "File Extension": "副檔名",+ "Video Duration": "影片長度",+ "Keyword Count": "關鍵字數量",+ "People Count": "人物數量",+ "Shutter Speed": "快門速度",+ "Cropped": "已裁切",+ "Keywords & People": "關鍵字與人物",+ "Description": "描述",+ "Camera Info": "相機資訊",- "Develop": "編輯"++ "Develop": "編輯",+ "Keyword List": "關鍵字清單",+ "Filter Keywords": "篩選關鍵字",+ "No keywords yet": "尚無關鍵字",+ "No keywords match": "沒有符合的關鍵字",+ "Keyword Name": "關鍵字名稱",+ "Synonyms": "同義詞",+ "Separated by commas": "以逗號分隔",+ "Keyword Tag Options": "關鍵字標記選項",+ "Include on Export": "匯出時包含",+ "Export Containing Keywords": "匯出上層關鍵字",+ "Export Synonyms": "匯出同義詞",+ "Create Keyword Tag": "建立關鍵字標記",+ "Edit Keyword Tag": "編輯關鍵字標記",+ "Create": "建立",+ "No photo has it; the keywords below it go too.": "沒有照片使用它;其下的關鍵字也會一併刪除。",+ "Edit Keyword Tag…": "編輯關鍵字標記…",+ "Put New Keywords Inside This Keyword": "將新關鍵字放入此關鍵字中",+ "Purge Unused Keywords": "清除未使用的關鍵字",+ "Delete Keyword…": "刪除關鍵字…",+ "Drop here for the top level": "拖放到此處以移至最上層",+ "Their photos and the keywords below them come together under one keyword.": "它們的照片與下層關鍵字將合併到同一個關鍵字下。",+ "Select photos to give them keywords.": "選取照片以加入關鍵字。"}diff --cc docs/parity.mdindex 74bccbeec,e639467f7..8e30077df--- a/docs/parity.md+++ b/docs/parity.md@@@ -162,10 -162,10 +162,10 @@@ under the UI command that wraps it (a n| LR-LIB-SHARED-ALBUM | Shared albums | P2 | ⬜ | | needs a sharing service || LR-LIB-OFFLINE | Keep album offline | P2 | 🚫 | | not applicable: local-first library || LR-LIB-TARGET | Target album | P2 | ✅ | `cmd:album.setTarget`, `cmd:album.toggleTarget` | see LRC-LIB-COLLECTIONS |-| LR-LIB-RATING | Star ratings | P0 | ✅ | `cmd:photo.rate` (`advance`), `crates/ui-egui/src/shortcuts.rs` | 0 clears; 1–5 set; Shift+0–5 applies and advances once, including with Auto Advance. Batch grid and undo/redo regressions; macOS native ownership corrected (PR #261) |+| LR-LIB-RATING | Star ratings | P0 | ✅ | `cmd:photo.rate` (`advance`), `cmd:photo.decreaseRating`, `cmd:photo.increaseRating`, `crates/ui-egui/src/shortcuts.rs` | 0 clears; 1–5 set; Shift+0–5 applies and advances once, including with Auto Advance. Default grid brackets adjust each photo by one, clamped to 0–5; one batch undo and AutoWrite. Batch grid and undo/redo regressions; macOS native ownership corrected (PR #261) || LR-LIB-FLAG | Pick / reject flags | P0 | ✅ | `cmd:photo.pick`, `cmd:photo.reject`, `cmd:photo.unflag`, `cmd:photo.flag` | P pick, X reject, U clear; Shift+P picks and advances in both grids (Presets elsewhere); Shift+X/U and legacy Shift+Z advance; no flag cycle; rejection does not delete the file || LR-LIB-LABEL | Colour labels | P1 | ✅ | `cmd:photo.label`, `cmd:label.setNames`, `cmd:label.names`, `cmd:dialog.labelNames`, keys 6–9 in `crates/ui-egui/src/shortcuts.rs` | Photo menu and grid context menu (coloured, named), Info-panel swatches, label dot plus translucent colour on square-grid/filmstrip surrounds and photo-grid footers (photo pixels unchanged); colour-label toasts have pale matching backgrounds; setting/clearing through keys (including Shift), menus or Info swatches shows the same bottom toast as ratings, with the colour/custom name; editable label names (undoable, journaled); no purple key (as in Lightroom), no custom extra labels |- | LR-LIB-KEYWORD | Keywords | P0 | ✅ | `cmd:panel.keywords`, `cmd:photo.setMeta` (`addKeywords`/`removeKeywords`), `cmd:keyword.list`, `cmd:keyword.rename`, `cmd:keyword.delete`, `cmd:keyword.merge`, `cmd:keyword.suggest`, `crates/catalog/src/keywords.rs`, `crates/ui-egui/src/panels/left.rs` | left-panel keyword tree with counts (click filters, children included; context menu rename / merge / delete / add / remove); library-wide ops are one undo step and replay from the op log; suggestions (co-occurring / most used / completions) in the Keywords panel; no keyword drag-and-drop |+ | LR-LIB-KEYWORD | Keywords | P0 | ✅ | `cmd:panel.keywords`, `cmd:photo.setMeta` (`addKeywords`/`removeKeywords`), `cmd:keyword.list`, `cmd:keyword.rename`, `cmd:keyword.delete`, `cmd:keyword.merge`, `cmd:keyword.suggest`, `crates/catalog/src/keywords.rs`, `crates/ui-egui/src/panels/left.rs` | left-panel keyword tree with counts (click filters, children included; context menu rename / merge / delete / add / remove); library-wide ops are one undo step and replay from the op log; suggestions (co-occurring / most used / completions) in the Keywords panel; keywords reorganize by drag and drop in the Keyword List (LRC-LIB-KEYWORDS) || LR-LIB-PEOPLE | People / faces | P2 | 🟡 | `cmd:faces.detect`, `cmd:view.people`, `cmd:view.faceBoxes`, `cmd:photo.removeRegion`, `cmd:photo.setRegion`, `cmd:library.filter`, `crates/ui-egui/src/panels/people.rs`, `crates/catalog/src/query.rs` (`people`), `crates/engine/src/media.rs` (`face_job`), `crates/meta/src/xmp.rs` | MVP: named face regions read from XMP (MWG-RS, read-only, see `docs/xmp-interop.md`; clipped to the photo; Lightroom's `Rotation` of ±π/2 and π handled, mirrored orientations taken as written; boxes follow Rotate Left/Right and flips; a sidecar stating `mwg-rs:Regions`, even empty, replaces the photo's on re-read, one without leaves them) become cards in the People view (View ▸ People, or the People button in the toolbar): a close-up of the person's largest face, name and photo count; a click filters the grid (`person` in `library.filter`, `person:` search token, filter chip). Face boxes in the loupe can be switched off (View ▸ Face Boxes, toolbar) resized with eight drag handles and removed with the × shown on hover (catalog-only and undoable, one undo step per drag; the sidecar is never rewritten for either); no moving a box by dragging it yet. Photo ▸ Detect Faces (`cmd:faces.detect`) finds faces with the YuNet detector (pure Rust, about 200 ms a photo, matches OpenCV's own YuNet on a 45-photo test set; the 232 KB model is a one-time download offered in the same step, never part of LightCraft) and adds them as unnamed boxes; names are suggested from the faces already named (recognition models are opt-in downloads, run on the CPU in a background thread; a face is named only when you confirm it); a person's page shows their cropped faces and the unnamed faces that look like them (LRC-LIB-PEOPLE); with recognition on, a background scan finds faces in photos that have none and embeds every face (one to three worker threads, raws through their embedded preview); an Unnamed faces section orders faces by likeness and names a selected group at once; no separated clusters, no manual tagging, no writing regions back || LR-LIB-STACK | Stacks | P1 | ✅ | `cmd:stack.group`, `cmd:stack.ungroup`, `cmd:stack.toggle`, `cmd:stack.setTop`, `cmd:stack.remove`, `cmd:stack.auto`, `crates/catalog/src/stacks.rs` | grid/filmstrip count badges, expand/collapse, auto-stack by capture time; no visual-similarity auto-stack || LR-LIB-VERSIONS | Versions | P1 | ✅ | `cmd:version.create` | see section M |diff --cc docs/whats-new.mdindex 8f0016d18,2b8190242..10759aad8--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -2,42 -2,21 +2,57 @@@## October 2026+### Smart album rules+- The rule editor's field menu is grouped: Rating, Pick Flag, Color Label and Any Searchable Text at the top, then+ submenus for Source, File, Date, Keywords & People, Description, Camera Info, Location, Size, Develop and Assisted+ Culling.+- New fields: Keyword Count ("2 or more", "exactly 2"…), People and People Count (named faces), Shutter Speed (written+ as 1/250), File Extension, Video Duration, Copy Name, In a Stack, Alt Text, City, State / Province, Country, Long+ Edge, Short Edge, Aspect Ratio (landscape / portrait / square), Cropped and Treatment (in color / black & white).+ Size rules measure the photo as shown: Megapixels now counts the cropped photo, like Long Edge, Short Edge and+ Aspect Ratio (a 24 MP photo cropped to a square is 16 MP).+- Choice values read as words in every language: "Public Domain", "Picked", "Black & White" rather than ids like+ `publicDomain` (rules and agents keep using the ids; `album.ruleFields` adds `choiceLabels`).+- Rule values are checked: a rating of 9, a date like 2026-13 or "banana", a "between" whose dates are the wrong+ way round, "in the last 0 days", a colour label that doesn't exist, "contains" with nothing to look for, an+ album that is gone, or an empty group is reported with its rule ("rule 2.1: no rating 0–5 is 9")+ instead of quietly matching nothing or everything. New date rules start at the current year.+- A smart album can include or exclude another smart album: "Keywords contain travel" and "Album isn't Excluded Photos"+ leaves out whatever Excluded Photos matches, as its rules change. The album picker shows your albums as in the sidebar+ (folders open on click) or finds them as you type part of a name or folder (↑ / ↓ and Enter to pick); albums that+ can't be picked, such as one that would make an album include itself, are greyed with the reason. Esc with a dropdown or calendar open in a dialog+ closes just that.+- Date rules have a calendar button: pick a day, a month or a whole year (Year / Month / Day), in your language; the+ two dates of a "between" can't be picked out of order; Esc closes just the calendar. It picks dates, not times (a+ time is typed, and picking a day replaces one). Typing still works, and "2026-10-01 10:00" (a space for the+ T) now matches.+- Rule problems are shown in your language and name the field the way the menu does ("Title: needs something to look+ for").+- A smart album whose rules no longer check (an album they test was deleted) is marked ⚠ in the sidebar; its tooltip+ says what to fix, and `albums.list` reports `problems`.+- Editing a smart album's name and rules is one step: both or neither, and one undo takes both back+ (`album.setRules` takes `name`).+- The rule editor marks each rule that needs fixing right under it and keeps OK disabled until they are fixed. An+ Album rule is "is" or "isn't" an album, picked with the album picker.+- Yes/no fields (Has Edits, Cropped, Has GPS…) read Yes / No instead of true / false. A rule sent as `"false"` now+ means no (it used to count as yes), and a value that is neither yes nor no is refused.+- Any Searchable Text also finds the state / province, alt text, people and a virtual copy's name.++ ### Keyword List+ - The Keywords panel ends with a Keyword List, as in Lightroom Classic: every keyword with its photo count, those no+ photo has yet too. Filter it, tick a keyword to give it to the selected photos (a dash: only some have it), or click+ the arrow to see its photos.+ - Create keywords with + (inside the one you picked, with synonyms, and given to the selection if you like), edit one+ by double-clicking it, delete one with − after a confirmation. Right-click for more: create inside, Put New Keywords+ Inside This Keyword, Purge Unused Keywords.+ - Drag a keyword onto another to nest it, or onto the list's title to bring it back to the top level; photos dragged+ from the grid onto a keyword get it.+ - Right-click ▸ Put New Keywords Inside This Keyword: new keywords, made with + or typed in the box above, go inside+ it. The list is there with no photo selected too, to set up keywords first.+ - Keyword tag options decide what exported files carry: Include on Export, Export Containing Keywords, Export+ Synonyms. Exports now write keyword names to `dc:subject` and their paths to `lr:hierarchicalSubject`, and keywords+ imported from files (or read from sidecars) keep the hierarchy `lr:hierarchicalSubject` gives them.+### Text fields- Right-click Search Photos, a slider's typed value, the Info panel's fields, the name field of New Album, RenameAlbum, New Smart Album, Rename Keyword, Merge Keywords and similar dialogs, or the name field under unnamed faces for