Commit Graph
2488 Commits
Author SHA1 Message Date
Nathaniel Ledford 3613a85dcb LR-BEHAV-ACCESS: icon buttons are named by their label, the shortcut is their description 2026-10-28 10:14:39 -04:00
Nathaniel LedfordandClaude Opus 5.5 a5e1cee421 LR-VIEW-PHOTOGRID: the checklist's Last updated line names the selection-ring rows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:18:32 -04:00
Nathaniel LedfordandClaude Opus 5.5 c9c10481fd LR-VIEW-FILMSTRIP: the parity row says the selection ring needs a loaded thumbnail
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:18:32 -04:00
Nathaniel LedfordandClaude Opus 5.5 58b091f3d6 LR-VIEW-PHOTOGRID: the checklist names the skeleton token
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:18:32 -04:00
Nathaniel LedfordandClaude 4f31cc5c3c LR-VIEW-PHOTOGRID: the docs name Compare, Survey and People's rings too
- docs/whats-new.md, docs/parity-checklist.md (LR-VIEW-SURVEY row and the
  revision-history line): the active-photo ring in Compare, Reference,
  Survey and the People view.
- tests_grid.rs: the ring comment matches the paint order.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 09:18:31 -04:00
Nathaniel LedfordandClaude ecba8045bf LR-VIEW-PHOTOGRID: the active photo's selection ring shows on light themes and differs from the others by weight
The active photo had a 2 px pure white outline and the other selected photos
grey 170, so on Silver and Paper's light grid the active ring vanished and the
two differed by lightness alone. The loading placeholder was a fixed dark grey
slab in every theme.

- theme.rs: new tokens `ring_active`, `ring_inner`, `ring_selected` and
  `placeholder`, per theme; tests that every theme's rings stand 3:1 against
  the grid and the square grid's cells, and that the placeholder follows the
  theme's family
- panels/grid.rs: `selection_ring` draws the active ring as 3 pt (1 pt inner
  line against the photo, 2 pt theme line) and the others as 1.5 pt; the grid
  uses it for loaded and unloaded thumbnails, and the placeholder token
- panels/detail.rs: the filmstrip uses the same ring and rule
- panels/compare.rs: the compare placeholder uses the token
- tests_grid.rs, tests_filmstrip.rs: painted ring widths and colours in a
  light theme, active versus selected versus unselected
- docs/parity-checklist.md, docs/whats-new.md: rows and entry

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 09:18:31 -04:00
Nathaniel LedfordandClaude Opus 5.5 039a44ea8c LR-BEHAV-DIALOGS: an unusable denoise model closes, export guide names the real button
The unsupported AI Denoise model dialog only closes, but its button said Install or Accept & Download; it now says Close, like the face model dialog. The export guide no longer bolds Export, which is not the label: the button names the photo count (Export 3 Photos).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:53:55 -04:00
Nathaniel LedfordandClaude e4f16fa90c LR-BEHAV-DIALOGS: own verbs for Auto-Stack and Capture Time, test the button itself
Auto-Stack and Capture Time confirms reused the translation keys of a
noun ("Stack") and a field label ("Change"), so other languages showed
"Stapel" or "変更方法" on the button. They now have their own keys,
"Create Stacks" and "Change Time", in all 13 catalogs. Rename Keyword
says "Merge Keywords" when the new name already exists, as Rename
Person does. The Polish rename help says the file name changes.

The confirm label match is exhaustive now (no unreachable "OK" arm).
User guides, the Apple Photos note and the parity rows no longer tell
people to press OK in Export.

Tests read the text painted inside button:dialogOk, reach the plural
Export label, cover Auto-Stack and Slideshow Export plurals, Rename
Person, smart album Save, and check the German translation of the
verbs.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 08:53:55 -04:00
Nathaniel LedfordandClaude 023ee0ef5b LR-BEHAV-DIALOGS: dialog confirm buttons name their action
The confirm button was "OK" in every dialog that had no special case:
New Album, Rename Photos, Auto-Stack, Capture Time, Export and more.
It now says what it does: Create, Rename, Stack, Change, Cull, Copy,
Paste, Export N Photos, and a verb per one-field prompt command.
"OK" stays only for a prompt opened with a command that has no verb.
The automation id button:dialogOk is unchanged.

