Repository navigation
feat(export): add on-conflict if export exists; options with sidecar fingerprinting and skip for better export performance - #1921
Open
Binogulus wants to merge 5 commits into
Conversation
Binogulus
force-pushed
the
feature/export-conflict-handling
branch
from
October 13, 2026 20:08
1c66025 to
82265d1
Compare
Binogulus
force-pushed
the
feature/export-conflict-handling
branch
from
October 24, 2026 14:38
82265d1 to
f9a7145
Compare
Binogulus
force-pushed
the
feature/export-conflict-handling
branch
from
October 26, 2026 11:14
f9a7145 to
f6168f6
Compare
added 3 commits
November 8, 2026 14:03
# Conflicts: # src-tauri/src/export_processing.rs
…lict-handling # Conflicts: # src-tauri/src/export/mod.rs
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.
Description
When exporting images to a destination folder containing pre-existing files, RapidRAW previously had no granular control over file collisions.
This PR introduces an "On conflict" setting to the export pipeline with 4 non-blocking strategies:
.rapidrawsidecar. If nothing changed since the last export, re-rendering and processing are skipped entirely, saving GPU/CPU resources.In addition, batch exports provide clear toast notifications when images are skipped (e.g.
Export completed: 3 exported, 2 skipped)Type of Change
Changes Made
src-tauri):ConflictActionenum (CreateUnique,Overwrite,OverwriteIfChanged,Skip) inapp_settings.rsandexport_processing.rs.compute_export_fingerprint) using existingblake3andserde_jsondependencies, persisted intolast_exportswithin the.rapidrawsidecar (ImageMetadata).CreateUniquestrategy (filename_1.ext).export-completeTauri event payload with{ exported, skipped, total }counts.src/):ExportPanel.tsx.useTauriListeners.tswhen files are skipped during batch export.en.json) and Italian (it.json).useExportSettings.ts,useProcessStore.ts,ExportImportProperties.tsx).Screenshots/Videos
Testing
[x] These changes were tested locally by a human and confirmed to work.
(Automated unit tests covering fingerprint sensitivity and metadata serialization were added to
export_processing.rsand pass viacargo test).Test Configuration:
Checklist
Additional Notes
Fully backward-compatible:
CreateUniquedefault ensures files are never accidentally overwritten.AI Disclaimer:
Please state the involvement of AI in this PR: