Skip to content

feat: Burst photos toggle in photo backup#157

Closed
ihmpavel wants to merge 1 commit into
pixelspark:mainfrom
ihmpavel:burst-photos
Closed

feat: Burst photos toggle in photo backup#157
ihmpavel wants to merge 1 commit into
pixelspark:mainfrom
ihmpavel:burst-photos

Conversation

@ihmpavel
Copy link
Copy Markdown

Photo backup does not include all photos taken in Burst mode.

Fixes #156

Parts of the changes in PhotoBackup.swift, specifically around inFolderPath, were edited with the help of an AI agent. You can take over this PR or tell me to revert them.

Before merging please try to test the changes made in this PR as I do not know all the edge-cases.

Feel free to cherry-pick, take over or close this PR.

Copilot AI review requested due to automatic review settings May 10, 2026 08:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a user-facing toggle to control whether Photo Backup includes every frame from iOS Burst sequences, and wires that setting into the Photos fetch so burst frames can be exported.

Changes:

  • Add a “Burst photos (include all frames)” toggle to Photo Backup settings and reset the persistent change token when it changes.
  • Persist the burst-inclusion setting via @AppStorage and apply it to PHFetchOptions.includeAllBurstAssets.
  • Refactor some path variables during export (inFolderPathdestinationPath) and adjust related logging / bookkeeping.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
Sushitrain/PhotoBackupView.swift Adds the new burst toggle UI and resets the change token when toggled.
Sushitrain/PhotoBackup.swift Persists the new setting, applies it to the Photos asset fetch options, and refactors destination-path handling in the export loop.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Sushitrain/PhotoBackup.swift Outdated
Comment thread Sushitrain/PhotoBackup.swift Outdated
@pixelspark
Copy link
Copy Markdown
Owner

Thanks! I was actually working on this as well right now, so closing this one.

@pixelspark pixelspark closed this May 10, 2026
@ihmpavel ihmpavel deleted the burst-photos branch May 10, 2026 08:53
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.

3 participants