Skip to content

Add photo ratings, flags and synchronized comparison - #162

Merged
IAmJSD merged 8 commits into
mainfrom
feat/photo-culling
Sep 20, 2026
Merged

IAmJSD merged 8 commits into
mainfrom
feat/photo-culling

Conversation

@IAmJSD

@IAmJSD IAmJSD commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

The local gallery can now rate selected photos from zero to five stars, mark picks/rejects, assign colour labels, and filter the grid, search, map and navigation by those decisions. Keyboard shortcuts apply to the selection or active comparison pane; text fields and editor tool shortcuts keep separate input contexts. Decisions persist in library.json, follow moves made by Schist, and never modify originals.

Selecting two still photos opens a side-by-side comparison with synchronized zoom/pan, an active candidate, fit/100% controls and inline decode failures. Supported rasters retain native detail up to 32 megapixels/8192 pixels per edge; larger images, camera raws and layered files use clearly marked previews up to 2048 pixels. Decoding runs off the UI thread, is serialized across sessions, and discards cancelled/stale results.

Includes atomic library saves, consistent filtered counts/selection, three new strings translated across all 150 shipped locales, and usage/shortcut documentation in docs/gallery.md. External moves or renames do not relocate path-keyed decisions.

Validation:

  • make check-photo-culling passed in an isolated target directory: 11 focused tests across gallery persistence/model, editor runtime, and app keybindings, plus the editor all-targets check.
  • make check-photo-culling-app and make lint-photo-culling passed (--all-targets -- -D warnings).
  • make check-i18n passed: 27 Rust tests, one doc test, four web tests, all 150 catalogs, font coverage and aliases.
  • Combined integration review also passed the native app check, browser check, whole-workspace strict Clippy and localization checks with this culling implementation.
  • Regression coverage includes catalog persistence/legacy files, rating/flag/colour combinations, gallery filtering/counts, file moves/collisions, original preservation, EXIF orientation, synchronized camera math and keybinding contexts.
  • No interactive desktop smoke test has been performed.

@IAmJSD
IAmJSD marked this pull request as ready for review September 20, 2026 11:15
@IAmJSD
IAmJSD merged commit bb577c5 into main Sep 20, 2026
5 checks passed
@IAmJSD
IAmJSD deleted the feat/photo-culling branch September 20, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant