LR-PREF-PEOPLE: refresh model manager for current platform helpers

Keep upstream tests and the fixed SAM worker, refresh the workspace version and parity summary, and route the model picker through the case-insensitive native filter helper. Carry the shared translated font-symbol correction; validation includes the pinned hosted fonts and all seven CI gates.

Generated with Codex.
This commit is contained in:
Daniel Voshart 2026-10-08 20:14:56 -04:00
parent 7845d515e8
commit 6e8db91673
5 changed files with 8 additions and 8 deletions

2
Cargo.lock generated
View File

@ -2906,7 +2906,7 @@ dependencies = [
[[package]]
name = "lightcraft-faces"
version = "0.2.1"
version = "0.4.0"
dependencies = [
"proptest",
"serde",

View File

@ -402,8 +402,8 @@ fn services(ctx: egui::Context, log_file: Option<&std::path::Path>) -> Services
})),
pick_model_file: Some(Box::new(|| {
rfd::FileDialog::new()
.set_title("Add a Face Recognition Model")
.add_filter("Face models (ONNX)", &["onnx"])
.set_title(lightcraft_ui_egui::i18n::tr("Add a Face Recognition Model"))
.add_filter_nocase(lightcraft_ui_egui::i18n::tr("Face models (ONNX)"), &["onnx"])
.pick_file()
.map(|p| vec![p.to_string_lossy().to_string()])
.unwrap_or_default()

View File

@ -789,10 +789,10 @@ mod tests_color;
#[cfg(test)]
mod tests_export;
#[cfg(test)]
mod tests_folders;
#[cfg(test)]
mod tests_face_models;
#[cfg(test)]
mod tests_folders;
#[cfg(test)]
mod tests_forget_local;
#[cfg(test)]
mod tests_import;

View File

@ -4,8 +4,8 @@
//! own can be one drop and one licence prompt.
//!
//! Everything here treats model files and manifests as hostile input: sizes are capped, numbers must be
//! finite and sane, and a malformed file is an error, never a panic. Running a model (the `tract` runtime)
//! is not part of this crate yet.
//! finite and sane, and a malformed file is an error, never a panic. Model execution is not part of
//! this crate yet.
#![forbid(unsafe_code)]
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]

View File

@ -42,7 +42,7 @@ and prints the summary; `cargo xtask parity --write` refreshes the summary table
| S. Export (EXP) | 15 | 1 | 2 | 0 | 7/7 (100%) | 7/7 (100%) |
| T. Share (SHARE) | 0 | 0 | 0 | 4 | — | — |
| U. Map & location (MAP) | 0 | 1 | 1 | 0 | — | 0/1 (0%) |
| V. Preferences (PREF) | 6 | 0 | 3 | 2 | 1/1 (100%) | 4/4 (100%) |
| V. Preferences (PREF) | 6 | 1 | 2 | 2 | 1/1 (100%) | 4/4 (100%) |
| W. Cloud & AI infrastructure (CLOUD / AI) | 1 | 0 | 1 | 2 | — | — |
| X. Cross-cutting behaviours (BEHAV) | 17 | 5 | 1 | 1 | 8/8 (100%) | 6/8 (75%) |
| Y. Menus | 82 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) |