Skip to content

Fix Space Saver overwriting originals by using compressed folder - #16

Merged
shawonashraf merged 1 commit into
mainfrom
cursor/separate-compressed-dir-e0f0
Apr 25, 2026
Merged

Fix Space Saver overwriting originals by using compressed folder#16
shawonashraf merged 1 commit into
mainfrom
cursor/separate-compressed-dir-e0f0

Conversation

@shawonashraf

@shawonashraf shawonashraf commented Apr 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • add AppSettings.compressedImageLibraryURL() to resolve a dedicated Compressed subdirectory under the active image library path
  • update SpaceSaverService to write JPEG outputs into that Compressed folder and never delete original screenshots
  • refresh SpaceSaverView copy so the UI clearly states compression is now non-destructive
  • add AppSettingsTests coverage for default and custom compressed-library path resolution

Validation

  • attempted to run xcodebuild -project Wardrobe.xcodeproj -scheme Wardrobe -destination 'platform=macOS' test -only-testing:WardrobeTests/AppSettingsTests (blocked in this Linux environment because xcodebuild is unavailable)
  • verified compressed-directory wiring in AppSettings, SpaceSaverService, and SpaceSaverView
  • verified SpaceSaverService no longer contains the original-file deletion call
Open in Web Open in Cursor 

Co-authored-by: Shawon Ashraf <shawon.ashraf@outlook.com>
@shawonashraf
shawonashraf marked this pull request as ready for review April 25, 2026 15:56
@shawonashraf
shawonashraf merged commit 1852ee6 into main Apr 25, 2026
1 check passed
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.

2 participants