LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
LR-BEHAV-WHATSNEW + MENU-HELP-FEEDBACK: Help ▸ What's New, Send Feedback
Brandon Thomas6b6a925ac7f8
diff --git a/crates/ui-egui/src/links.rs b/crates/ui-egui/src/links.rsindex 0bb269d03..151fac954 100644--- a/crates/ui-egui/src/links.rs+++ b/crates/ui-egui/src/links.rs@@ -21,8 +21,12 @@ pub const LINKS: &[(&str, &str, &str)] = &[("app.website", "LightCraft Website", APP_PAGE),("app.github", "LightCraft on GitHub", GITHUB),("app.artcraft", "ArtCraft Website", WEBSITE),+ ("app.feedback", "Send Feedback…", FEEDBACK),];+/// Where feedback and bug reports go.+pub const FEEDBACK: &str = "https://github.com/storytold/lightcraft/issues/new";+/// The URL behind a link command id.pub fn url_of(cmd: &str) -> Option<&'static str> {LINKS.iter().find(|(id, _, _)| *id == cmd).map(|(_, _, u)| *u)diff --git a/crates/ui-egui/src/menubar.rs b/crates/ui-egui/src/menubar.rsindex ccffe590b..e089192f1 100644--- a/crates/ui-egui/src/menubar.rs+++ b/crates/ui-egui/src/menubar.rs@@ -198,7 +198,23 @@ const LAYOUT: &[(&str, &[&str])] = &["@Tools",],),- ("Help", &["app.discord", "---", "app.website", "app.github", "app.artcraft", "---", "app.shortcuts", "---", "app.about"]),+ (+ "Help",+ &[+ "app.discord",+ "app.feedback",+ "---",+ "app.website",+ "app.github",+ "app.artcraft",+ "---",+ "app.whatsNew",+ "app.shortcuts",+ "app.systemInfo",+ "---",+ "app.about",+ ],+ ),];/// Registry entries that are reached another way (parameterized commands are expanded intodiff --git a/crates/ui-egui/src/menus.rs b/crates/ui-egui/src/menus.rsindex cfec4c1b7..89f60b80a 100644--- a/crates/ui-egui/src/menus.rs+++ b/crates/ui-egui/src/menus.rs@@ -112,8 +112,10 @@ pub const UI_COMMANDS: &[UiCommand] = &[("app.openLibrary", "Open Library…", None, "File"),("app.about", "About LightCraft", None, "Help"),("app.systemInfo", "System Info…", None, "Help"),+ ("app.whatsNew", "What's New", None, "Help"),("app.help", "LightCraft Help", Some("F1"), "Help"),("app.discord", "Join the ArtCraft Discord…", None, "Help"),+ ("app.feedback", "Send Feedback…", None, "Help"),("app.website", "LightCraft Website", None, "Help"),("app.github", "LightCraft on GitHub", None, "Help"),("app.artcraft", "ArtCraft Website", None, "Help"),@@ -699,6 +701,10 @@ pub fn run_ui_command(app: &mut LightcraftApp, id: &str, p: &Value) -> Option<Reapp.toast(&ctx, format!("{name} opened for editing; it is stacked with the original"));Ok(r)}+ "app.whatsNew" => {+ app.ui.dialog = Some(Dialog::WhatsNew);+ Ok(json!({"text": crate::panels::dialogs::WHATS_NEW}))+ }"app.systemInfo" => {let info = app.session.execute("library.info", &json!({})).unwrap_or_default();let gpu = (lightcraft_engine::gpu::ready() && lightcraft_engine::gpu::available()).then(lightcraft_engine::gpu::adapter_name).flatten();@@ -869,7 +875,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.help" => {+ "app.discord" | "app.website" | "app.github" | "app.artcraft" | "app.help" | "app.feedback" => {let url = crate::links::url_of(id).unwrap_or(crate::links::WEBSITE);crate::links::open(app, url)}diff --git a/crates/ui-egui/src/panels/dialogs.rs b/crates/ui-egui/src/panels/dialogs.rsindex 95c388393..d20584361 100644--- a/crates/ui-egui/src/panels/dialogs.rs+++ b/crates/ui-egui/src/panels/dialogs.rs@@ -7,6 +7,9 @@ use crate::LightcraftApp;use crate::state::Dialog;use crate::theme::Tokens;+/// Help ▸ What's New (docs/whats-new.md).+pub const WHATS_NEW: &str = include_str!("../../../../docs/whats-new.md");+pub fn show(app: &mut LightcraftApp, ctx: &egui::Context) {let Some(mut dlg) = app.ui.dialog.clone() else { return };let t = Tokens::get(ctx);@@ -32,6 +35,7 @@ pub fn show(app: &mut LightcraftApp, ctx: &egui::Context) {Dialog::NewSmartAlbum { .. } => "Create Smart Album",Dialog::AllMetadata { .. } => "All Metadata",Dialog::SystemInfo { .. } => "System Info",+ Dialog::WhatsNew => "What's New",Dialog::SmartRules { id: None, .. } => "New Smart Album",Dialog::SmartRules { .. } => "Edit Smart Album",Dialog::AutoStack { .. } => "Auto-Stack by Capture Time",@@ -76,6 +80,25 @@ pub fn show(app: &mut LightcraftApp, ctx: &egui::Context) {egui::RichText::new(format!("Creates {} stacks from {} of {scope}", preview["stacks"], preview["photos"])).color(t.text_dim),);}+ Dialog::WhatsNew => {+ egui::ScrollArea::vertical().max_height(460.0).auto_shrink([false, true]).show(ui, |ui| {+ for line in WHATS_NEW.lines() {+ let l = line.trim_end();+ if let Some(h) = l.strip_prefix("### ") {+ ui.add_space(6.0);+ ui.label(egui::RichText::new(h).font(t.semibold(12.5)).color(t.text));+ } else if let Some(h) = l.strip_prefix("## ") {+ ui.add_space(8.0);+ ui.label(egui::RichText::new(h).font(t.semibold(14.0)).color(t.text));+ } else if l.starts_with("# ") || l.is_empty() {+ } else if let Some(b) = l.strip_prefix("- ") {+ ui.label(egui::RichText::new(format!("• {}", b.replace('`', ""))).color(t.text_label));+ } else {+ ui.label(egui::RichText::new(l.trim().replace('`', "")).color(t.text_label));+ }+ }+ });+ }Dialog::SystemInfo { rows } => {egui::Grid::new("sysinfo").num_columns(2).spacing([16.0, 4.0]).striped(true).show(ui, |ui| {for (k, v) in rows.iter() {@@ -739,7 +762,7 @@ pub fn confirm_dialog(app: &mut LightcraftApp, dlg: &Dialog) -> Result<serde_jsoDialog::RenameKeyword { from, to } => app.run("keyword.rename", json!({"from": from, "to": to})),Dialog::MergeKeywords { from, into } => app.run("keyword.merge", json!({"from": from, "into": into})),Dialog::AutoStack { gap } => app.run("stack.auto", json!({"gap": gap})),- Dialog::AllMetadata { .. } | Dialog::SystemInfo { .. } => Ok(serde_json::Value::Null),+ Dialog::AllMetadata { .. } | Dialog::SystemInfo { .. } | Dialog::WhatsNew => Ok(serde_json::Value::Null),Dialog::SmartRules { id, name, rules } => {let name = if name.trim().is_empty() { "Smart Album".to_string() } else { name.trim().to_string() };match id {diff --git a/crates/ui-egui/src/state.rs b/crates/ui-egui/src/state.rsindex 5855974f9..7c5ae7011 100644--- a/crates/ui-egui/src/state.rs+++ b/crates/ui-egui/src/state.rs@@ -376,6 +376,8 @@ pub enum Dialog {NewSmartAlbum {name: String,},+ /// Help ▸ What's New.+ WhatsNew,/// Help ▸ System Info: (label, value) rows.SystemInfo {rows: Vec<(String, String)>,diff --git a/docs/parity.md b/docs/parity.mdindex 5cc38253a..5fb2c1382 100644--- a/docs/parity.md+++ b/docs/parity.md@@ -44,13 +44,13 @@ and prints the summary; `cargo xtask parity --write` refreshes the summary table| U. Map & location (MAP) | 0 | 1 | 1 | 0 | — | 0/1 (0%) || V. Preferences (PREF) | 5 | 0 | 3 | 3 | 1/1 (100%) | 4/4 (100%) || W. Cloud & AI infrastructure (CLOUD / AI) | 1 | 0 | 1 | 2 | — | — |-| X. Cross-cutting behaviours (BEHAV) | 13 | 1 | 3 | 1 | 8/8 (100%) | 5/5 (100%) |-| Y. Menus | 77 | 2 | 6 | 8 | 46/47 (98%) | 22/23 (96%) |+| X. Cross-cutting behaviours (BEHAV) | 14 | 1 | 2 | 1 | 8/8 (100%) | 5/5 (100%) |+| Y. Menus | 79 | 2 | 4 | 8 | 46/47 (98%) | 22/23 (96%) || Z. Keyboard shortcuts (desktop) | 74 | 3 | 3 | 1 | 49/52 (94%) | 22/23 (96%) || Lightroom Classic extras | 22 | 10 | 47 | 9 | — | 18/21 (86%) |-| **Total** | 367 | 25 | 108 | 37 | 193/198 (97%) | 132/144 (92%) |+| **Total** | 370 | 25 | 105 | 37 | 193/198 (97%) | 132/144 (92%) |-Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **75.9%** of 500 in-scope rows — P0 98.7% of 198 · P1 94.4% of 144 · P2 30.4% of 158.+Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **76.5%** of 500 in-scope rows — P0 98.7% of 198 · P1 94.4% of 144 · P2 32.3% of 158.<!-- /parity:summary -->## Top gaps@@ -486,7 +486,7 @@ under the UI command that wraps it (a no-op error); the UI command now wins.| LR-BEHAV-ACCESS | Accessibility | P2 | 🟡 | `crates/ui-egui/src/widgets.rs`, `crates/ui-egui/src/panels/grid.rs` | AccessKit (VoiceOver / Narrator / AT-SPI): sliders announce control and value, buttons / icon buttons / dropdowns / section headers / sources their labels and state, grid thumbnails file name, rating, flag and label; the canvas tools (crop, masks) are pointer-only; not audited with a screen reader || LR-BEHAV-LOCALIZE | Localisation | P2 | ⬜ | | || LR-BEHAV-LEARN | Tutorials | OOS | 🚫 | | |-| LR-BEHAV-WHATSNEW | What's new | P2 | ⬜ | | |+| LR-BEHAV-WHATSNEW | What's new | P2 | ✅ | `cmd:app.whatsNew`, `docs/whats-new.md` | Help ▸ What's New: release highlights || LR-BEHAV-AI-EA | Early-access badges | P2 | ⬜ | | |## Y. Menus@@ -577,9 +577,9 @@ visible menu bar yet: the menu model is only exposed through the control channel| MENU-WINDOW-BRINGFRONT | Bring all to front | P2 | ✅ | `apps/lightcraft/src/native_menu.rs` | the system's item at the end of Window || 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-WHATSNEW | What's new | P2 | ✅ | `cmd:app.whatsNew` | || MENU-HELP-SHORTCUTS | Keyboard shortcuts | P1 | ✅ | `cmd:app.shortcuts` | |-| MENU-HELP-FEEDBACK | Send feedback | P2 | ⬜ | | |+| MENU-HELP-FEEDBACK | Send feedback | P2 | ✅ | `cmd:app.feedback` | opens a new issue on the project's GitHub || MENU-HELP-SYSINFO | System info | P2 | ✅ | `cmd:app.systemInfo`, `cmd:library.info` | Help ▸ System Info…: version, OS, CPU threads, GPU, memory budget, preview size, library, timings; Copy to Clipboard; JSON for agents (`open: false`) || MENU-CTX-GRID | Photo context menu | P0 | ✅ | `crates/ui-egui/src/panels/grid.rs` (`context_menu`) | rate, flag, label, add to / remove from album, rename, virtual copy, version, stack, copy / paste / paste selected, reset, merge, rotate, show in Finder, export / export with preset, set as album cover (in an album), delete || MENU-CTX-DETAIL | Loupe context menu | P1 | ✅ | `crates/ui-egui/src/panels/detail.rs` | Zoom submenu (fit, 100%, in, out), then the photo menu |diff --git a/docs/whats-new.md b/docs/whats-new.mdnew file mode 100644index 000000000..6cccbc102--- /dev/null+++ b/docs/whats-new.md@@ -0,0 +1,25 @@+# What's new in LightCraft++## October 2026++### Presets and profiles+- Import presets from other editors: XMP presets, classic `.lrtemplate` files, "DNG presets" from mobile apps and `.zip`+ bundles of any of these — whole folders at once, grouped by pack. Masks inside presets come along.+- 23 new built-in presets: Portrait, Landscape, Urban, Food, Seasons, Vintage and B&W toners.++### Library+- Smart albums with a rule editor: match all / any / none, nested groups, 26 fields.+- Quick Collection and target album (B in the grid), keyword sets (⌥1–⌥9), colour-label sets.+- Colour-label filter with several labels at once; expandable folder tree in Local.+- Import: copy to any folder, by day / by month / one folder, rename on import, metadata preset, Copy as DNG.+- Watched-folder auto import; Convert to DNG; Duplicate; Build Standard / 1:1 / Smart Previews.++### Editing+- Auto Sync: edits apply to every selected photo. Auto B&W mix. Automatic versions.+- Colour-range masks: click the photo to sample. Luminance ranges: range bar, smoothness, luminance map.+- ⌘-drag to straighten, ⇧G Guided Upright, a grid while transforming.++### Viewing and sharing+- Slideshow, second window, All Metadata, System Info.+- Edit in External Editor (⇧⌘E): a 16-bit TIFF copy, stacked, refreshed when you come back.+- Lossy DNG files and Smart Previews open as raw photos.