Rename Photos' help text pointed at the Tags button without saying
what it does; it now says it lists template placeholders, and that
each file is renamed on disk with its XMP sidecar. Contact Sheet,
Auto-Stack and Slideshow Export said "1 photos" / "1 stacks"; their
nouns now agree with the count. All 13 catalogs updated.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 08:53:55 -04:00
Nathaniel Ledford 71be070a2f LR-PREF-GENERAL: Esc in a Settings text box gives the text back and stays in Settings 2026-10-28 08:24:30 -04:00
Nathaniel Ledford e25bd01993 docs: the drop label names a disk as its Folders row does 2026-10-28 08:20:44 -04:00
Nathaniel Ledford c527d5cd14 LR-BEHAV-DRAGDROP: a drop's destination is named with its parent when another folder or album has the same name
The dragged label, the Move Photos question and the toast named a folder by its last name only, so two folders called Home (or two albums called Garden in different album folders) looked the same. When another row has the name, the label now adds the folder it is in. A name nothing else uses is unchanged.
2026-10-28 08:20:44 -04:00
Nathaniel Ledford b90679da15 LR-LIB-ALBUM: album commands skip photos the library lacks and record nothing when they add nothing
album_targets kept ids the catalog doesn't have, so album.create {addSelected}, album.addPhotos and album.toggleTarget could name a missing photo in an album. It now drops them before anything changes.

album.addPhotos and album.toggleTarget also committed when nothing was added (every photo already in, or none left), which recorded an undo step and cleared redo. They now return without a commit; toggleTarget also makes no Quick Collection for nothing.
2026-10-28 08:16:42 -04:00
Nathaniel LedfordandClaude 67fca06483 LR-IMP-ADD-DIALOG: the parity row says up to 16 files at a time, as the header and revision row do
A batch asks at most 8 at once on a machine with 4 cores or fewer (batch_size clamps to 8..=16).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 07:59:03 -04:00
Nathaniel LedfordandClaude Sonnet 5.5 d402fcc4b6 LR-IMP-ADD-DIALOG: an import looks up the sidecars of a batch's photos several at a time
Where the folder listing can't vouch for a name (non-ASCII names, a listing that is gone), each photo's sidecar names are asked of the disk, nine per photo, one photo after another. The batch's lookups now run 16 at a time; the loop that plans the photos takes each one's answer in order.

They use the same `at_once` as the probe checks, so the latency stand-in measured with the previous commit applies to them as well (16 at a time against one at a time); the lookups themselves were not timed on a share for this version.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 07:59:03 -04:00
Nathaniel LedfordandClaude Sonnet 5.5 6c19862876 LR-IMP-ADD-DIALOG: an import checks the probes a scan left several files at a time
Reusing a scan's probes costs one stat per file to see that it is as it was. They ran one after another, so on a network share every file waited for a round trip. They now run 16 at a time, in the import's batches and in the scan's check of an earlier scan's probes.

