Repository navigation
feat(gallery): batch Process… dialog and more bulk actions in the right-click menus - #96
Merged
Merged
Conversation
…ht-click menus The photo and bucket menus' "Upscale ×2" row becomes Process…, a dialog that runs one recipe over the selection or a whole bucket: a turn (rotate, flip), a neural ×2 upscale, and any number of colour adjustments stacked with the same sliders their adjustment layers have in the editor. Results land as versioned gallery edits (the sidecar, with the adjustments kept as live layers and the previous edit under versions/), as flat copies beside the originals, or as copies in a chosen folder — originals are never touched and copies never overwrite. The menus also gain Edit N in tabs, Move to folder…, Revert to original (the sidecar goes into versions/ rather than being lost), and, for buckets, Select all, Process all… and Move all to folder…. Opening several gallery photos at once used a single pending-backing slot, so every load but the last would have lost its sidecar link and a plain save would have overwritten the original; it is a list now. transform_canvas is factored into a document-level transform_document and the sidecar versioning into keep_sidecar_version so the batch engine can use both without a workspace. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.schistsidecar, written like a ⌘S: adjustments stay live layers, the previous edit is kept underversions/), copies beside the originals (<name>-edit.<ext>, never overwriting), or copies in a folder…; both copy modes take a format and quality.versions/, not deleted). New bucket rows: Select all, Process all…, Move all to folder….transform_canvasis factored into a document-leveltransform_document, and sidecar versioning intokeep_sidecar_version, so the batch engine runs without a workspace.docs/gallery.mddescribes the new menus and dialog.Test plan
batch_process_writes_versioned_edits_and_flat_copies: rotate + invert land in the sidecar as a turned canvas with a live adjustment layer, the original bytes are untouched, a second run versions the first edit, copies land beside the photo without collisions.cargo test -p schist-app library_ops(7 passed),cargo clippy -p schist-app --all-targets -- -D warnings,cargo fmt --check.versions/.🤖 Generated with Claude Code