Skip to content

Fix sync progress label to count skipped and errors - #60

Merged
gosku merged 1 commit into
mainfrom
fix/sync-progress-label-uses-handled-count
Jul 12, 2026
Merged

Fix sync progress label to count skipped and errors#60
gosku merged 1 commit into
mainfrom
fix/sync-progress-label-uses-handled-count

Conversation

@gosku

@gosku gosku commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

The "Processing X/N" label during library sync was only counting successfully
imported images (processed), while the progress bar was driven by all handled
images (processed + skipped + errors). For folders containing mostly
duplicates files the bar would advance while the counter stayed at 0/N throughout the sync.

Fix: adds a handled field to SyncRunData (already computed in the view
as processed + skipped + errors) and uses it in the sync_status.html
template label, making the counter consistent with the bar.

The "Processing X/N" label was only counting successfully imported
images (processed), while the progress bar was driven by all handled
images (processed + skipped + errors). For folders with mostly
non-Fujifilm files, the bar would advance while the counter stayed
at 0.

Adds a handled field to SyncRunData and uses it in the label so it
matches what the bar shows.
@gosku
gosku marked this pull request as ready for review July 12, 2026 04:10
@gosku
gosku merged commit d331dd7 into main Jul 12, 2026
4 checks passed
@gosku
gosku deleted the fix/sync-progress-label-uses-handled-count branch July 12, 2026 04:11
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