Measured on this version with each stat made to take 2 ms (a stand-in for a share's round trip): 5,990 stats took 15.1 s one at a time and 0.95 s through `stat_all`, with the answers in the same order. An earlier version of this change, tried on a real network share, spent most of the import's time in these stats; that figure is not repeated here because it was not taken on this code.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 07:59:03 -04:00
Nathaniel Ledford 1263557666 LR-VIEW-PHOTOGRID: the grid's empty view names Import Photos' shortcut as the keymap has it, on its own line under a wrapping sentence 2026-10-28 07:53:41 -04:00
Nathaniel Ledford 98b2f6de9d LR-BEHAV-ACCESS: the sidebar's disclosure triangles name their row 2026-10-28 07:13:44 -04:00
Nathaniel LedfordandClaude d10a9af00b LR-LIB-SMARTALBUM: creating or giving a keyword no longer freezes the window while albums are counted
In a large library with smart albums, the frame after an edit the album
tally could not follow photo by photo counted every smart album over
every photo on the UI thread: seconds, during which the window froze.
Creating a keyword inside another one (and giving it to the selected
photos) was such an edit, because Op::SetKeyword was classed as a broad
op, so the view, the folder tree and the date groups were worked out
again too.

- The keyword list changes no photo and no rule, filter or sort reads
  it: Op::SetKeyword now records Aspects::KEYWORD_LIST instead of
  marking the catalog's change memory broad. The view and the albums'
  counts follow the edit from the photos it touched; only the keyword
  tree is made again.
- A count of every photo that is still needed (an album's rules or
  photos changed, an edit to more than 256 photos, a new minute with an
  "in the last…" rule, a library opened) runs on a worker thread over a
  copy of the catalog. The sidebar keeps the counts it showed (none
  before the first count, and none of another library) and follows the
  edits made meanwhile once the count is in. AlbumTally::update only
  follows now; the caller decides where to count whole.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-28 07:11:58 -04:00
dotCooCoo 95d2faf53d Merge commit 'refs/check/mw-lightcraft-main' into feat/edit-keywords-key
# Conflicts:
#	crates/ui-egui/src/menus.rs
#	docs/parity-checklist.md
2026-10-28 01:06:33 -07:00
Nathaniel Ledford e60b7d1787 MENU-EDIT-SELECTNONE: Edit lists Select Only Active Photo and Paste Settings from Previous with their kin, and the native Edit menu keeps single separators 2026-10-27 22:50:05 -04:00
Nathaniel Ledford 9fabf58cf3 MENU-HELP-HELP: on macOS the Help menu is registered with AppKit after the menu bar is installed 2026-10-27 21:17:14 -04:00
Nathaniel Ledford 4f6f4c4ee8 MENU-FILE-CLOSE: the page says saving at quit can fail 2026-10-27 19:53:43 -04:00
Nathaniel Ledford c317b08301 i18n: the translation gaps report also lists plain tr() strings no catalog has, wrapped calls included 2026-10-27 19:17:04 -04:00
Nathaniel Ledford cb710b8146 LR-BEHAV-ACCESS: a slider's value field is named "<slider> value" and describes how to use it 2026-10-27 18:53:02 -04:00
Nathaniel Ledford 3ce2e47860 LR-BEHAV-LOCALIZE: panel layout toasts, face recognition prompts and toasts, and the second window title are translated 2026-10-27 18:39:48 -04:00
Nathaniel Ledford 4ee7cd5f7e Filmstrip drag docs: a click in Compare goes to the active side, as before 2026-10-27 18:31:34 -04:00
Nathaniel Ledford a90c4a200b Filmstrip drag: state the Compare exception in the docs; the Compare test pins the active photo 2026-10-27 18:31:34 -04:00
Nathaniel Ledford 7988024c24 Filmstrip: photos drag from the filmstrip like from the grid 2026-10-27 18:31:34 -04:00
Nathaniel Ledford e472ffd6a4 MENU-FILE-CLOSE: document that closing the window quits the app 2026-10-27 18:29:56 -04:00
OneSlipsandClaude Opus 5.5 2cd071c722 LR-EDIT-OPTICS-PROFILE: the lens database is offered on first launch and downloads on request (#3073)
Nothing is fetched without the user's click. The first desktop start without a
database (and without LIGHTCRAFT_LENSFUN_DIR) asks once, "Download lens profiles?",
with the size added up from the pinned files, and Download / Not Now. Download
starts the existing pinned download (activity row, cancel); Not Now (or Esc)
fetches nothing and the app doesn't ask again. Settings > General > Lens profiles
has a Download Lens Database button and a switch that turns the offer back on.
The answer is kept in ui.json (lensDatabase: ask / accepted / declined; an
unreadable value asks again), and lensfun_download::fetch_on_start is the one
place that decides. The CLI and headless MCP never ask and never fetch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:29:30 +10:00
Nathaniel Ledford 7e9a810ff4 LRC-LIB-MISSING: answer a check over changing photos with what still holds instead of refusing it 2026-10-27 17:58:25 -04:00
Nathaniel Ledford d3e0c090bf LRC-LIB-MISSING: honour a stop during the last check; reject a check of an earlier catalog; fail only the library's own requests 2026-10-27 17:58:22 -04:00
Nathaniel LedfordandClaude Sonnet 5.5 d99fb7bc0d LRC-LIB-MISSING: library.missing checks the files off the UI thread
From the control channel (an agent, `mcp --connect`) the command ran in
Session::execute on the UI thread and stat-ed every photo's file, which on
a large library on a network share froze the window for minutes. The app
now checks the files on a worker thread under a "Missing Photos" row of the
activity stack (counted, with ✕), answers the request with the same
[{id, path}] when the check ends, lets a second request share the running
check, and hands an answer nobody was waiting for to the next request.
The command itself asks the session's existence check, the one the
availability cache uses.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 17:58:16 -04:00
Nathaniel Ledford de0556f4af LR-BEHAV-MULTISELECT: library.select replace keeps each photo once 2026-10-27 17:55:52 -04:00
Nathaniel Ledford 578f33da7a LR-BEHAV-ACCESS: a date header in the photo grid is named with the text it shows 2026-10-27 17:50:52 -04:00
OneSlips ef2b209030 Merge remote-tracking branch 'origin/main' into pr/lens-database-download 2026-10-28 07:38:33 +10:00
Jeremy 5dea67e348 docs(installer): say that an upgrade reuses the recorded folder even if it was deleted
The restore actions use the recorded folder without checking that it still
exists, so an upgrade creates it again rather than using the default folder.
2026-10-27 21:13:30 +00:00
Nathaniel Ledford ebfd198ea0 MENU-BAR: give each native menu row its own id so repeated commands keep their rows and labels 2026-10-27 16:57:12 -04:00
Nathaniel Ledford e2ccefa1cc MENU-BAR: shortcut hints on macOS list modifiers in the menu bar's order (⌃⌥⇧⌘) 2026-10-27 16:30:18 -04:00
Nathaniel Ledford abb3f03154 LR-IMP-ADD-DIALOG: an import's probe opens each file once
The probe asked for a file's size, read it (an open and its own size question), and then asked for its modification time again by path: three round trips to a network share's server for what one open can answer. It now opens the file once and takes the size and the modification time from the open file. What is read, the work-gate weight, and the text of the error for a file that can't be read are unchanged.
2026-10-27 14:04:50 -04:00
OneSlipsandClaude Opus 5.5 77829547d2 LRC-LIB-CATALOG-SWITCH: merge main (upstream file split)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 03:58:16 +10:00
OneSlipsandClaude Opus 5.5 b7da696411 LR-EDIT-OPTICS-PROFILE: review fixes (CodeRabbit, #3073)
A discarded stale lookup asks for a frame so the current one runs in an idle
window; Enable Lens Corrections' look-up list dedups with a set; the lens
profile doc says the CLI and headless MCP never start the first-run download
(lens.downloadDatabase still fetches on request) and that
LIGHTCRAFT_LENSFUN_DIR only stops the first-run download.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 03:57:32 +10:00
OneSlipsandClaude Opus 5.5 f267ddb504 LR-EDIT-OPTICS-PROFILE: pinned profiles, whole-folder install, shared hosts (review, #3073)
Render caches: a database lens profile is pinned to the photo. A decode never
overrides the catalog's database profile (media::source::pinned_lens), and
the profile is part of the render, thumbnail and variant cache keys
(media::quick::lens_key; only database profiles with the correction on, so
existing thumbnails keep their keys). When a download replaces the
database's files (lens_profiles::replaced), the refresh also re-reads raws
whose profile came from the database and raws that named no lens; an
ordinary start does not. library.refreshLensProfiles takes {all: true}.

Installation: files are staged beside the database folder, SOURCE.txt is
written there last, and the staged folder replaces the old one as a whole;
a failed swap puts the previous database back (and recover() does at the
next start). The app's own folder is read only with its marker, and
installed() checks every pinned file at its pinned size.

Shared hosts: with_default_lens_database() only selects the existing folder;
the permission to fetch is with_lens_auto_download() (desktop only), and the
first-start decision is one function, lensfun_download::fetch_on_start.
CLI render / merge and the headless MCP server select the folder;
lens.downloadDatabase selects the folder it downloads into.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 03:20:10 +10:00
Bruno-Alumn 082f6eb2a5 Merge remote-tracking branch 'upstream/main' into fix/merge-preview-after-failure-2708
# Conflicts:
#	docs/parity-checklist.md
2026-10-27 16:30:50 +01:00
Bruno-Alumn 9f7d4bcc14 Merge remote-tracking branch 'upstream/main' into HEAD
# Conflicts:
#	crates/ui-egui/src/panels/edit.rs
#	docs/parity-checklist.md
2026-10-27 16:15:50 +01:00
Nathaniel Ledford d6f328df33 LR-LIB-SMARTALBUM: editing a smart album made from an album view keeps the album
album.setRules with replace (what the rules dialog sends) started from an empty filter and kept only the library folder, so a view of an album saved as a smart album matched the whole library after OK. It keeps the album too, unless the call gives album: null.
2026-10-27 08:56:47 -04:00
Nathaniel Ledford 3c8cc5d665 LR-BEHAV-DRAGDROP: only the primary button drags photos out of the grid and drops them
A right-button drag over a grid cell picked the photos up and, on an unselected photo, replaced the selection with it. A right-button release while photos were dragged dropped them on an album, folder or keyword row, or ended the drag. The drag now starts, ends and drops on the primary button only.
2026-10-27 08:28:23 -04:00
Jeremy 51ecbfece8 docs(installer): note that the 32-bit all-users folder is Program Files (x86); tidy wording 2026-10-27 12:25:19 +00:00
Jeremy 3d40cf08e7 docs(installer): describe the per-user default install location and scope 2026-10-27 12:09:03 +00:00